Strip Credentials from Tool Schemas and Inject Them at Execution Time

Roughly 80-120 input tokens per credential field, per tool, re-billed on every turn โ€” about 400-600 tokens across five connected tools whether or not the agent ever calls them; scales with how many auth fields and tools you carry Advanced 3 min read

Remove oauth_token, api_key, and client_id parameters from every tool's JSON schema and resolve them at call time from a vault keyed on connected_account_id, so auth fields never occupy your context window on any turn.

๐Ÿ”’ Pro tip ยท Advanced

Unlock this tip โ€” and 105 more

This is one of 106 advanced, fact-checked tactics reserved for Pro. Get the full 128-tip library, a searchable archive, and a new tip every morning. Free for 7 days, then $9/mo.

Prefer to browse? The 22 Beginner tips are free forever.