chem_balance
Chemical equation balancer — Balance any chemical equation exactly (rational null-space solver, not guessing): ions with charges (Fe^3+, MnO4^-, e^-), brackets, hydrates (CuSO4.5H2O). Returns the balanced equation, integer coefficients, per-element atom check, molar masses and a mass-conservation check; flags equations that mix independent reactions. Param equation= (use -> or =; separate species with +). Price: $0.003 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": {
"equation": "<equation>"
},
"name": "chem_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| equation | Yes | e.g. Fe2O3 + CO -> Fe + CO2 |