Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/rulvar / ToolExecutor

Type Alias: ToolExecutor

ts
type ToolExecutor = "inprocess" | "subprocess" | "container";

Defined in: packages/core/dist/index.d.ts

Where execute runs. A declared capability consumed by dispatch and policy. 'inprocess' runs the tool's execute closure in the engine process (full host capabilities, an execution convenience). A non-inprocess tag routes dispatch through the engine's registered ToolExecutorProvider (RV-216) instead, so the tool's work runs out of process under host-owned isolation; the shipped reference adapters live in @rulvar/executor. The tag never enters toolsetHash; it enters the authority attestation instead (RV1802).