Skip to content

tinker_cookbook.scripts.test_tool_calling_e2e

Source on GitHub

End-to-end test script for tool calling across different model families.

This script queries production models with tool-calling prompts and verifies that tool calls are correctly rendered, generated, and parsed.

NOT a unit test - requires API access and queries real models.

Usage: uv run python tinker_cookbook/scripts/test_tool_calling_e2e.py [--model MODEL_NAME]