Batch get hospital chargemaster costs
batch_get_hospital_chargemaster_costLooks up cost stats for several (code_type, code) pairs at one hospital (identified by hospital_id) in a single call - the batch counterpart to get_hospital_chargemaster_cost. Use this instead of calling get_hospital_chargemaster_cost once per code when pricing a fixed set of codes at one hospital (e.g. cross-linking a curated list of procedures on a hospital's page). Capped at 100 codes per call; a request over that is rejected with INVALID_ARGUMENT rather than silently truncated. Served from the hospital-prices serving snapshot, which pools exactly (exact medians), so figures can differ slightly from earlier results of this tool. Like those, each figure still combines facility and professional charges (and all settings) into one number; use batch_get_hospital_provider_code_costs for a per-billing-class breakdown instead.
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": {
"hospital_id": "<hospital_id>",
"codes": "<codes>"
},
"name": "batch_get_hospital_chargemaster_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codes | Yes | The (code_type, code) pairs to price at this hospital - up to 100 entries. Results come back in this same order. | |
| hospital_id | Yes | Opaque hospital identifier from list_hospitals. | |
| revision_id | No | Optional. A revision_id from list_hospitals' per-hospital revisions array, to price that specific past revision instead of the hospital's latest one, applied to every code in this batch. Omit to use the latest revision. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | No | One entry per requested code, in request order - found=false (not omitted) when this hospital has no data for that code. |