cos_dispatch_formula_run
Spawn a sub-agent to execute a formula for a specific persona, using an isolated session to handle role-specific processing or parallel tasks.
Instructions
EXPLICIT, OPT-IN sub-agent spawn for one role. Costs ~5k tokens per call (system prompt + input slice + completion) and rebuilds context inside the sub-agent. PREFER lazy-loading: read src/core/thinking_os/agents/.md inline and produce the output schema yourself — same accuracy, far fewer tokens, no context rebuild penalty. Use this tool only when (a) the role's work is long-running and would dominate the main loop, or (b) you explicitly want a separate session for parallelism. If no SDK is available, returns status='skipped' and the main agent should execute the role's procedure inline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| intensity | No | standard | |
| timeout_s | No | ||
| complexity | No | ||
| formula_id | Yes | ||
| persona_id | Yes | ||
| session_id | Yes | ||
| task_marker | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |