Suggest mapping
suggest-mappingFind matching rs-gaap reporting concepts for a CoA element.
WHEN TO USE:
When deciding which reporting concept a CoA account should map to
Narrows by classification (asset→Assets subtree, revenue→Revenues subtree, etc.)
RETURNS: Candidate rs-gaap concepts with element id, qname, label and depth. Every candidate appears in at least one rs-gaap-presentation Network, so any target picked from here is guaranteed to render on the standard BS / IS / CF / SE reports under the active Reporting Style.
NOTES:
Candidates are filtered by the EFS trait (FASB elementsOfFinancialStatements) matching the source element's classification, which narrows by roughly 80%.
Statement-level subtotals are excluded (e.g. rs-gaap:Assets, rs-gaap:LiabilitiesCurrent) — the calc DAG computes those, not a leaf fact.
Depth 1 is high-level line items; depth 2+ is detail.
rs-gaap is the only render target, so there is no target_taxonomy parameter.
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": {
"element_id": "<element_id>"
},
"name": "suggest-mapping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| liquidity | No | Optional liquidity narrowing (assets/liabilities). Drops candidates of the opposite liquidity. Defaults to the element's own liquidity trait. | |
| element_id | Yes | The CoA element ID to find mapping candidates for | |
| classification | No | Override classification filter (asset, liability, equity, revenue, expense). Defaults to the element's own classification. |