ingest_to_rag
Upload a local document into the Proofpane governance RAG corpus for governed retrieval: the cloud parses, DLP-scrubs, chunks, embeds, and audits it so contents are searchable by collection.
Instructions
Upload a LOCAL file into the Proofpane governance RAG corpus. The cloud parses it (PDF / DOCX / HTML / text), DLP-scrubs secrets, chunks + embeds it, and audits the ingest. After this, the file's contents are searchable with search_compliance_docs on the returned collection. Use when the user wants a local document made available for governed retrieval / Q&A.
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": {
"path": "<path>"
},
"name": "ingest_to_rag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute (or cwd-relative) path to the local file to ingest. | |
| collection | No | Optional target collection, one of the organisation's own: a name starting with 'ai_gov_<organisation id>_', or one of its per-case collections. Any other name, a shared corpus among them, is refused (404). Omit to use the org's default upload collection. |