chem_gas_law
Gas law solver — Ideal gas PV = nRT: give any three of p, v, n (or mass_g + formula), t with units (atm, kPa, Pa, bar, mmHg, torr, psi; L, mL, m3, gal; K, C, F) and get the fourth, plus molar volume and gas density when a formula is given. Combined gas law with p1, v1, t1, p2, v2, t2 (give five). Price: $0.002 USDC (Base, via x402).
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": {
"p": "<p>",
"t": "<t>",
"n": "<n>"
},
"name": "chem_gas_law"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | e.g. 1 | |
| p | Yes | e.g. 1atm | |
| t | Yes | e.g. 25C |