ToolCallCompletePayload
Payload for “tool_call_complete” events — a tool dispatch finished.
Class Diagram
Section titled “Class Diagram”---
title: ToolCallCompletePayload
config:
look: handDrawn
theme: colorful
class:
hideEmptyMembersBox: true
---
classDiagram
class ToolCallCompletePayload {
+string id
+string name
+boolean success
+ToolResult result
+float64 durationMs
+string errorKind
}
class ToolResult {
+ContentPart[] parts
+string status
+string errorKind
+string errorMessage
+float64 durationMs
}
ToolCallCompletePayload *-- ToolResult
Yaml Example
Section titled “Yaml Example”id: call_abc123name: get_weathersuccess: truedurationMs: 42errorKind: timeoutProperties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
| id | string | The unique identifier of the tool call |
| name | string | The name of the tool that completed |
| success | boolean | Whether the tool dispatch succeeded semantically |
| result | ToolResult | Normalized tool result |
| durationMs | float64 | Tool execution duration in milliseconds |
| errorKind | string | Machine-readable error category when success is false |
Composed Types
Section titled “Composed Types”The following types are composed within ToolCallCompletePayload: