Tool Calling
MoMCP-TUI automatically detects when your message requires a tool and invokes the appropriate MCP server.
How It Works
- Tool discovery: On startup, MoMCP-TUI queries all configured MCP servers for available tools
- Tool definitions: Tool schemas are sent to the LLM as function definitions
- Intent detection: The LLM decides whether to answer directly or call a tool
- Execution: Tool calls are routed to the correct MCP server
- Result loop: Tool results are fed back to the LLM for final response generation
Tool Call Display
When a tool is invoked, you see a status panel:
After completion:
Multi-Step Tool Calling
The LLM can call multiple tools in sequence (up to 12 iterations) to complete complex tasks: