Submit a task
brain_tasks_submitAdd a self-contained task to a shared markdown-backed queue so another agent or later session can pick it up; dependencies stay blocked until prerequisites complete.
Instructions
Add a task to the shared, markdown-backed task queue so another agent (or a later session) can pick it up. A task with dependencies starts as "blocked" and moves to "pending" automatically when all of them complete; otherwise it starts as "pending". This only records the task: it is a coordination list, not a runner, so something else must watch for pending tasks (brain_tasks_list) and report back (brain_tasks_update). Returns { taskId, nodeId, status } where status is "pending" or "blocked". Write the prompt so it is self-contained: goal, relevant files, constraints and what "done" means.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Short title. If omitted, one is made from the first 60 characters of the prompt, prefixed "Task - ". | |
| agents | No | Names of the agents this task is for, e.g. ["reviewer"]. Defaults to ["coordinator"]. | |
| prompt | Yes | Complete, self-contained description of the work to be done. | |
| priority | No | Urgency, 1 (lowest) to 10 (highest). | |
| dependencies | No | Node ids (nodeId values returned by earlier brain_tasks_submit calls) that must complete first. |