mirror of
https://github.com/musistudio/claude-code-router.git
synced 2026-07-09 17:18:24 +00:00
7 lines
238 B
JavaScript
7 lines
238 B
JavaScript
module.exports = async function handle(req, res) {
|
|
if (req?.body?.tools?.length) {
|
|
req.body.tools = req.body.tools.filter(
|
|
(tool) => !["NotebookRead", "NotebookEdit", "mcp__ide__executeCode"].includes(tool.name)
|
|
);
|
|
}
|
|
};
|