List workspaces
list_workspacesList the workspaces you can operate on (your personal workspace and the team workspaces you have joined) and your role in each. All other tools accept workspaceId to specify a workspace (for REST, use the X-Workspace-Id request header); if omitted, the default personal workspace is used. A developer API key is bound to one workspace and can only use that one. (Required scope: cd.accounts.read)
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 |
|---|---|---|---|
| workspaceId | No | Optional: id of the workspace to operate on (look it up with list_workspaces); if omitted, the default personal workspace is used. A developer API key can only use the workspace it is bound to. |