Skip to main content
Section ID: DOC-API-MODEL-schema-po3pkfshjg#overview

ToolCallCompletedEvent

A tool call has one pre-terminal lifecycle notification, for execution starting or approval being required, followed by one terminal outcome. This pairing includes calls that require human approval. The terminal outcome is COMPLETED, FAILED, CANCELLED or TIMED_OUT.

Meaning and usage​

Section ID: DOC-API-MODEL-schema-po3pkfshjg#meaning

See the definition above.

Usage profiles​

Section ID: DOC-API-MODEL-schema-po3pkfshjg#fields

UsageFields and validation
In requestsView fields
In responsesView fields

In requests​

Section ID: DOC-API-MODEL-schema-po3pkfshjg#request

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
Section ID: DOC-API-MODEL-schema-po3pkfshjg#request-field-toolcalltoolCallToolCallOptionalFinal tool call. Its terminal status is COMPLETED, FAILED, CANCELLED or TIMED_OUT; inspect the result and end reason for the outcome.
Section ID: DOC-API-MODEL-schema-po3pkfshjg#request-field-executiontimemsexecutionTimeMsstring (int64)OptionalWall-clock execution time in milliseconds (0 when unknown, e.g. dispatch error). Pattern: ^-?\d+$.

In responses​

Section ID: DOC-API-MODEL-schema-po3pkfshjg#response

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
Section ID: DOC-API-MODEL-schema-po3pkfshjg#field-toolcallSection ID: DOC-API-MODEL-schema-po3pkfshjg#response-field-toolcalltoolCallToolCallOptionalFinal tool call. Its terminal status is COMPLETED, FAILED, CANCELLED or TIMED_OUT; inspect the result and end reason for the outcome.
Section ID: DOC-API-MODEL-schema-po3pkfshjg#field-executiontimemsSection ID: DOC-API-MODEL-schema-po3pkfshjg#response-field-executiontimemsexecutionTimeMsstring (int64)OptionalWall-clock execution time in milliseconds (0 when unknown, e.g. dispatch error). Pattern: ^-?\d+$.

Examples​

Section ID: DOC-API-MODEL-schema-po3pkfshjg#examples

event-llm-tool-call-completed​

Section ID: DOC-API-MODEL-schema-po3pkfshjg#example-event-llm-tool-call-completed

Illustrative payload, not a captured delivery. Identifiers, tool names and outcomes are examples; omitted fields depend on the event.

{
"executionTimeMs": 240,
"toolCall": {
"id": "call_123",
"name": "send_briefing",
"serverId": "briefing-tools",
"argumentsJson": {
"conversation_id": "b81d5345-c1f9-4fb9-b558-a6327c75b842"
},
"status": "TOOL_EXECUTION_STATUS_COMPLETED",
"resultJson": {
"accepted": true
}
}
}

Download the public reference contract.

Document ID: DOC-API-MODEL-schema-po3pkfshjg