Skip to content
Changelog

Broader schema coverage with Literal type support

Agno Team

March 2, 20261 min read

JSON schema generation now handles Literal types, ensuring that agents and tools using constrained value sets produce valid, complete schemas. This closes a gap that could cause schema generation to fail or produce incomplete type definitions for structured outputs.

Details:

  • Literal types are now correctly represented in generated JSON schemas
  • Improves reliability of structured output validation and tool definitions
  • No migration required

Shipped around the same time