SynapsesOS
Reference — Tools

Task Management

tasks

Unified task management for plans, task tracking, session state, and graph linking.

Absorbs: create_plan, get_plans, get_pending_tasks, get_my_tasks, update_task, save_session_state, get_session_state, link_task_nodes.

Parameters

ParameterTypeRequiredDescription
actionstringYescreate_plan, list_plans, pending, update, save_state, get_state, link_nodes.
titlestringaction=create_planPlan title.
descriptionstringNoPlan description. action=create_plan.
tasksstringaction=create_planJSON array of task objects.
plan_idstringNoFilter by plan ID. action=pending.
agent_idstringNoAgent identifier. Filters tasks (pending), attribution (create_plan/update/save_state).
suggest_nextbooleanNoHighlight top unblocked task. action=pending.
idstringaction=updateTask ID.
statusstringaction=updateNew status: pending, in_progress, done, cancelled.
notesstringNoTimestamped notes to append. action=update.
intentstringNoFree-text intent visible to peers. action=update.
task_idstringConditionalTask ID. Required for save_state, get_state, link_nodes.
approachstringNoCurrent approach. action=save_state.
files_modifiedstringNoJSON array of modified files. action=save_state.
completed_stepsstringNoJSON array of completed steps. action=save_state.
remaining_stepsstringNoJSON array of remaining steps. action=save_state.
blockersstringNoJSON array of blockers. action=save_state.
decisionsstringNoJSON array of decisions. action=save_state.
context_snapshotstringNoFree-form context snapshot. action=save_state.
node_idsstringaction=link_nodesJSON array of node ID strings.

Action: create_plan

Create a plan with tasks that persist across sessions.

{
"tool": "tasks",
"arguments": {
"action": "create_plan",
"title": "Implement auth flow",
"tasks": "[{\"title\": \"Add JWT middleware\", \"priority\": 1}, {\"title\": \"Write tests\", \"priority\": 2}]"
}
}

Action: list_plans

Get an overview of all plans.

{
"tool": "tasks",
"arguments": { "action": "list_plans" }
}

Action: pending

List pending and in-progress tasks.

{
"tool": "tasks",
"arguments": {
"action": "pending",
"suggest_next": true
}
}

Action: update

Change task status or append notes.

{
"tool": "tasks",
"arguments": {
"action": "update",
"id": "task-abc",
"status": "done",
"notes": "Completed JWT middleware"
}
}

Action: save_state

Save session state for a task so it can be resumed later.

{
"tool": "tasks",
"arguments": {
"action": "save_state",
"task_id": "task-abc",
"approach": "Using middleware pattern",
"files_modified": "[\"internal/auth/jwt.go\"]",
"remaining_steps": "[\"Write integration tests\"]"
}
}

Action: get_state

Retrieve saved state for a task.

{
"tool": "tasks",
"arguments": {
"action": "get_state",
"task_id": "task-abc"
}
}

Link a task to graph nodes for traceability.

{
"tool": "tasks",
"arguments": {
"action": "link_nodes",
"task_id": "task-abc",
"node_ids": "[\"node-1\", \"node-2\"]"
}
}