analyze_file
Analyze PDFs and text files with a vision model. Provide a file URL, local path, or data URI and ask questions to extract insights from the content.
Instructions
使用 GLM-4.6V-Flash 分析文档/文件(PDF、TXT 等,支持 URL、data URI 或本地路径)。
Args: file: 文件地址,支持 http(s) URL、data URI,或本地文件路径。 prompt: 对文件提出的问题或指令。 thinking: 是否开启深度思考模式。 temperature: 采样温度,0~1。 max_tokens: 最大输出 token 数。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| prompt | No | 请解读这个文件的内容。 | |
| thinking | No | ||
| max_tokens | No | ||
| temperature | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |