Hacker News new | ask | show | jobs
by moinism 201 days ago
How do you deal with the different APIs/Tooluse schema in a custom build? As other people have mentioned, it's a bigger undertaking than it sounds.
1 comments

You can just tell the AI which format you want the input in, in natural language.
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...