ToolCallResultResource interface

Resource payload returned by an execute tool call.

Extends

Properties

data

Resource-specific result data.

outcome

Outcome for this resource.

policy

Policy metadata for this resource.

security

Security metadata for this resource.

sensitivity

Sensitivity metadata for this resource.

Inherited Properties

container

Container that owns the resource.

extension_data

Properties serialized under the metadata wire field.

id

Resource identifier.

identifiers

Provider-specific identifiers for the resource.

name

Resource name.

provider

Resource provider.

type

Resource type.

uri

Resource URI.

Property Details

data

Resource-specific result data.

data?: Record<string, unknown>

Property Value

Record<string, unknown>

outcome

Outcome for this resource.

outcome?: ToolCallResultOutcome

Property Value

policy

Policy metadata for this resource.

policy?: ToolCallResultPolicy

Property Value

security

Security metadata for this resource.

security?: ToolCallResultSecurity

Property Value

sensitivity

Sensitivity metadata for this resource.

sensitivity?: ToolCallResultSensitivity

Property Value

Inherited Property Details

container

Container that owns the resource.

container?: ToolCallContainer

Property Value

Inherited From ToolCallResource.container

extension_data

Properties serialized under the metadata wire field.

extension_data?: Record<string, unknown>

Property Value

Record<string, unknown>

Inherited From ToolCallResource.extension_data

id

Resource identifier.

id?: string

Property Value

string

Inherited From ToolCallResource.id

identifiers

Provider-specific identifiers for the resource.

identifiers?: ToolCallIdentifier[]

Property Value

Inherited From ToolCallResource.identifiers

name

Resource name.

name?: string

Property Value

string

Inherited From ToolCallResource.name

provider

Resource provider.

provider?: string

Property Value

string

Inherited From ToolCallResource.provider

type

Resource type.

type?: string

Property Value

string

Inherited From ToolCallResource.type

uri

Resource URI.

uri?: string

Property Value

string

Inherited From ToolCallResource.uri