Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
No arguments |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
collect_feedback | 收集用户反馈的交互式工具
AI可以汇报完成的工作内容,用户可以提供文字和/或图片反馈
Args:
work_summary: AI完成的工作内容汇报
timeout_seconds: 对话框超时时间(秒),默认300秒(5分钟)
Returns:
包含用户反馈内容的列表,可能包含文本和图片 |
pick_image | 弹出图片选择对话框,让用户选择图片文件或从剪贴板粘贴图片。 用户可以选择本地图片文件,或者先截图到剪贴板然后粘贴。 |
get_image_info | 获取指定路径图片的信息(尺寸、格式等)
Args:
image_path: 图片文件路径 |