Workspaces
listWorkspacesList the Kooga workspaces this connection reaches, with the id to pass as workspaceId. Use it when the person names a shop or a site, or when a tool says a workspace is needed; a connection that reaches one workspace never needs it. Each workspace comes with its id, slug and name, the person's role, whether it is a store (a shop is connected) or a site, its plan, and a link to it in Kooga. These are the workspaces the person ticked when connecting this app and still owns or administers.
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": "listWorkspaces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | ||
| workspaces | Yes |