document_info
Retrieve document metadata such as file type, size, modification time, page count, and line count without reading the full content. Inspect key details before deciding how to process the file.
Instructions
Return metadata for a document without reading its full content.
Includes file type, size, and modification time; page count and PDF metadata for PDFs; line count for text-based files.
Args: path: File path inside the allowed root.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||