Get project task counts
get_project_task_countsCount a project's top-level tasks by status. Returns counts with one number per status, plus open and total. projectId accepts an ID or slug. Needs projects:read and tasks:read.
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": {
"projectId": "<projectId>"
},
"name": "get_project_task_counts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | The project to count: its ID or slug, from list_projects. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| open | Yes | Tasks in any status except done and cancelled. | |
| total | Yes | All tasks counted. | |
| counts | Yes | Top-level tasks per status. | |
| projectId | Yes | ID of the project. |