Find documents
find_documentsSearch the user’s documents by name — their personal library AND the shared libraries of every team they belong to. Returns a compact list (id, name, updated time, which library it lives in, and a link to open it). Lightweight and image-free so you can scan many results, then read_document the one you want.
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 |
|---|---|---|---|
| limit | No | Max results (default 20). | |
| query | No | Only documents whose name, or whose folder's name, contains each word of this text (any case). | |
| archived | No | true: only the user's archived documents (archived ones are never listed otherwise). Each can be moved back with unarchive_document. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | How many documents matched. | |
| documents | Yes | The matches, most recently saved first. |