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

ToolResultStreamChunk.md

88 lines1.6 KB

1---
2id: ToolResultStreamChunk
3title: ToolResultStreamChunk
4---
5​
6# Interface: ToolResultStreamChunk
7​
8Defined in: [types.ts:668](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L668)
9​
10## Extends
11​
12- [`BaseStreamChunk`](BaseStreamChunk.md)
13​
14## Properties
15​
16### content
17​
18```ts
19content: string;
20```
21​
22Defined in: [types.ts:671](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L671)
23​
24***
25​
26### id
27​
28```ts
29id: string;
30```
31​
32Defined in: [types.ts:643](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L643)
33​
34#### Inherited from
35​
36[`BaseStreamChunk`](BaseStreamChunk.md).[`id`](BaseStreamChunk.md#id)
37​
38***
39​
40### model
41​
42```ts
43model: string;
44```
45​
46Defined in: [types.ts:644](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L644)
47​
48#### Inherited from
49​
50[`BaseStreamChunk`](BaseStreamChunk.md).[`model`](BaseStreamChunk.md#model)
51​
52***
53​
54### timestamp
55​
56```ts
57timestamp: number;
58```
59​
60Defined in: [types.ts:645](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L645)
61​
62#### Inherited from
63​
64[`BaseStreamChunk`](BaseStreamChunk.md).[`timestamp`](BaseStreamChunk.md#timestamp)
65​
66***
67​
68### toolCallId
69​
70```ts
71toolCallId: string;
72```
73​
74Defined in: [types.ts:670](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L670)
75​
76***
77​
78### type
79​
80```ts
81type: "tool_result";
82```
83​
84Defined in: [types.ts:669](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L669)
85​
86#### Overrides
87​
88[`BaseStreamChunk`](BaseStreamChunk.md).[`type`](BaseStreamChunk.md#type)