ExecuteToolCallResult class
Structured result for an execute tool call.
Properties
| data | Tool result data. |
| extension_data | Provider-specific properties serialized under |
| outcome | Overall tool call outcome. |
| pagination | Pagination metadata for the result set. |
| resources | Resources returned by the tool call. |
| schema_version | Schema version for this payload. |
| [EXECUTE_TOOL_PAYLOAD_KIND] |
Constructor Details
ExecuteToolCallResult(Partial<ExecuteToolCallResult>)
new ExecuteToolCallResult(init?: Partial<ExecuteToolCallResult>)
Parameters
- init
-
Partial<ExecuteToolCallResult>
Property Details
data
Tool result data.
data?: Record<string, unknown>
Property Value
Record<string, unknown>
extension_data
Provider-specific properties serialized under metadata.
extension_data?: Record<string, unknown>
Property Value
Record<string, unknown>
outcome
pagination
Pagination metadata for the result set.
pagination?: ToolCallResultPagination
Property Value
resources
Resources returned by the tool call.
resources?: ToolCallResultResource[]
Property Value
schema_version
Schema version for this payload.
schema_version: string
Property Value
string
[EXECUTE_TOOL_PAYLOAD_KIND]
[EXECUTE_TOOL_PAYLOAD_KIND]: "result"
Property Value
"result"