[December 02, 2026]
AI
Name Tools After User Intent
The model reads the tool name and description as documentation. search_code(query, glob) routes better than tool3.
────────────────────────────────────────────────────────
Name Tools After User Intent
Tip: search_code beats fn_12
The model reads the tool name and description as documentation. search_code(query, glob) routes better than tool3.
{"name": "search_code", "description": "Ripgrep the repo. glob like **/*.rs"}
Gotcha: Descriptions that repeat the schema
A description that only restates JSON types wastes tokens. Describe when to use the tool versus a sibling.
{"name": "search", "description": "Takes a string query."}
Source: https://platform.openai.com/docs/guides/function-calling
────────────────────────────────────────────────────────
<-- back to posts