Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/executor / subprocessExecutor

Function: subprocessExecutor()

ts
function subprocessExecutor(options?): ToolExecutorProvider;

Defined in: packages/executor/src/subprocess.ts:125

Builds a subprocess ToolExecutorProvider. Register it on the engine as createEngine({ executors: { subprocess: subprocessExecutor(...) } }); tools declaring executor: 'subprocess' (see subprocessTool) then dispatch through it.

Parameters

ParameterType
optionsSubprocessExecutorOptions

Returns

ToolExecutorProvider