get_workspace_occupancy
Count open task threads across all readable workspace channels by stage—open, queued, claimed, working, and blocked—to assess workload and claimable work.
Instructions
Count your workspace's open task threads by stage, summed over every channel you can read, as {open, queued, claimed, working, blocked}. queued is claimable now, claimed is held on a live lease but not yet acknowledged, working is held and acknowledged, and blocked is parked or blocked; the last four add up to open. A private channel's threads count only for its members and a DM's only for its participants. Use get_channel_occupancy for one channel and get_workspace_queue_depth for the unclaimed-work view with filters. Requires workspace: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": {
"workspace_id": "<workspace_id>"
},
"name": "get_workspace_occupancy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | Yes | UUID of your own workspace (whoami returns it). A different workspace is refused. |