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

Method get_confirm_tools

src/mcp_cli/utils/preferences.py:254–256  ·  view source on GitHub ↗

Get tool confirmation setting (legacy compatibility).

(self)

Source from the content-addressed store, hash-verified

252 self.save_preferences()
253
254 def get_confirm_tools(self) -> bool:
255 """Get tool confirmation setting (legacy compatibility)."""
256 return self.preferences.ui.tool_confirmation.mode != ConfirmationMode.NEVER
257
258 def set_confirm_tools(self, confirm: bool) -> None:
259 """Set tool confirmation mode (legacy compatibility)."""

Calls

no outgoing calls