Skip to content

agents / Exports / ToolResult

Interface: ToolResult

Tool execution result - extended for ToolExecutionData compatibility

Indexable

▪ [key: string]: string | number | boolean | ToolParameters | ToolExecutionData | ToolMetadata | undefined

Table of contents

Properties

Properties

success

success: boolean

Defined in

packages/agents/src/interfaces/tool.ts:46


data

Optional data: ToolExecutionData

Defined in

packages/agents/src/interfaces/tool.ts:47


error

Optional error: string

Defined in

packages/agents/src/interfaces/tool.ts:48


metadata

Optional metadata: ToolMetadata

Defined in

packages/agents/src/interfaces/tool.ts:49

Released under the MIT License.