resolve_reference
Resolve a FHIR reference to its target resource within a loaded bundle, handling contained references with the parent resource id.
Instructions
Resolve a FHIR reference (e.g. 'Patient/123', 'urn:uuid:...') to its target resource within the loaded bundle. For a contained reference ('#med1'), also pass parent_resource_id — the id of the resource the reference appears in.
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": {
"reference": "<reference>"
},
"name": "resolve_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reference | Yes | ||
| parent_resource_id | No |