calculate_building_cost
Calculates complete material requirements and cost to build a specified building on a planet, including environment-based infrastructure needs and optional exchange pricing.
Instructions
Calculate total cost to build a building on a planet.
Calculates the complete material requirements including base building
costs and infrastructure materials based on planetary environment
(surface type, pressure, gravity, temperature).
Args:
building_ticker: Building ticker (e.g., "FP", "HB1", "FRM").
planet: Planet identifier (name, natural ID, or planet ID).
exchange: Optional exchange code for cost calculation (e.g., "CI1").
Valid: AI1, CI1, CI2, IC1, NC1, NC2.
Returns:
TOON-encoded breakdown of materials including base costs
and infrastructure requirements based on planet environment.
If exchange is provided, includes price and cost per material.
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": {
"building_ticker": "<building_ticker>",
"planet": "<planet>"
},
"name": "calculate_building_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| planet | Yes | ||
| exchange | No | ||
| building_ticker | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |