MCPcopy Index your code
hub / github.com/plotly/dash / _call_tool

Function _call_tool

tests/unit/mcp/conftest.py:100–104  ·  view source on GitHub ↗

Call a tool via the dispatch pipeline and return the CallToolResult.

(app, tool_name, arguments=None)

Source from the content-addressed store, hash-verified

98
99
100def _call_tool(app, tool_name, arguments=None):
101 """Call a tool via the dispatch pipeline and return the CallToolResult."""
102 _setup_mcp(app)
103 with app.server.test_request_context():
104 return call_tool(tool_name, arguments or {})

Calls 2

call_toolFunction · 0.90
_setup_mcpFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…