api_medical_anion_gap
Calculate uncorrected serum anion gap Na−(Cl+HCO3) from same-sample laboratory values. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.
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": {
"sodium_mmol_l": "<sodium_mmol_l>",
"chloride_mmol_l": "<chloride_mmol_l>",
"bicarbonate_mmol_l": "<bicarbonate_mmol_l>"
},
"name": "api_medical_anion_gap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sodium_mmol_l | Yes | Serum sodium mmol/L | |
| chloride_mmol_l | Yes | Serum chloride mmol/L | |
| bicarbonate_mmol_l | Yes | Serum bicarbonate mmol/L |