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

ToolResultPart

Interface: ToolResultPart

Defined in: types.ts:298

Properties

content

ts
content: string;
content: string;

Defined in: types.ts:301


error?

ts
optional error: string;
optional error: string;

Defined in: types.ts:303


state

ts
state: ToolResultState;
state: ToolResultState;

Defined in: types.ts:302


toolCallId

ts
toolCallId: string;
toolCallId: string;

Defined in: types.ts:300


type

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

Defined in: types.ts:299