fetch
Retrieve the full contents of a Todoist task or project using its unique ID. Use the format task:{id} or project:{id} to access complete details.
Instructions
Fetch the full contents of a task or project by its ID. The ID should be in the format "task:{id}" or "project:{id}". (Comments may exist; use find-comments to retrieve them.)
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": {
"id": "<id>"
},
"name": "fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | A unique identifier for the document in the format "task:{id}" or "project:{id}". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the fetched document. | |
| url | Yes | The URL of the document. | |
| text | Yes | The text content of the document. | |
| title | Yes | The title of the document. | |
| metadata | No | Additional metadata about the document. |