security/tool-boundaries
Before a tool call, payment card numbers must be redacted from the arguments and replaced with a tokenized reference.
This is the rule the answer cites: redact the card number and use a tokenized reference.
Build account-owned collections, follow the matches that shaped an answer and keep source context visible before it reaches a model.
Retrieval transaction
Follow the selected passage into the cited answer. A nearby billing passage is left out because it does not answer the policy question.
Open API referencePOST /api/v1/query
Can raw payment card data be sent to a gateway tool?
top: 2 · includeReferences: true
security/tool-boundaries
Before a tool call, payment card numbers must be redacted from the arguments and replaced with a tokenized reference.
This is the rule the answer cites: redact the card number and use a tokenized reference.
billing/refundsRefund operations retain an invoice reference and the approved amount in the billing record.
This passage concerns billing records, not what a gateway tool may receive.
Initial retrieval and reranking are different stages. These illustrative scores are not probabilities or a shared measure of improvement; the selected passage remains first in this example.
| Passage | Retrieval | Reranking |
|---|---|---|
| security/tool-boundaries | 0.82 | 0.91 |
| billing/refunds | 0.77 | 0.69 |
RAG / 09 capabilities
Enrich a gateway with retrieved context while keeping the client unchanged.
Regenerate indexed chunks and vectors when document content changes.
Send larger document sets through a bounded import pipeline.
List, filter, update and remove documents and indexed chunks.
Expose collection search to agents as generated MCP tools.
Refine retrieved candidates before they enter the model context.
Send a query with candidate documents and receive ranked results without indexing.
Assign text to defined labels through reusable model inference.
Split long text into coherent sections for retrieval and processing.
Evidence stays useful when its place in the record remains intact.
/api/v1/query
Return the evidence when the application will make the final decision.
/api/v1/answer
Draft an answer while keeping the retrieved sources beside it.
AI Gateway
Reuse the same retrieval policy behind every compatible chat call.