Get Document Info
get_document_infoRetrieve metadata from PDF, DOCX, XLSX, and CSV files, including page counts from PDF metadata, to inspect document properties without extracting full text. Reads only files in allowed directories.
Instructions
Membaca metadata PDF/DOCX/XLSX/CSV. Untuk PDF, jumlah halaman diambil dari metadata tanpa fallback ekstraksi seluruh teks. Hanya file di ALLOWED_DIRS.
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": {
"filePath": "<filePath>"
},
"name": "get_document_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path file di dalam salah satu direktori ALLOWED_DIRS. |