feat: 优化任务状态与图片 MCP 提示
This commit is contained in:
@@ -32,11 +32,11 @@ const HIDDEN_CALLABLE_TOOL_NAMES = new Set([
|
||||
const TOOLS = [
|
||||
{
|
||||
name: 'ccweb_display_image',
|
||||
description: '在当前会话的助手气泡中显示图片。支持 http/https 图片地址、data:image/*;base64 图片或本地图片绝对路径(最大 10 MB)。',
|
||||
description: '当你需要输出、显示图片时,请调用该 MCP。',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
properties: {
|
||||
source: { type: 'string', description: '图片 URL、data:image/*;base64,... 或本地绝对路径。' },
|
||||
source: { type: 'string', description: '要发给用户查看的图片来源:图片 URL、data:image/*;base64,... 或截图/生成图片的本地绝对路径。' },
|
||||
alt: { type: 'string', maxLength: 240, description: '图片替代文本。' },
|
||||
title: { type: 'string', maxLength: 240, description: '图片标题。' },
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user