mirror of
https://github.com/musistudio/claude-code-router.git
synced 2026-06-16 21:03:54 +08:00
8 lines
238 B
JavaScript
8 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)
|
|
);
|
|
}
|
|
};
|