Files
crewAI/lib/crewai/tests/tools
Vinicius Brasil ba7533ed9d Add typed output schemas for tools
Tools can now declare an `output_schema`, set explicitly or inferred
from a Pydantic return annotation. `format_output_for_agent` validates
the raw result against it and serializes to JSON for the agent, while
`run` keeps returning the raw value. Falls back to `str(raw_result)`
with a warning when validation or serialization fails.
2026-06-18 20:36:45 -07:00
..
2025-10-20 14:10:19 -07:00