Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
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/typescript/ai/src/types.ts:333

Properties

content

ts
content: string;
content: string;

Defined in: packages/typescript/ai/src/types.ts:336


error?

ts
optional error: string;
optional error: string;

Defined in: packages/typescript/ai/src/types.ts:338


state

ts
state: ToolResultState;
state: ToolResultState;

Defined in: packages/typescript/ai/src/types.ts:337


toolCallId

ts
toolCallId: string;
toolCallId: string;

Defined in: packages/typescript/ai/src/types.ts:335


type

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

Defined in: packages/typescript/ai/src/types.ts:334