List dimensions
list-dimensionsThe graph's management dimensions — departments, classes, locations, projects — and their members, the tags a ledger line can carry.
WHEN TO USE:
"What departments do we have?", "show the P&L by location": find the axis and its members first
Before tagging a journal line (
dimension_idson a line of ajournal_entry_recordedevent, orline_dimensionsonupdate-journal-entry): a line takes a member's id, one per axisBefore
create-dimension, to check the member is not there already
PARAMETERS:
dimension_type (optional): one axis, e.g.
department; omit for allinclude_inactive (optional, default false): also list retired members, which stay on the lines that carry them
RETURNS:
dimensions: each member's id, dimension_type, name, value, source (native or quickbooks), is_active and line_count, by axis then name. types: the axes the graph has members on. An untagged line reads as its axis's Unallocated.
RELATED TOOLS:
live-financial-statement —
dimension: {type}for an income statement with a column per membercreate-dimension / update-dimension — add, rename or retire a member
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": "list-dimensions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dimension_type | No | One axis: department, class, location, project, or another. | |
| include_inactive | No |