Search codes
search_codesSearch ICD-10 PL diagnoses, ICD-9 PL procedures, JGP groups and, when asked, pre-released ICD-11 PL by code or Polish words (diacritics optional). Each hit has its code, title, path and JGP group count; JGP groups are always searched in today's catalog. Open a hit with get_code or get_jgp_group; walk a hierarchy with browse_codes.
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": {
"query": "<query>"
},
"name": "search_codes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Hits per dictionary. | |
| query | Yes | A code or Polish words, e.g. J18.9 or zapalenie płuc. | |
| systems | No | Dictionaries to search; add icd11-pl only when asked. | |
| service_date | No | Day of care, YYYY-MM-DD; picks the release in force. Default today in Poland. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| notice | Yes | ||
| systems | Yes |