Update task
update_taskUpdate an open native Lemongraph task using its exact eight-character data.key. Accepts optional title, dueDate (YYYY-MM-DD or null), priority, tag, and edits. Set tag to a name to reuse or create it, or null to move the task to Inbox. A tag is 1–20 characters and can include emoji and spaces. Task bodies are Markdown; use Markdown formatting in new_str. Each edit replaces old_str with new_str literally, in array order. Copy old_str exactly from get_task_context task.description, including Markdown notation and whitespace; it must match once. To add text, replace a passage with itself plus the addition; use the final passage to append or the opening passage to prepend. To delete, use empty new_str. Empty old_str is allowed only for an empty body. All edits and metadata save together or none do. On a match error, reread context and use a unique passage. Omitted fields stay unchanged. External services are unchanged.
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": {
"key": "<key>"
},
"name": "update_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| tag | No | ||
| edits | No | ||
| title | No | ||
| dueDate | No | ||
| priority | No |