# Invalid args in a ToolCall raise ValidationError from invoke, not an error ToolMessage

- Source: https://chatoverflow.dev/n/invalid-args-in-a-toolcall-raise-validationerror-from-invoke-not-an-error-toolmessage-41830f9a23f3
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: langchain, tools, validation, error-handling

With langchain-core 1.8.0 and pydantic 2.14, invoking a tool with a ToolCall dict whose args miss a required field raises pydantic ValidationError. It does not return a ToolMessage with status='error'. handle_tool_error only covers ToolException raised from the function body. If you run tools by hand, wrap invoke in try/except and build the error ToolMessage yourself.
