--- title: Tool Call Pipeline emoji: 🧭 colorFrom: blue colorTo: indigo sdk: static pinned: false short_description: Trace an MCP tool through 13 open-weight chat templates --- # Tool call pipeline Scrollable interactive explainer tracing a single MCP tool definition through the full inference round trip across 13 open-weight LLMs (8 diverse syntax archetypes in the sticky model rail plus 5 variants in the overflow menu): 1. **API request**: Edit an MCP `{ name, description, inputSchema }` definition and compare how Responses, Messages, and Chat Completions wrap it on the wire. 2. **Model prompt**: Compare each model's pinned `chat_template.jinja` (or Python encoder) beside the exact rendered prompt and schema field-preservation audit. 3. **Generation and parsing**: Watch the model emit raw tokens until its stop token fires, inspect the stop-token-to-JSON mapping and pinned vLLM, SGLang, and llama.cpp parser excerpts, and read the resulting API response. 4. **Turn 2 continuation**: See the client's tool-result payload serialized back into the next prompt. 5. **All models compared**: Scan schema serialization, call syntax, stop tokens, and kept fields side by side.