get-tasks
Retrieve tasks from a Microsoft Todo list using list ID, filters, and sorting options. Manage task details, subtasks, and counts for efficient task tracking and organization.
Instructions
Get tasks from a specific Microsoft Todo list. These are the main todo items that can contain checklist items (subtasks).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
count | No | Whether to include a count of tasks | |
filter | No | OData $filter query (e.g., 'status eq \'completed\'') | |
listId | Yes | ID of the task list | |
orderby | No | Property to sort by (e.g., 'createdDateTime desc') | |
select | No | Comma-separated list of properties to include (e.g., 'id,title,status') | |
skip | No | Number of tasks to skip | |
top | No | Maximum number of tasks to retrieve |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"count": {
"description": "Whether to include a count of tasks",
"type": "boolean"
},
"filter": {
"description": "OData $filter query (e.g., 'status eq \\'completed\\'')",
"type": "string"
},
"listId": {
"description": "ID of the task list",
"type": "string"
},
"orderby": {
"description": "Property to sort by (e.g., 'createdDateTime desc')",
"type": "string"
},
"select": {
"description": "Comma-separated list of properties to include (e.g., 'id,title,status')",
"type": "string"
},
"skip": {
"description": "Number of tasks to skip",
"type": "number"
},
"top": {
"description": "Maximum number of tasks to retrieve",
"type": "number"
}
},
"required": [
"listId"
],
"type": "object"
}