Inspect a Publisher, Visio, Project or InfoPath file (free)
inspect_fileOpens a Publisher (.pub), PageMaker (.pmd), Visio (.vsdx, .vsd, .vdx), Microsoft Project (.mpp, .mpx, .xml) or InfoPath form data (.xml, or a .zip of forms) file and describes it, free: page count and watermarked page preview images for Publisher and Visio, the project summary and task table (names, dates, durations, % complete, predecessors, resources) for Project, and the field columns and first rows for InfoPath. For Publisher files it returns a job_id to use with convert_file. Give exactly one of file_url, file_base64 or upload_id.
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": "inspect_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_url | No | Public http(s) URL of the file. Dropbox, Google Drive and OneDrive share links are accepted. | |
| filename | No | Original file name with extension, e.g. "newsletter.pub". Helps identify the type. | |
| upload_id | No | upload_id from create_upload_link, after the user has uploaded the file. | |
| file_base64 | No | The file as base64, up to 20 MB. Use only when you already have the bytes. | |
| preview_pages | No | Watermarked page images to include (Publisher and Visio), 0-4. |