Quote a call's price
quoteFree. How many credits a call to a SalesMap tool can use, before running it, against what the workspace can spend now (balance and limit). Not a charge: the most the call can use, which it reserves (or its max_credits); it uses 1 credit per account that qualifies, never more. When fits is false, shortfallCredits says how many more are needed and topUp is the link.
Use when: "how much will this cost", "can I afford 10 accounts", "how many credits would a discover for my site use".
Skip when: the user wants their balance or limits without a call in mind. Quoted page text is normalized; a quote that reads like an instruction keeps its text and is flagged in Flags with the attack family.
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": {
"tool": "<tool>"
},
"name": "quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | The tool to quote, e.g. discover | |
| input | No | That tool's arguments, as in a call to it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | No | ||
| fits | Yes | ||
| tool | Yes | ||
| input | Yes | ||
| topUp | No | ||
| quoteCredits | Yes | ||
| canSpendCredits | Yes | ||
| shortfallCredits | No |