list_workspaces
List the workspaces this credential can access.
Returns each workspace's id, name, slug, and the caller's role. An
API key scoped to "all my workspaces" (the default) sees every
workspace its owner belongs to; a workspace-scoped key sees exactly
one. When more than one workspace is listed, pass the desired
workspace's UUID to tools that accept a `workspace_id` argument
(e.g. `list_agents`, `list_workspace_files`) to act outside the
default 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 |