MCPcopy Create free account
hub / github.com/IBM/mcp-cli / disable_tool

Method disable_tool

examples/commands/command_system_demo.py:96–98  ·  view source on GitHub ↗

Disable a tool.

(self, tool_name: str)

Source from the content-addressed store, hash-verified

94 self.disabled_tools.discard(tool_name)
95
96 def disable_tool(self, tool_name: str):
97 """Disable a tool."""
98 self.disabled_tools.add(tool_name)
99
100 def get_disabled_tools(self) -> set:
101 """Get disabled tools."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected