@threadplane/chatFunctionv0.3.4

startClientToolExecutor

Watches the agent's pending client tool calls and auto-runs FUNCTION tools, resolving each with its result. View/ask (component) tools are handled by the rendering layer, not here. No-op if the agent lacks the clientTools capability. MUST be called in an injection context (sets up an effect).

import { startClientToolExecutor } from '@threadplane/chat';

Declaration · overload 1

export declare function startClientToolExecutor(agent: Agent, registry: ClientToolRegistry, options?: ClientToolExecutorOptions): void;

Parameters

agent · required
Agent
registry · required
ClientToolRegistry
options · optional
ClientToolExecutorOptions

Returns

void