get_workitem_file
Download files or images from a current project work item, returning images directly and other files as Base64; optionally save them to a local path for later viewing.
Instructions
认证下载当前项目工作项中的文件或图片。图片直接返回图像内容;其他文件返回 Base64。可传 save_to 将文件保存到本地(目录或完整路径),返回的 path 可用 view_image 等工具查看。仅支持描述等富文本中的 fileIdentifier,最大 10 MiB。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ||
| save_to | No | 本地保存路径;目录或完整文件名。省略则直接返回文件内容。 | |
| workitem_id | Yes |