Skip to content

Documentation / @agentick/shared / ToolExecutionType

Enumeration: ToolExecutionType ​

Defined in: 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 ​

CLIENT ​

CLIENT: "client"

Defined in: tools.ts:25

Client-executed: Tool call is delegated to client/3rd party. May or may not require feedback before continuing execution.


MCP ​

MCP: "mcp"

Defined in: tools.ts:37

MCP-executed: Tool is executed by an MCP (Model Context Protocol) server. Engine acts as MCP client, forwarding calls to external MCP servers.


OUTPUT ​

OUTPUT: "output"

Defined in: tools.ts:45

Output tool: Emits structured data without returning to the model. The tool's input (validated against schema) is collected in result.outputs. No tool_result is sent back to the model - the data flows out of the app. Use for extracting structured data from the model's reasoning.


PROVIDER ​

PROVIDER: "provider"

Defined in: tools.ts:31

Provider-executed: Tool is executed by the model provider (e.g., Google grounding). Tool results come directly from provider, bypassing ToolExecutor.


SERVER ​

SERVER: "server"

Defined in: tools.ts:19

Server-executed: Tool runs on the engine server (default). Tool has a run method that executes synchronously.

Released under the ISC License.