Skip to content

Function: createLocalServiceToolDriver() ​

ts
function createLocalServiceToolDriver<THandle>(): ToolDriver<LocalServiceToolNode<THandle>, THandle>;

Defined in: node/src/executors/local-daemon-service.ts:58

Creates the ToolDriver for LocalServiceToolNode (type: 'node:service-tool').

Omits describeEffects (effectTracking: 'subprocess-post-flight') and dispatches tool calls to ctx.activeServiceSessions?.get(node.serviceId)?.invokeTool(node.name, args, ctx).

Type Parameters ​

Type ParameterDefault typeDescription
THandleunknownRuntime handle type of the active isolation scope.

Returns ​

ToolDriver<LocalServiceToolNode<THandle>, THandle>

Post-flight-tracked service tool driver.

Released under the MIT License.