Documentation
Framework
Version
Class References
Function References
Interface References
Type Alias References
Variable References

ToolResultPart

Interface: ToolResultPart

Defined in: types.ts:258

Properties

content

ts
content: string;
content: string;

Defined in: types.ts:261


error?

ts
optional error: string;
optional error: string;

Defined in: types.ts:263


state

ts
state: ToolResultState;
state: ToolResultState;

Defined in: types.ts:262


toolCallId

ts
toolCallId: string;
toolCallId: string;

Defined in: types.ts:260


type

ts
type: "tool-result";
type: "tool-result";

Defined in: types.ts:259