AI Answers and Brand Visibility
ai_answersPut a buyer's question to an AI assistant that searches the live web, and see whether a brand and its competitors are named in the answer, in what rank, with the citations and cited domains behind it. The assistant is ChatGPT unless engine names claude, perplexity or gemini; an assistant the server has no key for answers not_configured and costs nothing. samples (1 to 5, default 1) asks the same question more than once, for a mention rate. Returns metrics per assistant, not the raw answers. Charged per call to the assistant at the price list in credits (see llms.txt), the same as POST /v1/ai/answers: the worst case is held first, only the calls made are charged, and a call where the assistant failed is charged nothing. Gemini, when it searches Google, is a base price plus a price for each distinct search query it runs (the model decides how many; up to 10 a call are held for, and a call is only made when that worst case fits in what is held): you are charged for the queries that ran. The most the call can cost is held first and you are charged for what it returns; a call that fails costs nothing.
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": {
"prompt": "<prompt>",
"brand": "<brand>"
},
"name": "ai_answers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand | Yes | Brand name to look for in the answer | |
| engine | No | The assistant to ask | chatgpt |
| prompt | Yes | The question to put to the assistant, as a buyer would ask it | |
| country | No | Two-letter ISO country code of the market | ae |
| samples | No | Times the question is asked of the assistant | |
| language | No | Language tag of the market, for example en or ar | en |
| competitors | No | Competitor names or domains to track | |
| brand_domain | No | The brand's domain, for example roasters.ae | |
| idempotency_key | No | Optional. Send the same key (16 to 128 letters, digits, _ . : -) to retry this exact call safely: a retry within 24 hours returns the first result and is not charged again. |