Skip to main content
The toolset call completion event, carrying the tool's execution result

asgard.tool_call.complete

asgard.tool_call.complete marks the completion of a toolset call within a process. The toolCallComplete object in fact lists the toolset's execution result, which matters both for debugging and for building a custom UI.

info

This event appears only when a toolset is in use.

Characteristics​

  • When it fires: as the process finishes using a toolset
  • What it does: shows the toolset's execution result
  • How often: once per toolset call

Full example​

{
"eventType": "asgard.tool_call.complete",
"requestId": "295fcef49f270b06e6d53f6fb3656b0c",
"eventId": "1947548755242782720",
"namespace": "proj-4b2b31bb-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"botProviderName": "bp-reviewbot-f96def0f-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"customChannelId": "syDHHkS6cQMdAWTu3T2N2X",
"fact": {
"runInit": null,
"runDone": null,
"runError": null,
"processStart": null,
"processComplete": null,
"messageStart": null,
"messageDelta": null,
"messageComplete": null,
"toolCallStart": null,
"toolCallComplete": {
"processId": "f627cac52c576dc4",
"callSeq": 0,
"toolCall": {
"toolsetName": "ts-callool-4b2b31bb-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"toolName": "movie_search",
"parameter": {}
},
"toolCallResult": {
"data": null,
"error": null,
"errorCode": null,
"isSuccess": true,
"paging": null
}
}
}
}

For when and how toolsets are used, see Creating an AI Tool Set.