List spaces
list_spacesList spaces the user is a member of that are on a plan with MCP access. Each space is represented as a virtual filesystem that can be browsed with inspect_space. Results are plan-filtered, so a page may be empty while more pages remain. Keep paginating until hasNextPage is false. When every space on the last page is hidden because its plan has no MCP access, the response adds hiddenForPlan (a count for that page) and a hint: show the hint to the user.
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": "list_spaces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Pagination cursor (offset as string). Omit for first page. | |
| first | No | Number of spaces to return |