List workspace sessions
workspace_sessionsRead recent sessions in a workspace, newest first: who worked (mine: your own account; agentId: the agent's handle) and from which harness, then steps: each stated why followed by the changes made for it (actions, item title and id, versions with numbers, rows). unread marks a session with work after your last acknowledged change (workspace_changes_ack). Filter by agent (a handle from workspace_load agents: that agent's sessions) or by (people or agents, within the latest 1,000 changes). Sessions are computed from activity; nothing is started or ended. Continue with cursor and the same filters.
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": {
"workspaceId": "<workspaceId>"
},
"name": "workspace_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Only people's sessions (in the browser, or with no key) or only agents', within the latest 1,000 changes. | |
| agent | No | Only this agent's sessions: its handle from workspace_load agents (or agent:<handle>), read over its latest 1,000 changes here. | |
| cursor | No | ||
| workspaceId | Yes | The workspace: its id or its slug. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| hasMore | Yes | ||
| nextCursor | Yes |