Gemini API: Tool Retrieval loads tools only when needed
What happened
Google released a preview of Tool Retrieval in the Gemini API. The model sees only each tool's name and description, and the server loads the full parameter description (the schema) only when the tool is actually needed, all within the same request. It works with Gemini 3.6 and newer and with MCP servers, and there's no separate charge.
Why it matters
When an agent has dozens of tools or several MCP servers, their descriptions eat a big chunk of context. This directly cuts your token bill.
Apple is building its own AI agent — If Apple builds a system-level agent, iOS apps will likely have to expose their functions to it, much like App Intents today. If you build…
Token fraud: free trials become a target — If your app has a free AI feature, you need a per-user and per-device limit, or someone else will burn through your token budget.