record_concept_mapping
Assert that a data variable maps to an external vocabulary term, capturing relation, confidence, provenance, and review status for governed concept mapping.
Instructions
Assert that a Variable maps to an external vocabulary term.
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": {
"concept_id": "<concept_id>",
"vocabulary": "<vocabulary>",
"term": "<term>",
"relation": "<relation>"
},
"name": "record_concept_mapping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | Yes | the external identifier or code, e.g. SP.POP.TOTL or Q148 | |
| relation | Yes | SKOS mapping property — exact / close / broader / narrower / related | |
| reviewed | No | mark the assertion as reviewed | |
| concept_id | Yes | Variable (concepts.id) being mapped | |
| confidence | No | 0..1; below the review threshold it is flagged pending review | |
| provenance | No | registry / manual / llm | manual |
| vocabulary | Yes | external vocabulary, e.g. datacommons / worldbank / wikidata / xbrl-us-gaap / sdmx |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||