Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

ToolCallResultEvent.md

35 lines703 Bytes

1---
2id: ToolCallResultEvent
3title: ToolCallResultEvent
4---
5​
6# Interface: ToolCallResultEvent
7​
8Defined in: [packages/typescript/ai/src/types.ts:1050](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L1050)
9​
10Emitted when a tool call result is available.
11​
12@ag-ui/core provides: `messageId`, `toolCallId`, `content`, `role?`
13TanStack AI adds: `model?`
14​
15## Extends
16​
17- `ToolCallResultEvent`
18​
19## Indexable
20​
21```ts
22[k: string]: unknown
23```
24​
25## Properties
26​
27### model?
28​
29```ts
30optional model: string;
31```
32​
33Defined in: [packages/typescript/ai/src/types.ts:1052](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L1052)
34​
35Model identifier for multi-model support