Create taxonomy block
create-taxonomy-blockCreate a taxonomy block atomically: one envelope carrying the taxonomy row plus its structures, elements, associations, and rules. Dispatches by taxonomy_type — chart_of_accounts (declarative tenant CoA), reporting_extension, and custom_ontology are supported; reporting_standard is library-origin (501). reporting_extension / custom_ontology authoring may be disabled per environment (TAXONOMY_AUTHORING_ENABLED) — disabled surfaces 403. A reporting_extension structure with extends_network adds rows to the entity's balance sheet, income statement, cash flow or equity statement: its arcs layer onto that Reporting Style network, anchored and checked when authored (refused with a reason, 422). Prefer an rs-gaap concept for a row — any library concept may be named, including ones not yet in this graph — and give a tenant concept a parent_ref to the rs-gaap concept it refines. NOT the path for a functional close schedule: a structure with block_type='schedule' here is a bare ontology row with none of the schedule machinery (per-period facts, schedule_entry_due obligations, closing-entry generator). To create a working schedule use create-information-block(block_type='schedule').
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "Acme CoA",
"elements": [
{
"code": "1000",
"name": "Cash",
"qname": "acme:Cash",
"trait": "asset",
"balance_type": "debit"
},
{
"code": "2000",
"name": "Accounts Payable",
"qname": "acme:AccountsPayable",
"trait": "liability",
"balance_type": "credit"
}
],
"structures": [
{
"name": "main",
"block_type": "chart_of_accounts"
}
],
"taxonomy_type": "chart_of_accounts"
},
"name": "create-taxonomy-block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Taxonomy display name. | |
| rules | No | ||
| version | No | ||
| elements | No | ||
| metadata | No | ||
| standard | No | ||
| entity_id | No | For a `chart_of_accounts`: the entity whose books it keeps, default the group parent. It becomes that entity's primary chart only if the entity has none; otherwise it is linked beside the primary, which stays. Not read by other types. | |
| structures | No | ||
| description | No | ||
| associations | No | ||
| namespace_uri | No | ||
| taxonomy_type | Yes | Block-type discriminator. `chart_of_accounts` and `custom_ontology` construct from scratch; `reporting_extension` extends an existing library `reporting_standard`. | |
| parent_taxonomy_id | No | Required when `taxonomy_type == 'reporting_extension'` — the id of the library `reporting_standard` being extended. |