Skip to content

Structured output #322

Answered by casepot
ashishsingla87 asked this question in Q&A
Apr 22, 2025 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Try making a dedicated structured output LLMAgent, give it to a higher level agent as an AgentTool, and also give the tools you want to use alongside structured output to that higher level agent. I haven't tried this yet but it is what I was planning on doing based on reading the docs. You can also make a tool that returns the args as structured output.

But seems structured output + tool calling in one LLMAgent is explicitly not supported right now.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ashishsingla87
Comment options

Answer selected by boyangsvl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants