Skip to content

AIDK API Reference / aidk-shared / ToolExecutionType

Enumeration: ToolExecutionType ​

Defined in: packages/shared/src/tools.ts:14

Tool execution type determines how and where the tool is CONFIGURED to execute. This is the tool's definition - where it SHOULD run.

Enumeration Members ​

Enumeration MemberValueDescriptionDefined in
CLIENT"client"Client-executed: Tool call is delegated to client/3rd party. May or may not require feedback before continuing execution.packages/shared/src/tools.ts:25
MCP"mcp"MCP-executed: Tool is executed by an MCP (Model Context Protocol) server. Engine acts as MCP client, forwarding calls to external MCP servers.packages/shared/src/tools.ts:37
PROVIDER"provider"Provider-executed: Tool is executed by the model provider (e.g., Google grounding). Tool results come directly from provider, bypassing ToolExecutor.packages/shared/src/tools.ts:31
SERVER"server"Server-executed: Tool runs on the engine server (default). Tool has a run method that executes synchronously.packages/shared/src/tools.ts:19

Released under the MIT License.