get_file_info
Retrieve detailed file metadata including format, encoding, resolution, duration, bitrate, page count, and sheet count. Optionally compute MD5/SHA256 checksums for verification.
Instructions
探测文件元信息:格式、编码、分辨率、时长、码率、页数、工作表数等。
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": {
"file_path": "<file_path>"
},
"name": "get_file_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | 文件绝对路径 | |
| include_checksum | No | 包含 MD5/SHA256 校验和 |