Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
Class References
Function References
Interface References
Type Alias References
Variable References
Interface References

ToolResultPart

Interface: ToolResultPart

Defined in: packages/ai/src/types.ts:367

Properties

content

ts
content: 
  | string
  | ContentPart<unknown, unknown, unknown, unknown, unknown>[];
content: 
  | string
  | ContentPart<unknown, unknown, unknown, unknown, unknown>[];

Defined in: packages/ai/src/types.ts:370


error?

ts
optional error: string;
optional error: string;

Defined in: packages/ai/src/types.ts:372


state

ts
state: ToolResultState;
state: ToolResultState;

Defined in: packages/ai/src/types.ts:371


toolCallId

ts
toolCallId: string;
toolCallId: string;

Defined in: packages/ai/src/types.ts:369


type

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

Defined in: packages/ai/src/types.ts:368