[PR #5977] chore(prebuilt): add tests for structured outputs + refactor #4761

Closed
opened 2026-02-20 17:50:42 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langchain-ai/langgraph/pull/5977

State: closed
Merged: Yes


  • simplify approach + condense things into SchemaSpec
  • use StructuredTool to avoid dummy function approach
  • add tests for various cases w/ all models etc

open questions:

  • do we want to enforce docstrings / descriptions?
  • do we want to validate json schema?
  • do we want to validate output against json schema?
**Original Pull Request:** https://github.com/langchain-ai/langgraph/pull/5977 **State:** closed **Merged:** Yes --- * simplify approach + condense things into SchemaSpec * use `StructuredTool` to avoid dummy function approach * add tests for various cases w/ all models etc open questions: * do we want to enforce docstrings / descriptions? * do we want to validate json schema? * do we want to validate output against json schema?
yindo added the pull-request label 2026-02-20 17:50:42 -05:00
yindo closed this issue 2026-02-20 17:50:42 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#4761