Files
crewAI/docs/edge
Vinicius Brasil 9b8ecc7df5 Use custom format_output_for_agent override for tool output
When a `BaseTool` subclass overrides `format_output_for_agent`, route
the agent-facing text through it instead of the default JSON/`str()`
serialization. The structured tool wrapper now delegates to the original
tool via `_original_tool`, so a tool can present Markdown or any custom
representation to the agent while `tool.run(...)` still returns the raw
Python value.
2026-06-18 21:41:34 -07:00
..