ClientToolResult
The result of a single client-side tool call, sent back so the run can continue.
Shape: object
| Property | Required | Type | Description | Rules |
|---|---|---|---|---|
callId |
yes | string |
Identifier of the pending call this result answers. Matches the FunctionCallContent.CallId the run response carried. |
— |
result |
no | string |
The tool’s result, given to the model as plain text. Required unless ErrorMessage is given. |
— |
errorMessage |
no | string |
A message describing why the client-side call failed, given to the model instead of Result. |
— |