ToolCallResultOutcome interface

Outcome details for an execute tool call result.

Extends

Properties

code

Tool-specific result code.

message

Human-readable outcome message.

provider_code

Provider-specific result code.

status

Whether the tool call succeeded or failed.

Inherited Properties

extension_data

Properties serialized under the metadata wire field.

Property Details

code

Tool-specific result code.

code?: string

Property Value

string

message

Human-readable outcome message.

message?: string

Property Value

string

provider_code

Provider-specific result code.

provider_code?: string

Property Value

string

status

Whether the tool call succeeded or failed.

status?: ToolCallOutcomeStatus

Property Value

Inherited Property Details

extension_data

Properties serialized under the metadata wire field.

extension_data?: Record<string, unknown>

Property Value

Record<string, unknown>

Inherited From ToolCallExtensionData.extension_data