plexus.cli.procedure.tool_calling module
Tool calling utilities for procedure AI execution.
Handles detection and execution of tool calls in AI responses.
- plexus.cli.procedure.tool_calling.call_tool(tool_name: str, tool_kwargs: Dict[str, Any], mcp_tools: List) str
Call an MCP tool by name.
- plexus.cli.procedure.tool_calling.extract_all_tool_calls(response_text: str, mcp_tools: List) List[Tuple[str, Dict[str, Any]]]
Extract ALL tool calls from AI response - supports both JSON and function-style formats.