update_task
Update a task's completion status to mark it finished or pending. Automatically deactivates the agenda when all non-optional tasks are completed.
Instructions
Update a task's completion status.
If all non-optional tasks are completed, the agenda will be marked as inactive.
Args:
task_id: The ID of the task to update
is_completed: True if the task is finished, False otherwise
Returns:
A dictionary with status and message
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": {
"task_id": "<task_id>",
"is_completed": "<is_completed>"
},
"name": "update_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| is_completed | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||