--- 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 Interactive causal-pair workbench tracing a single MCP tool definition through five stages across 13 open-weight LLMs (8 diverse syntax archetypes in the top rail plus 5 variants in the overflow menu): 1. **Wrap tool**: Edit an MCP `{ name, description, inputSchema }` definition and watch the role-colored API request and model-serialized tool block update live. 2. **Render prompt**: Compare each model's pinned `chat_template.jinja` (or Python encoder) beside the exact rendered prompt and field preservation audit. 3. **Generate tokens**: Watch the model emit reasoning, parser-trigger tokens, call arguments, and its stop token from the generation boundary. 4. **Parse response**: Inspect pinned vLLM, SGLang, and llama.cpp parser excerpts beside the structured `tool_calls` or `tool_use` API response. 5. **Continue turn**: See the parsed tool call and client tool result serialized back into the Turn 2 prompt.