get_account
Get who this connection acts for: its organization, the workspace it acts in (with its region), and the API key or the signed-in member with their permissions there.
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": "get_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_id | No | The API key; absent when a member signed in through OAuth. | |
| region | Yes | The workspace's home region, where its data lives and its renders run. | |
| user_id | No | The member whose own key this is, or who signed in; absent for a key the workspace owns. | |
| key_name | No | The API key's name, as it was given in the dashboard. | |
| permissions | No | A signed-in member's permissions in the workspace; absent for an API key, which has all. | |
| workspace_id | Yes | The workspace the key acts in. | |
| workspace_name | Yes | The workspace's name. | |
| organization_id | Yes | The organization (WorkOS organization) the workspace belongs to. | |
| organization_name | Yes | The organization's name. |