finalize_rag_answer
Verifies selected evidence excerpts and produces a cited answer; unsupported or insufficient selections trigger a refusal.
Instructions
Verify selected excerpts and produce an answer with source citations.
Supply up to six evidence_id/quote pairs from retrieve_rag_context. Quote exact text. Use [] if the passages cannot answer the question. Unsupported selections yield a refusal. Present the returned answer without adding claims.
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": {
"question": "<question>",
"path": "<path>",
"selections": "<selections>"
},
"name": "finalize_rag_answer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| question | Yes | ||
| selections | Yes |