mcpDeterministic
List workspaces
tools/call
List every workspace the authenticated account can currently access, including each workspace ID, slug, ownership state, and live permissions. Use this before a workspace-scoped operation when the target workspace is not explicit. Never choose a workspace based on recency or list order.
Parameters
This operation has no parameters.
Example
MCP tools/calljson
{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "list-workspaces","arguments": {}}}
Response
Success response schemajson schema
{"type": "object","properties": {"workspaces": {"type": "array","items": {"type": "object","properties": {"id": {"type": "string"},"name": {"type": "string"},"slug": {"type": "string"},"isOwner": {"type": "boolean"},"permissions": {"type": "object"}},"required": ["id","name","slug","isOwner","permissions"]}}},"required": ["workspaces"]}
JSON-RPC errors
- -32602
- Invalid parameters. Field-level details are returned in the JSON-RPC error data.
- -32001
- Authentication or hosted AI consent is required.
- -32003
- Workspace access is denied.
- -32029
- The request was rate limited.