list_workspaces
Retrieve workspace IDs required for creating visuals and dashboards. Ensures visuals are organized in the correct project folder.
Instructions
STEP 4 of every visualization workflow — get the workspace_id required by create_smart_visual.
CDV workspaces organize visuals and dashboards (similar to folders). The workspace_id returned here is a REQUIRED parameter for create_smart_visual() and create_dashboard(). Without it, visual creation will fail.
Call this before creating any visual. Choose the workspace that matches the project context (e.g. a dedicated project workspace or "Public").
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 |