Check what needs you
checkCheck what needs you (this agent key) across every workspace you reach, or only the workspaces you name (ids or slugs, at most 50). Returns, for each workspace with something to report (at most 50 listed; moreWorkspaces counts the rest): waiting, the tasks that wait on you (an exact count, and items with id, title, type and to: do for a task for you, decide for a review addressed to you; at most 20 items in the whole reply, every decide before any do, hasMore where a workspace has more); unreadMessages, the workspace chat's messages you have not been shown (up to 100); lastChange, when the workspace last changed and who changed it, never counting your own changes or the chat (a message on a task's thread is a change), looked for among its newest 1,000 history entries. quietWorkspaces counts the workspaces with nothing to report, and asOf is the time of the answer. include limits it to some parts (waiting, messages, changes): a part left out is absent, never zero. since, the asOf of your previous check, lists a workspace for a change only when the change came after it less 30 seconds, so a change made just before your last check is listed again: compare lastChange.at with what you saw. What waits and unread chat are listed either way. It changes nothing: it marks nothing read, and the call itself is recorded like any call. A workspace you do not reach, one in the trash included, is refused INVALID_INPUT naming workspaces; a slug two of your workspaces share, AMBIGUOUS_REFERENCE with details.candidates (name it by id). WORKSPACE_BUSY: nothing was changed; check again shortly.
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": "check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| why | No | Optional, accepted and not recorded by this operation. If you send one, one sentence on the goal this change serves. At most 300 characters. | |
| since | No | Count a workspace as changed only when its last change is after this time, less a 30-second overlap: pass the asOf of your previous check. A change in the 30 seconds before it is listed again, so compare lastChange.at with what you saw. An ISO 8601 timestamp, or a time back (30m, 12h, 3d). Never in the future. What waits on you and unread chat are listed whatever it says. | |
| include | No | Only these parts, a list or comma-separated text: waiting (what waits on you), messages (unread chat), changes (each workspace's last change by someone else). A part left out is absent from the reply, never zero. Omitted: all three. | |
| workspaces | No | Only these workspaces, each by its id or slug, at most 50: a list, or comma-separated text; each must be one you reach. Omitted: every workspace you reach. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | Yes | The time of this answer: pass it as since to your next check. | |
| waiting | No | Tasks waiting on you, in all. | |
| workspaces | Yes | Each workspace with something to report, at most 50: what waits on you first, then unread chat, then the newest change. | |
| moreWorkspaces | Yes | Workspaces with something to report past the 50 listed (those listed only for their oldest changes are cut first); 0 when none were cut. Name them in workspaces (workspace_list lists them), or pass since. | |
| unreadMessages | No | Unread chat messages, in all (each workspace counted up to 100). | |
| quietWorkspaces | Yes | Workspaces with nothing to report. |