Skip to content

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 ​

PropertyTypeDescriptionDefined in
idstringUnique ID for this tool call (correlates with tool_result)packages/shared/src/tools.ts:91
inputRecord<string, unknown>Tool input parameterspackages/shared/src/tools.ts:95
namestringTool namepackages/shared/src/tools.ts:93
result?ToolResultResult of tool execution (present after execution)packages/shared/src/tools.ts:97

Released under the MIT License.