Search document archive
find_documentsSearch all document archive folders by upload date or file name to find specific files, even when their location is unknown.
Instructions
Search the whole document archive (all sub-folders) by upload date and/or file name.
Walks every folder, so it takes a few seconds; progress is reported as it goes.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_id | No | Start from this folder instead of the root. | |
| name_contains | No | Case-insensitive file-name filter. | |
| added_within_days | No | Only files added in the last N days (e.g. 7). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| documents | Yes | ||
| files_scanned | Yes | ||
| folders_scanned | Yes |