queue_decision
Queue a decision for human review. Supply context, options, and the smallest input needed to enable efficient resolution and task creation.
Instructions
Queue a decision for human review. Writes to the real decisions table (not the knowledge graph). Replaces the autopilot pattern of calling add_learning with entry_type=decision and a 'DECISION NEEDED:' title prefix. Resolves via resolve_decision.
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": {
"title": "<title>",
"context": "<context>",
"smallest_input_needed": "<smallest_input_needed>"
},
"name": "queue_decision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | No | Plan that owns this decision. Required if node_id is not provided. | |
| node_id | No | Task that prompted the decision. If provided, plan_id is inferred. | |
| title | Yes | User-facing decision title | |
| context | Yes | Background — why this matters, what is at stake | |
| options | No | Concrete options to choose between | |
| recommendation | No | Agent's preferred option with one-line reasoning | |
| smallest_input_needed | Yes | Explicit ask for human, e.g. 'approve|defer' | |
| urgency | No | normal | |
| goal_id | No | Optional goal this decision serves | |
| proposed_subtasks | No | Tasks to materialize if the human approves. Agents propose; humans steer structure. On resolve_decision(action='approve'), these are atomically created under the given parent_id and their IDs are returned. |