Expand description
Tool error formatting utilities.
Re-exports and enhances utilities from utils/tool_errors.rs.
Re-exports§
pub use crate::utils::tool_errors::*;
Functions§
- format_
input_ validation_ error - Format input validation error for tool call.
- format_
tool_ error - Format an AgentError for display in tool result messages. Matches TypeScript’s formatError from toolErrors.ts.