Get Prices
get_pricesGet the delivered price of one material, for one quantity, at one US ZIP code. Only Florida ZIP codes are served; other ZIPs return an error. total is the full price in USD with delivery included; nothing is added to it. fullLoad is the price of one full truck load, the lowest price per unit. notes are facts about this order: the minimum order, how the price compares with a full load, and whether WeGravel prices the job by hand. quoteUrl opens the WeGravel quote form with the material, ZIP, and quantity filled in. pageUrl is the WeGravel page for this material in the delivery city (null when there is no page).
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": {
"material": "<material>",
"quantity": "<quantity>",
"zip": "<zip>"
},
"name": "get_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | Yes | 5-digit US ZIP code of the delivery address. Florida only. | |
| unit | No | Unit of `quantity`: "yd3" (cubic yards) or "ton". Default: the unit the material sells by (see list_materials). | |
| material | Yes | Material slug from list_materials (a material name also works). | |
| quantity | Yes | Quantity to deliver, in `unit`. Must be greater than 0. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes | ||
| notes | Yes | ||
| total | Yes | ||
| pageUrl | Yes | ||
| currency | Yes | ||
| fullLoad | Yes | ||
| material | Yes | ||
| quantity | Yes | ||
| quoteUrl | Yes | ||
| unitPrice | Yes | ||
| truckLoads | Yes | ||
| destination | Yes | ||
| needsCustomQuote | Yes |