find_document
Check if a document exists by its filename or path, returning its ID, processing status, timestamps, content length, and chunk count.
Instructions
Check if a document exists by its filename or path. Returns a dictionary with detailed status: 'id', 'status' (processed/failed/pending), 'created_at', 'updated_at', 'content_length', 'chunks_count', and 'error_msg' if any.
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": {
"filename": "<filename>"
},
"name": "find_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | The name or path of the document file to find (e.g., 'report.pdf') |