estimate_cost
Cost of each plan at a team size (or companies/orders, per the product's axis) on monthly or annual billing: monthly equivalent, amount billed per period, commitment, minimums, add-ons and usage. Only for products with price rules; says so otherwise. Never guesses between published price steps: returns a range.
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": {
"product_id": "<product_id>",
"units": "<units>"
},
"name": "estimate_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | Yes | Team size, or the product's own unit (companies, orders) as named in its price rules; a whole number of 1 or more. | |
| usage | No | Metered usage per month as {usage_id: quantity}, with ids from the product's price rules, e.g. {'sms': 500}. | |
| addons | No | Add-on ids from the product's price rules to include in the cost. | |
| billing | No | Billing term: 'monthly' or 'annual'. | annual |
| plan_id | No | Plan id from the plans field of get_product to price only that plan; leave empty for every plan. | |
| product_id | Yes | The product's id, from the id field of a search_products result (e.g. 'toggl'). Only products with price rules (has_cost_rules) can be priced. | |
| include_personal | No | true to also price plans meant for one person (personal or solo plans); false by default. |