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

isProviderExecutedToolCall

Function: isProviderExecutedToolCall()

ts
function isProviderExecutedToolCall(toolCall): boolean;
function isProviderExecutedToolCall(toolCall): boolean;

Defined in: packages/ai/src/utilities/provider-executed.ts:28

True when a tool call was executed by the provider (e.g. Anthropic web_search / web_fetch server tools) rather than the agent loop. Such calls must not be routed to client-side execution and are already "complete".

Parameters

toolCall

{ metadata?: unknown; } | null | undefined

Returns

boolean