Water and gas math for a rig
rig_mathPlain arithmetic: how many nights a tank of water lasts for a number of people at a stated use per person per day, and how far a tank of gas goes at a stated mileage. Nothing is read from a record. Any default rate (1 gallon per person per day, 13 mpg, the game's numbers) is labeled in the answer as an assumption you can change; it is not a fact about a place.
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": {
"water_gal": "<water_gal>",
"gas_gal": "<gas_gal>",
"people": "<people>"
},
"name": "rig_math"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mpg | No | Optional: your rig's miles per gallon. Default 13 (an assumption, the game's pavement number). | |
| nights | No | Optional: nights planned, to say whether the water is enough. | |
| people | Yes | How many people use the water. | |
| gas_gal | Yes | Gallons of gas in the tank. | |
| water_gal | Yes | Gallons of water aboard. | |
| water_gal_per_person_per_day | No | Optional: gallons each person uses a day. Default 1 (an assumption). |