connect_onyx_docs
Index local research documents (PDF, Markdown, JSON, TXT) into Onyx RAG. Query them via onyx_ask() and onyx_search().
Instructions
Index local research documents (PDF, Markdown, JSON, TXT) into the Onyx RAG knowledge base. Documents become searchable via onyx_ask() and onyx_search(). Supports recursive directory scanning. Requires Onyx to be running at ONYX_API_URL. Owner-only side effect (AC-MCP-009).
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": {
"doc_paths": "<doc_paths>",
"doc_type": "<doc_type>",
"owner_token": "<owner_token>"
},
"name": "connect_onyx_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_type | Yes | Document category for Onyx tagging. | |
| doc_paths | Yes | List of absolute file or directory paths. | |
| owner_token | Yes | Must match OWNER_API_TOKEN env var. |