Answer a question (billed)
answerGet a short, source-cited answer to a closed question, with markers pointing to the pages it used. Requires a configured backend API key, else calls fail.
Instructions
Answer one closed question in a sentence or two: the backend searches and writes the answer, with the sources it cites, each by its marker (e.g. '[2]'). A few seconds. Unset, provider tries the configured backends in ranked order, and each one tried bills. Unedited: check it against the sources when it matters. search returns the pages themselves. NOTHING IS CONFIGURED FOR THIS METHOD on this machine, so every call will fail. A key in one of BRAVE_ANSWER_API_KEY, EXA_API_KEY, LINKUP_API_KEY, PARALLEL_API_KEY, PERPLEXITY_API_KEY, YOU_API_KEY turns it on: see load_env.
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": {
"query": "<query>"
},
"name": "answer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The question to answer. | |
| snippets | No | Include each source's quoted passage. | |
| all_sources | No | Also list the sources the answer read but did not cite. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| answer | No | ||
| handle | Yes | ||
| provider | No | ||
| citations | No | ||
| truncated | No |