index_documents
Index a file or directory recursively so Paperscope can search local documents with exact citations. Hidden files and symlinks are skipped, and paths are restricted to your home and existing roots.
Instructions
Index a file or directory (recursive). Hidden files and symlinks are skipped. Paths are restricted to the user's home and existing roots.
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": "index_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to a file or a directory. Directories are scanned recursively; hidden files and symlinks are skipped. |