Type Alias: ToolFailure
Makaio Framework / tools-core / ToolFailure
Type Alias: ToolFailure
Section titled “Type Alias: ToolFailure”ToolFailure =
object
Defined in: ../../../tools/core/src/types.ts:118
Failed tool execution result. Used for functions that always return an error (like toolError, errorToToolResult).
Properties
Section titled “Properties”error:
ToolError
Defined in: ../../../tools/core/src/types.ts:118
success
Section titled “success”success:
false
Defined in: ../../../tools/core/src/types.ts:118
Type Composition
Section titled “Type Composition”ToolFailure{ success: false; error: ToolError }
Resolved Shape
Section titled “Resolved Shape”type ToolFailure = { success: false; error: ToolError;};