Search FHIR resources
search_fhirSearch FHIR resources of a given type with full parameter support including chained searches, inclusions, and pagination.
Instructions
Search resources of a given type (GET /{resourceType}?...). Search parameters are passed through to the server as-is, so chained parameters, _has, _include, _revinclude, _sort, _total etc. all work. To keep responses small, prefer _elements (comma-separated field list) or _summary=true, and page with _count plus the returned hasNextPage flag (use params like _count/_offset or the server's paging links).
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": {
"resourceType": "<resourceType>"
},
"name": "search_fhir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Results per page (default 20, capped at 50) | |
| params | No | Search parameters as key-value pairs, e.g. {"name": "山田", "_elements": "id,name,birthDate"}. Repeat-style OR values can be comma-separated per FHIR search rules. | |
| resourceType | Yes | FHIR resource type to search, e.g. Patient, Observation, Condition |