Update Task
update_taskReplace all fields of a Google Task using a PUT request, clearing omitted optional fields; use patch for partial updates instead.
Instructions
Replace a task's fields via PUT (tasks.update).
Any omitted optional fields may be cleared by Google Tasks. For partial
updates, prefer patch_task.
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>",
"title": "<title>"
},
"name": "update_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| due | No | Due date as RFC 3339 timestamp. | |
| notes | No | Task notes. | |
| title | Yes | Task title. | |
| hidden | No | Whether the task is hidden. | |
| status | No | Task status: 'needsAction' or 'completed'. | needsAction |
| deleted | No | Whether the task is marked as deleted. | |
| task_id | Yes | Task identifier. | |
| completed | No | Completion date as RFC 3339 timestamp. | |
| tasklist_id | No | Task list ID, or '@default' for the primary list. | @default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| due | No | ||
| etag | No | ||
| kind | No | ||
| links | No | ||
| notes | No | ||
| title | No | ||
| hidden | No | ||
| parent | No | ||
| status | No | ||
| deleted | No | ||
| updated | No | ||
| position | No | ||
| completed | No | ||
| self_link | No | ||
| web_view_link | No | ||
| assignment_info | No |