Create dimension
create-dimensionAdd a member to a management dimension: a department, class, location or project (or an axis of your own) that ledger lines can carry, one member per axis per line. value is the member's stable key within its axis, a slug of the name when omitted; a second member with the same key returns 409. Tag lines with its id through dimension_ids on a journal line, and read the income statement by it with live-financial-statement's dimension.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dimension_type": "<dimension_type>",
"name": "<name>"
},
"name": "create-dimension"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The member's label. | |
| value | No | The member's stable key within the axis; omitted, a slug of the name. Refused (409) when the axis already has it. | |
| dimension_type | Yes | The axis: `department`, `class`, `location` or `project`, or any other lowercase name, which starts an axis of its own. `scenario` is reserved for forecasts. |