Files
claude-code-router/plugins/toolcall-improvement.js
2025-06-18 12:20:07 +08:00

9 lines
396 B
JavaScript

module.exports = async function handle(req, res) {
if (req?.body?.tools?.length) {
req.body.system.push({
type: "text",
text: `## **Important Instruction:** \nYou must use tools as frequently and accurately as possible to help the user solve their problem.\nPrioritize tool usage whenever it can enhance accuracy, efficiency, or the quality of the response.`
})
}
};