Check the price (free)
check_priceShows the price and your balance. Free.
Stores the image for 30 minutes at its price; never converts or charges. Give exactly one input: image (the host's file object for the user's attachment), image_url (a public https link to a PNG, JPEG or WebP, up to 5 MB), upload_id (from create_image_upload_link), or conversion_id (an earlier conversion: to retry a failed one, with a NEW request_key). A new image needs a new request_key; the same key repeats a call safely. Returns the image's name for convert_to_svg, such as "logo.png · 1 credit". When the reply says to ask, ask the user its question and wait for the answer: "Yes" means convert_to_svg, "Yes, always" means convert_to_svg with always=true. Otherwise call convert_to_svg; the app asks the user to allow it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | ||
| image_url | No | A public https link to a PNG, JPEG or WebP. | |
| upload_id | No | ||
| request_key | No | ||
| conversion_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Set when the call could not proceed. | |
| status | No | ||
| message | Yes | The reply's text without its IDs and SVG text, for hosts that show only this. | |
| retryable | No | ||
| next_action | Yes | What to do next; guidance, never spending permission. | |
| request_key | No | ||
| conversion_id | No | ||
| convert_input | No | The image value for convert_to_svg, such as "logo.png · 1 credit". | |
| price_credits | No | ||
| credits_charged | No | Credits charged by this call only. | |
| credits_available | No | The balance afterwards. | |
| retry_after_seconds | No | ||
| ask_before_converting | No | Ask every time: for this account, in this app. |