Agent Task Management
manage_agentCreate, advance, settle, and inspect durable NPC/agent tasks and their action lifecycle so GMs can track progress and terminal states.
Instructions
Manage durable NPC/agent tasks and their action lifecycle. create reads goal and optional source_goal; advance appends description; complete, fail, and cancel settle the task and terminal tasks are immutable; autonomy defaults to TTRPG_AGENT_AUTONOMY. Mutating actions persist to the Novel and are audited; list/get are read-only. Use when: creating, starting, advancing, settling, or inspecting tasks. Do NOT use when: surfacing an advisory suggestion — use manage_scene (action: oracle); managing NPC identity — use manage_npc. Revert with manage_history (action: undo).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | Task goal text (create). | |
| action | Yes | create, list, get, start, advance, complete, fail, or cancel. | |
| detail | No | Return full agent tasks instead of summary entries (list). | |
| subject | No | Entity or NPC that owns the task (create/list). | |
| task_id | No | Task id (get/start/advance/complete/fail/cancel). | |
| autonomy | No | advisory, prompt, or auto (create; default the TTRPG_AGENT_AUTONOMY setting). | |
| description | No | Action description (advance). | |
| source_goal | No | Originating goal-pursuit suggestion (create). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Human-readable text envelope mirroring the structured result (REQ-001, REQ-548a). | |
| status | Yes | Machine-readable result status: OK, NEED_INPUT, WARNING, PARTIAL, or an error category (REQ-002, REQ-548c). |