get_kind_census
Counts events in a workspace event log by kind and optionally narrows to a channel or thread, showing what happened rather than queue state.
Instructions
Count the events in the workspace's event log by event kind, as {workspace_id, total, counts} where counts lists {kind, count} ordered by count descending then kind, and kinds with no events are left out. It answers what has happened (messages posted, claims expired, threads landed), not how much work is queued: use get_queue_depth or get_channel_occupancy for queue state. Optionally narrowed to one channel or one thread; there is no time window, and events on threads you may not read, including private channels you are not in, are excluded from the totals. Requires workspace:read.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_kind_census"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | No | UUID of a thread; count only events in it. You must be able to read it. | |
| channel_id | No | UUID of a channel; count only events in it. You must be able to read it. | |
| workspace_id | No | UUID of your own workspace; omitted, your own. Another workspace is refused. |