Files
langchain/libs/core/tests
Mason Daugherty 61e91cb844 fix(core): type structured tool error handler output
`handle_tool_error` callables can already return structured message content at runtime, but the public typing only allowed strings. The tool error handling API now reflects the existing output formatting path, including clearer docs for how handled errors become `ToolMessage(status="error")` results.
2026-06-09 21:16:19 -04:00
..