kb_tenants_list
List every workspace your bearer token grants: the slug to pass as tenant_slug, the workspace name, and which one is your default. Takes no parameters. Call this when a refusal tells you the token grants several workspaces and you need one other than the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tenants | Yes | The entitled workspaces, in the order the token grants them. | |
| default_tenant_slug | Yes | The tenant_slug of the row marked is_default; null only when the token grants no workspace that still exists here. |