feat(agent): consolidate media tools into read_asset and add S3 key support to download_asset (#376)

* feat(agent): consolidate media tools into read_asset and add S3 key support to download_asset

* fix(agent): refine parameter descriptions and remove download URL from read_asset text content

* fix(agent): resolve owning asset and enforce RBAC permissions when downloading by S3 key
This commit is contained in:
Yiling-J
2026-09-02 21:51:07 +08:00
committed by GitHub
parent 35b57cc0ab
commit e58dfaa71a
38 changed files with 1732 additions and 1851 deletions
+2 -6
View File
@@ -477,12 +477,8 @@
"agent_tool_bash_desc": "Allows the agent to run terminal/shell commands in a highly isolated environment.",
"agent_tool_read_skill_name": "Read Skills",
"agent_tool_read_skill_desc": "Allows the agent to load and read skill definitions to perform specialized actions.",
"agent_tool_analyze_image_name": "Analyze Image",
"agent_tool_analyze_image_desc": "Allows the agent to view and analyze the visual contents of an image file.",
"agent_tool_screenshot_name": "Video Frame Extraction",
"agent_tool_screenshot_desc": "Allows the agent to extract still image frames from video files for analysis.",
"agent_tool_read_pdf_pages_name": "Read PDF Pages",
"agent_tool_read_pdf_pages_desc": "Allows the agent to convert and view specific pages of a PDF document as images.",
"agent_tool_read_asset_name": "Read Asset",
"agent_tool_read_asset_desc": "Allows the agent to view and inspect images, video frames, and document pages.",
"agent_tool_list_assets_name": "Browse Shumai",
"agent_tool_list_assets_desc": "Allows the agent to list folders and browse files in Shumai.",
"agent_tool_create_folder_name": "Create Folder",
+2 -6
View File
@@ -477,12 +477,8 @@
"agent_tool_bash_desc": "允许智能体在高度隔离的环境中运行终端/命令行命令。",
"agent_tool_read_skill_name": "读取技能",
"agent_tool_read_skill_desc": "允许智能体加载和读取技能定义以执行特定操作。",
"agent_tool_analyze_image_name": "分析图片",
"agent_tool_analyze_image_desc": "允许智能体查看和分析图片文件的视觉内容。",
"agent_tool_screenshot_name": "提取视频帧",
"agent_tool_screenshot_desc": "允许智能体从视频文件中提取静态画面进行分析。",
"agent_tool_read_pdf_pages_name": "读取 PDF 页面",
"agent_tool_read_pdf_pages_desc": "允许智能体将 PDF 文件的指定页面转换为图片并查看。",
"agent_tool_read_asset_name": "读取资源",
"agent_tool_read_asset_desc": "允许智能体查看和分析图片、视频画面和文档页面。",
"agent_tool_list_assets_name": "浏览 Shumai",
"agent_tool_list_assets_desc": "允许智能体列出文件夹并浏览 Shumai 中的文件。",
"agent_tool_create_folder_name": "创建文件夹",