mark_task_complete
Mark a task as complete in a Nodeon project. Updates the project's live state, may unblock dependent tasks, and records a handoff note for the tasks that depend on it. Requires summary (what was actually built) and files_touched (the changed file paths; pass [] for none); decisions, dead_ends, git_base and git_head are optional. Refused with the pending dependencies listed when any dependency is still open, unless force: true is passed (the override is logged). Returns the node's previous and new status and the stored handoff.
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": {
"project_id": "<project_id>",
"node_id": "<node_id>",
"summary": "<summary>",
"files_touched": "<files_touched>"
},
"name": "mark_task_complete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Record completion even when dependencies are still open. Use only on the user's explicit say-so; the override and the open dependencies are logged in the writeback record. | |
| notes | No | Optional legacy notes about what was built. Stored in the agent writeback log; prefer `summary` for the handoff note. | |
| node_id | Yes | The node ID to mark complete. Get this from get_next_task. | |
| summary | Yes | REQUIRED. What you actually built — not a restatement of the plan. 1-3 sentences; the next task's agent reads this. | |
| git_base | No | Optional. The git ref/commit this work started from (e.g. the branch point), for a precise diff range. | |
| git_head | No | Optional. The git ref/commit this work ended at, so the handoff carries an exact range. | |
| dead_ends | No | Optional. Approaches you tried that did not work, so the next agent does not repeat them. One string per dead end. | |
| decisions | No | Optional. Non-obvious choices you made and the reason, e.g. { decision: 'used Postgres advisory locks', why: 'avoid a Redis dependency' }. Each: { decision, why }. | |
| project_id | Yes | The project ID. | |
| files_touched | Yes | REQUIRED. Paths of the files you created or changed. Pass [] when the work touched no files (e.g. a decision or config change made elsewhere). |