Hacker News new | ask | show | jobs
by koakuma-chan 204 days ago
You can just tell the AI which format you want the input in, in natural language.
1 comments

you're wasting valuable context with approaches like that

save it for more interesting tasks

Are you saying that json schema takes less tokens?
I'm saying that having tools/subagents is less tokens

For example, instead of a JSON schema in your prompt, use an Open API subagent with API tools to keep your primary contexts clean

https://google.github.io/adk-docs/tools-custom/openapi-tools...