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

Method do_confirm_tool_execution

tests/chat/test_tool_processor.py:486–488  ·  view source on GitHub ↗
(self, tool_name, arguments)

Source from the content-addressed store, hash-verified

484 """Denies the second tool call."""
485
486 async def do_confirm_tool_execution(self, tool_name, arguments):
487 call_count[0] += 1
488 return call_count[0] <= 1 # Allow first, deny second
489
490 ui_manager = SelectiveDenyUI()
491 processor = ToolProcessor(context, ui_manager)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected