AIDK API Reference / aidk-shared / ToolCall
Interface: ToolCall ​
Defined in: packages/shared/src/tools.ts:89
Tool call - represents a tool call made by the model.
Used in streaming, execution tracking, and message content.
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
id | string | Unique ID for this tool call (correlates with tool_result) | packages/shared/src/tools.ts:91 |
input | Record<string, unknown> | Tool input parameters | packages/shared/src/tools.ts:95 |
name | string | Tool name | packages/shared/src/tools.ts:93 |
result? | ToolResult | Result of tool execution (present after execution) | packages/shared/src/tools.ts:97 |