Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: