plan_session
Initialize a planning session: create a goal node, register the full task graph, resolve dependency indices, generate impact predictions, and confirm constraints as facts before task execution.
Instructions
Initialise a planning session. Creates a GOAL node, registers the full task graph, resolves dependency indices, creates IMPACT predictions, and converts constraints to confirmed FACT nodes. Call once per session before executing tasks.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"goal": "<goal>",
"tasks": "<tasks>"
},
"name": "plan_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | ||
| risks | No | ||
| tasks | Yes | ||
| budget | No | ||
| agent_id | No | Binds the caller's agent identity to this connection, as join_session does. | |
| confidence | No | medium | |
| assumptions | No | ||
| constraints | No | ||
| archive_previous | No | Archive this connection's previous session. Crews pass false. | |
| decision_context | No | ||
| success_criteria | No | ||
| verification_plan | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tips | No | ||
| task_ids | Yes | ||
| session_id | Yes | ||
| binding_token | No | ||
| dependency_order | Yes | ||
| impact_predictions | Yes | ||
| constraint_fact_ids | Yes |