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

ToolResultPart

Interface: ToolResultPart

Defined in: types.ts:300

Properties

content

ts
content: string;
content: string;

Defined in: types.ts:303


error?

ts
optional error: string;
optional error: string;

Defined in: types.ts:305


state

ts
state: ToolResultState;
state: ToolResultState;

Defined in: types.ts:304


toolCallId

ts
toolCallId: string;
toolCallId: string;

Defined in: types.ts:302


type

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

Defined in: types.ts:301