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
| Parameter | Type |
|---|---|
runtime | OrchestratorRuntime |
profileCardText | string |
Returns
ToolDef<SchemaSpec<unknown>>[]