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

ToolResultPart.md

58 lines1.1 KB

Interface: ToolResultPart

Defined in: packages/typescript/ai/src/types.ts:354

Properties

content

content: string;

Defined in: packages/typescript/ai/src/types.ts:357


error?

optional error: string;

Defined in: packages/typescript/ai/src/types.ts:359


state

state: ToolResultState;

Defined in: packages/typescript/ai/src/types.ts:358


toolCallId

toolCallId: string;

Defined in: packages/typescript/ai/src/types.ts:356


type

type: "tool-result";

Defined in: packages/typescript/ai/src/types.ts:355