Get workspace
twelfth_get_workspaceGet the connected workspace's name, slug, timezone, currency, country, own store website domain and data rules: how this workspace's source data must be read (which field is the sales channel, which source fields mean something other than their name). Call it first so dates, money and data are read in the workspace's own terms, and follow its data rules in every query; for people use twelfth_list_workspace_members.
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": "twelfth_get_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Optional, analytics only: why you are calling this, in a few words; name roles, never people or figures. | |
| conversation_id | No | Optional, analytics only: one opaque id reused on every call in this conversation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| slug | Yes | ||
| timezone | Yes | IANA timezone, e.g. Australia/Melbourne. | |
| dataRules | No | How this workspace's source data must be read, set by its administrators: the sales-channel encoding first, then each rule. Absent when the workspace has none. Follow them in every query. | |
| countryCode | Yes | ISO 3166 country code. | |
| currencyCode | Yes | ISO 4217 currency code. | |
| websiteDomain | No | The workspace's own store domain (e.g. gamesmen.com.au), when known. | |
| workspaceCount | No | How many workspaces the connected person belongs to. Absent for a workspace key. |