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

ToolResultPart

Interface: ToolResultPart

Defined in: types.ts:196

Properties

content

ts
content: string;
content: string;

Defined in: types.ts:199


error?

ts
optional error: string;
optional error: string;

Defined in: types.ts:201


state

ts
state: ToolResultState;
state: ToolResultState;

Defined in: types.ts:200


toolCallId

ts
toolCallId: string;
toolCallId: string;

Defined in: types.ts:198


type

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

Defined in: types.ts:197