Skip to content

rulvar API reference


rulvar API reference / @rulvar/rulvar / buildOrchestratorTools

Function: buildOrchestratorTools()

ts
function buildOrchestratorTools(runtime, profileCardText): ToolDef<SchemaSpec<unknown>>[];

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

Builds the mode (c) toolset over the per-call runtime. profileCardText rides the spawn tools' descriptions so both modes speak one agent vocabulary (M6-T04).

Parameters

ParameterType
runtimeOrchestratorRuntime
profileCardTextstring

Returns

ToolDef&lt;SchemaSpec&lt;unknown&gt;&gt;[]