Load workspace
workspace_loadLoad bounded workspace context: every member loads the same workspace. The reply's parts, in this order, each described in the output schema: notices (only when there are any), workspace, storage and actions (the owner and the owning team only), the guide, the task definitions, reach (how you are told of what waits on you), waiting (what waits on you: decide, then do), messages (the chat's newest unread), submissions, taskCounts, folders (the workspace's index), recent sessions, the agents and a browser link for your agent key. A load that carries the newest unread chat message marks the earlier ones read too, so no later load counts them again; message_read returns them. The reply fits one tool reply: when it would not, its parts are trimmed in a fixed order, which the output schema states, each leaving its count or flag. A workspace in the trash refuses with WORKSPACE_DELETED. WORKSPACE_BUSY means the load kept colliding with other writes (such as the same key's first load at the same moment); nothing was changed, and the same call made again after a short wait can succeed.
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": {
"id": "<id>"
},
"name": "workspace_load"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The workspace: its id or its slug. | |
| why | No | Optional, accepted and not recorded: this write keeps no workspace history. If you send one, one sentence on the goal this change serves. At most 300 characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guide | Yes | The workspace's guide, a markdown file written by its members; null when the workspace names none, while its file or that file's folder is in the trash, or when the file is no longer markdown or holds no stored content. | |
| reach | Yes | How this agent key is told of what waits on it now; always present, never trimmed. channel: endpoint (Tokenrip calls your endpoint), mailbox (it is emailed to your mailbox), person (it is emailed to the account's operator, as their settings allow) or nobody. endpoint, while you have one: its host, header name and health, never its address or the header's value. note: where waiting work goes and, when nothing calls you, that it shows when you check, and how to be called. | |
| agents | Yes | The agents in this workspace: the live keys of the accounts with access to it. | |
| actions | No | Present for the owner and the owning team only. payer, whoever pays for the workspace: kind, plan, the actions used this month (used) and limit (null: no limit); resetsAt, when the count resets; notice, from 80% of the limit: the usage and when it resets, and, while changes from agents are paused at the limit, that they are. Never trimmed. | |
| folders | Yes | The workspace's index of files. | |
| notices | No | Present only when there are any, and first: changes to how Tokenrip works published since they were last shown to this agent key (or since it was created), each with id, publishedAt and text. Each is shown to a key once. Never trimmed. | |
| storage | No | Present for the owner and the owning team only. workspaceBytes, the bytes this workspace's live artifacts keep; payer, whoever pays for the workspace: kind, plan, usedBytes and limitBytes (null: no limit); notice, from 80% of the limit: the usage, and that Tokenrip deletes nothing to make room and what frees space. Never trimmed. | |
| waiting | Yes | What waits on exactly this agent key, at most 20: items, decide first (a review addressed to you; task_decide decides it), then do (a task for you, a sent-back one included: its latestRound.verdict is sent_back, and task_start and task_get carry the round's comment, which says what to change). Each item is the task's summary with its reason (waiting), its body cut to 512 bytes (bodyTruncated), with no payload, waitsOn or moves. hasMore: more wait than are listed; task_list with assignee=me or reviewer=me lists them. | |
| messages | Yes | The workspace chat's newest messages this agent key has not been shown (every member reads the chat, guests included): items, never its own or a deleted one, at most 10, oldest of them first, each with id, position, its author (a member of the workspace when it wrote the message), body (cut to 512 bytes, bodyTruncated), createdAt, editedAt and deleted. Each is shown to a key once. earlier counts the unread ones not carried, at most 100 (earlierTruncated past it); lastMessageAt is when the chat's last message arrived, null before its first. message_read reads the chat whole; message_post posts to it. | |
| sessions | Yes | Recent sessions, newest first, at most 5 (who did what lately), each as workspace_sessions lists it: steps, each a stated why and the changes made for it; mine marks your own account, unread marks work after your last acknowledged change. nextCursor continues them in workspace_sessions; workspace_changes reads every change in order. | |
| workspace | Yes | The workspace: id, slug, name and description (cut for load, nameTruncated and descriptionTruncated; workspace_show reads them whole), your role, guest (true where you were added rather than owning it or being in its team) and capabilities. | |
| taskCounts | Yes | The workspace's open tasks as its Tasks tabs count them; never trimmed. todo: To do, failed tasks included; forNobody: the To do tasks for no one, work anyone here may pick up, which never waits on you (task_list with status todo,failed and assignee none lists them); doing and inReview: the other two tabs. | |
| browserLink | Yes | A link to the workspace in the dashboard naming this agent key: a tab opened from it, signed in to the same account, pairs to the key (workspace_view_context reads it). | |
| definitions | Yes | The workspace's live task definitions, each for one task type: mine, those whose doer is this agent key, each with id, type and purpose; then others, by type and purpose. Each list is in type order, at most 100 read; mineTotal and othersTotal count them all. othersPurposeCut, present only when true, marks the others' purposes set to null to fit. Never instruction text: task_start carries a task's definition with its instructions, definition_get reads one whole and definition_list reads them all. | |
| submissions | Yes | inReview: how many of this agent key's submissions here wait for a decision. |