list_workspaces
Retrieve all workspaces accessible with the current API keys, returning IDs and names for selecting a workspace in other operations.
Instructions
List all workspaces accessible with the current API key(s).
Returns a SLIM row per workspace — id and name — which is all you need to
pick a workspace_id for other tools. For full details (seats, subscription,
hub profiles) call get_workspace(workspace_id); for a workspace's brands
call list_hub_profiles(workspace_id).
A user-level key (srgplus_u_) returns every workspace it can reach; multiple
keys are merged. The list comes from the single bulk call made when the key
was resolved, so it is one response, not one request per workspace.
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_workspaces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |