claude-agent-sdk-python
claude-agent-sdk-python copied to clipboard
Can we disable some tools of a mcp?
"xxx-maps": {
"url": "https://mcp.map.baidu.com/mcp?ak=xxxxx",
"type": "http",
"tools": {
"map_reverse_geocde": False
}
}
what my problem is the map_reverse_geocde tool return data is huge to the LLM, so I want to disable it.
+1 for the request, we'd like to disable some dangerous tool provided by mcp server