mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-26 19:04:23 +00:00
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:
@@ -70,19 +70,9 @@ const BUILTIN_TOOLS = [
|
||||
description: () => m.agent_tool_read_skill_desc(),
|
||||
},
|
||||
{
|
||||
id: 'analyze_image',
|
||||
name: () => m.agent_tool_analyze_image_name(),
|
||||
description: () => m.agent_tool_analyze_image_desc(),
|
||||
},
|
||||
{
|
||||
id: 'screenshot',
|
||||
name: () => m.agent_tool_screenshot_name(),
|
||||
description: () => m.agent_tool_screenshot_desc(),
|
||||
},
|
||||
{
|
||||
id: 'read_pdf_pages',
|
||||
name: () => m.agent_tool_read_pdf_pages_name(),
|
||||
description: () => m.agent_tool_read_pdf_pages_desc(),
|
||||
id: 'read_asset',
|
||||
name: () => m.agent_tool_read_asset_name(),
|
||||
description: () => m.agent_tool_read_asset_desc(),
|
||||
},
|
||||
{
|
||||
id: 'list_assets',
|
||||
|
||||
Reference in New Issue
Block a user