validate_icd10
Check if an ICD-10-CM code is valid by verifying it exists in the official code set. Returns confirmation and description for real codes, catching fabricated or retired ones.
Instructions
USE THIS to check whether an ICD-10-CM code is real before relying on it — never assume a plausible-looking code exists. Returns whether it is well-formed AND present in the official code set, plus the description when valid. Catches fabricated or retired codes a model would otherwise accept.
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": {
"code": "<code>"
},
"name": "validate_icd10"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The ICD-10-CM code to validate. |