document_info
Retrieve document metadata such as file type, size, and modification time without reading the full content. Get page counts for PDFs or line counts for text files to quickly assess document details.
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 | |||