Skip to content

AIDK API Reference / aidk-shared / DTToolResultEvent

Interface: DTToolResultEvent ​

Defined in: packages/shared/src/devtools.ts:225

Base fields present on all DevTools events

Extends ​

Properties ​

PropertyTypeDescriptionOverridesInherited fromDefined in
durationMs?numberExecution time in milliseconds--packages/shared/src/devtools.ts:235
executionIdstringUUID of the execution context-DevToolsEventBase.executionIdpackages/shared/src/devtools.ts:32
isError?booleanTrue if tool threw an error--packages/shared/src/devtools.ts:233
parentExecutionId?stringParent execution ID for nested executions (fork, spawn, component_tool)-DevToolsEventBase.parentExecutionIdpackages/shared/src/devtools.ts:43
procedureId?stringCurrent procedure ID-DevToolsEventBase.procedureIdpackages/shared/src/devtools.ts:45
requestId?stringRequest ID for this execution context-DevToolsEventBase.requestIdpackages/shared/src/devtools.ts:41
resultunknownTool output (JSON-serializable)--packages/shared/src/devtools.ts:231
tenantId?stringTenant ID from context (for multi-tenant dashboards)-DevToolsEventBase.tenantIdpackages/shared/src/devtools.ts:49
ticknumber---packages/shared/src/devtools.ts:227
timestampnumberUnix timestamp in milliseconds-DevToolsEventBase.timestamppackages/shared/src/devtools.ts:34
toolUseIdstringMatches the tool_call--packages/shared/src/devtools.ts:229
traceId?stringTrace ID for distributed tracing correlation-DevToolsEventBase.traceIdpackages/shared/src/devtools.ts:39
type"tool_result"Discriminator for event typeDevToolsEventBase.type-packages/shared/src/devtools.ts:226
userId?stringUser ID from context (for attribution and multi-tenant filtering)-DevToolsEventBase.userIdpackages/shared/src/devtools.ts:47

Released under the MIT License.