Get code definition
get_code_definitionFetch a code's definition, hierarchy position, and explanatory notes from a classification system for accurate survey coding and validation.
Instructions
Retrieve one exact code or codelist container, including its node_kind, hierarchy position and explanatory notes.
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": {
"classification_id": "<classification_id>",
"code": "<code>"
},
"name": "get_code_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| classification_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| label | Yes | ||
| level | No | ||
| score | No | ||
| excludes | No | ||
| includes | No | ||
| language | No | en | |
| node_kind | No | code | |
| definition | No | ||
| source_url | No | ||
| codelist_id | No | ||
| parent_code | No | ||
| source_title | No | ||
| classification_id | Yes | ||
| classification_version | No |