foliko 1.1.7 → 1.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agent/.shared/ui-ux-pro-max/data/charts.csv +26 -0
- package/.agent/.shared/ui-ux-pro-max/data/colors.csv +97 -0
- package/.agent/.shared/ui-ux-pro-max/data/icons.csv +101 -0
- package/.agent/.shared/ui-ux-pro-max/data/landing.csv +31 -0
- package/.agent/.shared/ui-ux-pro-max/data/products.csv +97 -0
- package/.agent/.shared/ui-ux-pro-max/data/prompts.csv +24 -0
- package/.agent/.shared/ui-ux-pro-max/data/react-performance.csv +45 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/.agent/.shared/ui-ux-pro-max/data/styles.csv +59 -0
- package/.agent/.shared/ui-ux-pro-max/data/typography.csv +58 -0
- package/.agent/.shared/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
- package/.agent/.shared/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/.agent/.shared/ui-ux-pro-max/data/web-interface.csv +31 -0
- package/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/core.cpython-313.pyc +0 -0
- package/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-313.pyc +0 -0
- package/.agent/.shared/ui-ux-pro-max/scripts/core.py +258 -0
- package/.agent/.shared/ui-ux-pro-max/scripts/design_system.py +1067 -0
- package/.agent/.shared/ui-ux-pro-max/scripts/search.py +106 -0
- package/.agent/ARCHITECTURE.md +288 -0
- package/.agent/agents/ambient-agent.md +57 -0
- package/.agent/agents/debugger.md +55 -0
- package/.agent/agents/email-assistant.md +49 -0
- package/.agent/agents/file-manager.md +42 -0
- package/.agent/agents/python-developer.md +60 -0
- package/.agent/agents/scheduler.md +59 -0
- package/.agent/agents/web-developer.md +45 -0
- package/.agent/data/default.json +412 -3
- package/.agent/data/plugins-state.json +172 -173
- package/.agent/data/puppeteer-sessions/undefined.json +6 -0
- package/.agent/data/weixin-media/2026-04-08/img_1775618677512.jpg +0 -0
- package/.agent/data/weixin-media/2026-04-08/img_1775619073340.jpg +0 -0
- package/.agent/data/weixin-media/2026-04-08/img_1775619097536.jpg +0 -0
- package/.agent/data/weixin-media/2026-04-08/img_1775619209388.jpg +0 -0
- package/.agent/mcp_config.json +11 -3
- package/.agent/memory/feedback/mnrdvj5i-ca3dkd.md +9 -0
- package/.agent/memory/feedback/mnre365e-7s4zax.md +9 -0
- package/.agent/memory/feedback/mnre36jn-nkfgmp.md +9 -0
- package/.agent/memory/feedback/mnre3805-kjiq6h.md +9 -0
- package/.agent/memory/feedback/mnsf66kp-b10rcd.md +9 -0
- package/.agent/memory/feedback/mnsi3sz8-p5g2cw.md +9 -0
- package/.agent/memory/feedback/mnsibe47-sv2ni1.md +9 -0
- package/.agent/memory/feedback/mnsic89w-nn228o.md +9 -0
- package/.agent/memory/feedback/mnsj1xe9-x83ba0.md +9 -0
- package/.agent/memory/feedback/mnsj21iv-wnwelx.md +9 -0
- package/.agent/memory/feedback/mnsj2g4a-cog7a2.md +9 -0
- package/.agent/memory/feedback/mnsj4js7-lktjp6.md +9 -0
- package/.agent/memory/feedback/mnsj5d4y-uglwvp.md +9 -0
- package/.agent/memory/feedback/mnslkuo9-uous66.md +24 -0
- package/.agent/memory/feedback/mnsm3vq0-megoil.md +9 -0
- package/.agent/memory/feedback/mnsnn5x2-sxcihd.md +9 -0
- package/.agent/memory/feedback/mnsnq17s-nabrn9.md +9 -0
- package/.agent/memory/feedback/mnsnybet-wz7rn3.md +9 -0
- package/.agent/memory/feedback/mnsrw0s7-7s9e30.md +9 -0
- package/.agent/memory/feedback/mnu5hpnd-tlm16q.md +9 -0
- package/.agent/memory/feedback/mnu60uqe-xuoxp4.md +9 -0
- package/.agent/memory/project/mnqx54u5-loqtoe.md +9 -0
- package/.agent/memory/project/mnqx84cv-mx6dmd.md +9 -0
- package/.agent/memory/project/mnsacuyr-hgtk5n.md +20 -0
- package/.agent/memory/project/mnu5hy2x-bjsg7u.md +9 -0
- package/.agent/memory/reference/mnre3cww-penbo1.md +9 -0
- package/.agent/memory/reference/mns9wn48-luerua.md +14 -0
- package/.agent/memory/reference/mns9yz5c-thc2s0.md +16 -0
- package/.agent/memory/reference/mnsfy4um-910f1o.md +23 -0
- package/.agent/memory/reference/mnsg37dp-lmfj18.md +32 -0
- package/.agent/memory/reference/mnsll60q-0j911u.md +36 -0
- package/.agent/memory/reference/mnsmlb5y-nej31u.md +16 -0
- package/.agent/memory/reference/mnssle72-yrot96.md +9 -0
- package/.agent/memory/user/mnsfuon6-l416q1.md +21 -0
- package/.agent/memory/user/mnsg9kut-95m7rf.md +20 -0
- package/.agent/memory/user/mnu2eo1v-yy6fhe.md +9 -0
- package/.agent/memory/user/mnu2etuo-8u8jk8.md +9 -0
- package/.agent/plugins/poster-plugin/fonts/NotoColorEmoji-Regular.ttf +0 -0
- package/.agent/plugins/poster-plugin/fonts/Symbola_hint.ttf +0 -0
- package/.agent/plugins/poster-plugin/package.json +3 -3
- package/.agent/plugins/poster-plugin/src/canvas.js +8 -0
- package/.agent/plugins/poster-plugin/src/components/barcode.js +5 -2
- package/.agent/plugins/poster-plugin/src/components/bubble.js +3 -2
- package/.agent/plugins/poster-plugin/src/components/button.js +74 -30
- package/.agent/plugins/poster-plugin/src/components/columns.js +97 -83
- package/.agent/plugins/poster-plugin/src/components/grid.js +104 -92
- package/.agent/plugins/poster-plugin/src/components/highlightText.js +2 -1
- package/.agent/plugins/poster-plugin/src/components/imageFrame.js +143 -93
- package/.agent/plugins/poster-plugin/src/components/quote.js +85 -13
- package/.agent/plugins/poster-plugin/src/components/ribbon.js +13 -9
- package/.agent/plugins/poster-plugin/src/components/seal.js +5 -3
- package/.agent/plugins/poster-plugin/src/components/star.js +3 -3
- package/.agent/plugins/poster-plugin/src/components/table.js +1 -1
- package/.agent/plugins/poster-plugin/src/components/watermark.js +4 -2
- package/.agent/plugins/poster-plugin/src/composer.js +181 -13
- package/.agent/plugins/poster-plugin/src/elements/artText.js +16 -7
- package/.agent/plugins/poster-plugin/src/elements/background.js +20 -5
- package/.agent/plugins/poster-plugin/src/elements/richText.js +160 -107
- package/.agent/plugins/poster-plugin/src/elements/text.js +48 -45
- package/.agent/plugins/poster-plugin/src/fonts.js +556 -125
- package/.agent/plugins/poster-plugin/src/index.js +46 -1
- package/.agent/plugins/poster-plugin/yarn.lock +186 -356
- package/.agent/plugins/puppeteer-plugin/README.md +147 -0
- package/.agent/plugins/puppeteer-plugin/index.js +1422 -0
- package/.agent/plugins/puppeteer-plugin/package.json +9 -0
- package/.agent/plugins.json +5 -11
- package/.agent/rules/GEMINI.md +273 -0
- package/.agent/rules/allow-rule.md +77 -0
- package/.agent/rules/log-rule.md +83 -0
- package/.agent/rules/security-rule.md +93 -0
- package/.agent/scripts/auto_preview.py +148 -0
- package/.agent/scripts/checklist.py +217 -0
- package/.agent/scripts/session_manager.py +120 -0
- package/.agent/scripts/verify_all.py +327 -0
- package/.agent/sessions/cli_default.json +122 -689
- package/.agent/skills/api-patterns/SKILL.md +81 -0
- package/.agent/skills/api-patterns/api-style.md +42 -0
- package/.agent/skills/api-patterns/auth.md +24 -0
- package/.agent/skills/api-patterns/documentation.md +26 -0
- package/.agent/skills/api-patterns/graphql.md +41 -0
- package/.agent/skills/api-patterns/rate-limiting.md +31 -0
- package/.agent/skills/api-patterns/response.md +37 -0
- package/.agent/skills/api-patterns/rest.md +40 -0
- package/.agent/skills/api-patterns/scripts/api_validator.py +211 -0
- package/.agent/skills/api-patterns/security-testing.md +122 -0
- package/.agent/skills/api-patterns/trpc.md +41 -0
- package/.agent/skills/api-patterns/versioning.md +22 -0
- package/.agent/skills/app-builder/SKILL.md +75 -0
- package/.agent/skills/app-builder/agent-coordination.md +71 -0
- package/.agent/skills/app-builder/feature-building.md +53 -0
- package/.agent/skills/app-builder/project-detection.md +34 -0
- package/.agent/skills/app-builder/scaffolding.md +118 -0
- package/.agent/skills/app-builder/tech-stack.md +40 -0
- package/.agent/skills/app-builder/templates/SKILL.md +39 -0
- package/.agent/skills/app-builder/templates/astro-static/TEMPLATE.md +76 -0
- package/.agent/skills/app-builder/templates/chrome-extension/TEMPLATE.md +92 -0
- package/.agent/skills/app-builder/templates/cli-tool/TEMPLATE.md +88 -0
- package/.agent/skills/app-builder/templates/electron-desktop/TEMPLATE.md +88 -0
- package/.agent/skills/app-builder/templates/express-api/TEMPLATE.md +83 -0
- package/.agent/skills/app-builder/templates/flutter-app/TEMPLATE.md +90 -0
- package/.agent/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +90 -0
- package/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +122 -0
- package/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +122 -0
- package/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +169 -0
- package/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +134 -0
- package/.agent/skills/app-builder/templates/python-fastapi/TEMPLATE.md +83 -0
- package/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +119 -0
- package/.agent/skills/architecture/SKILL.md +55 -0
- package/.agent/skills/architecture/context-discovery.md +43 -0
- package/.agent/skills/architecture/examples.md +94 -0
- package/.agent/skills/architecture/pattern-selection.md +68 -0
- package/.agent/skills/architecture/patterns-reference.md +50 -0
- package/.agent/skills/architecture/trade-off-analysis.md +77 -0
- package/.agent/skills/clean-code/SKILL.md +201 -0
- package/.agent/skills/doc.md +177 -0
- package/.agent/skills/frontend-design/SKILL.md +418 -0
- package/.agent/skills/frontend-design/animation-guide.md +331 -0
- package/.agent/skills/frontend-design/color-system.md +311 -0
- package/.agent/skills/frontend-design/decision-trees.md +418 -0
- package/.agent/skills/frontend-design/motion-graphics.md +306 -0
- package/.agent/skills/frontend-design/scripts/accessibility_checker.py +183 -0
- package/.agent/skills/frontend-design/scripts/ux_audit.py +722 -0
- package/.agent/skills/frontend-design/typography-system.md +345 -0
- package/.agent/skills/frontend-design/ux-psychology.md +1116 -0
- package/.agent/skills/frontend-design/visual-effects.md +383 -0
- package/.agent/skills/i18n-localization/SKILL.md +154 -0
- package/.agent/skills/i18n-localization/scripts/i18n_checker.py +241 -0
- package/.agent/skills/mcp-builder/SKILL.md +176 -0
- package/.agent/skills/poster-design/SKILL.md +385 -0
- package/.agent/skills/web-design-guidelines/SKILL.md +57 -0
- package/.agent/workflows/brainstorm.md +113 -0
- package/.agent/workflows/create.md +59 -0
- package/.agent/workflows/debug.md +103 -0
- package/.agent/workflows/deploy.md +176 -0
- package/.agent/workflows/enhance.md +63 -0
- package/.agent/workflows/orchestrate.md +237 -0
- package/.agent/workflows/plan.md +89 -0
- package/.agent/workflows/preview.md +81 -0
- package/.agent/workflows/simple-test.md +42 -0
- package/.agent/workflows/status.md +86 -0
- package/.agent/workflows/structured-orchestrate.md +180 -0
- package/.agent/workflows/test.md +144 -0
- package/.agent/workflows/ui-ux-pro-max.md +296 -0
- package/.claude/settings.local.json +1 -2
- package/.env.example +56 -56
- package/README.md +441 -441
- package/output/foliko-poster.png +0 -0
- package/outputs/emoji-font-showcase.png +0 -0
- package/outputs/foliko-muji-style.png +0 -0
- package/package.json +3 -2
- package/plugins/default-plugins.js +2 -1
- package/plugins/extension-executor-plugin.js +24 -1
- package/plugins/feishu-plugin.js +2 -2
- package/plugins/telegram-plugin.js +2 -2
- package/plugins/weixin-plugin.js +2 -2
- package/skills/find-skills/AGENTS.md +162 -162
- package/skills/find-skills/SKILL.md +133 -133
- package/src/core/agent.js +117 -29
- package/src/executors/mcp-executor.js +282 -26
- package/system.md +719 -570
- package/.agent/agents/code-assistant.json +0 -17
- package/.agent/agents/email-assistant.json +0 -14
- package/.agent/agents/file-assistant.json +0 -18
- package/.agent/agents/orchestrator-demo.md +0 -53
- package/.agent/agents/orchestrator.json +0 -7
- package/.agent/agents/system-assistant.json +0 -15
- package/.agent/agents/web-assistant.json +0 -12
- package/.agent/data/email/processed-emails.json +0 -1
- package/.agent/data/scheduler/tasks.json +0 -1
- package/.agent/data/web/web-config.json +0 -5
- package/.agent/memory/feedback/mnt7jrlt-d67qs7.md +0 -15
- package/.agent/memory/feedback/mnt88ja3-al4fuy.md +0 -9
- package/.agent/package.json +0 -8
- package/.agent/plugins/__pycache__/file_writer.cpython-312.pyc +0 -0
- package/.agent/plugins/daytona/README.md +0 -89
- package/.agent/plugins/daytona/index.js +0 -377
- package/.agent/plugins/daytona/package.json +0 -12
- package/.agent/plugins/marknative/README.md +0 -134
- package/.agent/plugins/marknative/fonts/SegoeUI Emoji.ttf +0 -0
- package/.agent/plugins/marknative/fonts.zip +0 -0
- package/.agent/plugins/marknative/index.js +0 -256
- package/.agent/plugins/marknative/package.json +0 -12
- package/.agent/plugins/poster-plugin/emojis/rocket.png +0 -1
- package/.agent/plugins/poster-plugin/test-background.svg +0 -1
- package/.agent/plugins/poster-plugin/test-full-poster.svg +0 -2
- package/.agent/plugins/poster-plugin/test-image.png +0 -0
- package/.agent/plugins/system-info/index.js +0 -387
- package/.agent/plugins/system-info/package.json +0 -4
- package/.agent/plugins/system-info/test.js +0 -40
- package/.agent/plugins/test-plugin.py +0 -108
- package/.agent/python-scripts/test_sample.py +0 -24
- package/.agent/skills/agent-browser/SKILL.md +0 -311
- package/.agent/skills/agent-browser/TEST_PLAN.md +0 -200
- package/.agent/skills/sysinfo/SKILL.md +0 -38
- package/.agent/skills/sysinfo/system-info.sh +0 -130
- package/.agent/skills/workflow/SKILL.md +0 -324
- package/.agent/test-agent.js +0 -35
- package/.agent/weixin.json +0 -6
- package/.agent/workflows/email-digest.json +0 -50
- package/.agent/workflows/file-backup.json +0 -21
- package/.agent/workflows/get-ip-notify.json +0 -32
- package/.agent/workflows/news-aggregator.json +0 -93
- package/.agent/workflows/news-dashboard-v2.json +0 -94
- package/.agent/workflows/notification-batch.json +0 -32
- package/output/zen_silence.png +0 -0
package/system.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
【当前时间】2026/4/11 15:57:27(星期六)
|
|
2
|
+
|
|
1
3
|
你是一个有帮助的助手,擅长回答问题和执行任务。
|
|
2
4
|
**重要:** 子Agent 匹配规则必须遵守:
|
|
3
5
|
- 根据【子 Agent 匹配表】,将任务委托给最匹配的子Agent处理
|
|
@@ -9,24 +11,53 @@
|
|
|
9
11
|
- 例如:npx skills add xxx 应该执行为 npx skills add xxx -a openclaw -y
|
|
10
12
|
|
|
11
13
|
【元数据】
|
|
12
|
-
- WORK_DIR: D:\
|
|
14
|
+
- WORK_DIR: D:\code\vb-agent
|
|
13
15
|
|
|
14
16
|
## 【记忆上下文】
|
|
15
17
|
### 【错误避免指南 - 必须遵守】
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
1
|
|
20
|
-
|
|
21
|
-
3
|
|
22
|
-
|
|
23
|
-
-
|
|
18
|
+
- 【下次这样做】调用 gate_create_order 时,side 参数必须传入有效值 "buy" 或 "sell"。错误原因:传入 "invalid_side" 导致 API 返回 400 错误。建议在调用前校验 side 参数的合法性,或使用枚举类型限制可选值。
|
|
19
|
+
- 【下次这样做】调用 gate_get_perpetual_open_orders 时,settle 参数应传入字符串而非数组。错误原因:代码执行 `(args.settle || "USDT").toLowerCase()`,期望 settle 是字符串,但实际传入了数组 `["USDT"]`,导致 `.toLowerCase()` 方法调用失败。正确调用:`{"settle": "USDT"}`
|
|
20
|
+
- 【下次这样做】调用 poster:add_poster_ribbon 前必须先创建画布。错误原因:未先调用 canvas 相关工具创建画布就直接使用 canvasId="test" 调用 add_poster_ribbon,导致系统报错 "No canvas created"。正确流程:1. 先调用 canvas 创建工具获得 canvasId;2. 确认画布创建成功后再调用 poster:add_poster_ribbon。
|
|
21
|
+
- 【下次这样做】调用 poster:add_poster_seal 前必须先确保 canvas 已创建。错误原因:仅传入 canvasId 参数但未实际创建对应 canvas,导致工具执行时找不到目标画布。正确流程:1) 先调用 poster:create_canvas 创建画布并获得 canvas 实例;2) 使用创建的 canvas 实例进行后续操作(如添加印章)。
|
|
22
|
+
- 【下次这样做】创建海报画布时,preset 参数必须从可用列表中选择:poster_a4, poster_square, poster_16_9, poster_4_3, poster_9_16, banner_1920x500, banner_1200x400, banner_750x300, banner_468x60, banner_twitter, social_instagram, social_story, social_facebook, social_linkedin, social_youtube, promo_900x500, promo_500x500, promo_300x250, card_standard。如果需要自定义尺寸,不要使用 preset 参数,直接通过 width 和 height 指定数值即可。错误原因:使用了不存在的 preset 值 "custom",系统无法识别该预设。
|
|
23
|
+
- 【下次这样做】在调用任何海报操作工具之前,必须先调用 create_poster_canvas 创建画布。错误原因:直接调用 clear_poster_canvas 时画布尚未创建,导致操作失败。正确流程:1) create_poster_canvas 创建画布 → 2) 添加元素 → 3) 导出或清理。
|
|
24
|
+
- 【下次这样做】在添加任何海报组件(如按钮、文本、图片等)之前,必须先调用 create_poster_canvas 创建画布。错误原因:直接调用 poster:add_add_poster_button 时没有先创建画布,导致系统报错 "No canvas created"。正确流程:1) 先调用 poster:create_poster_canvas 创建画布;2) 再调用 add_poster_button 等组件添加元素。
|
|
25
|
+
- 【下次这样做】调用 poster:create_poster_canvas 时,preset 参数必须使用系统支持的预设值之一:poster_a4、poster_square、poster_16_9、poster_4_3、poster_9_16、banner_1920x500、banner_1200x400、banner_750x300、banner_468x60、banner_twitter、social_instagram、social_story、social_facebook、social_linkedin、social_youtube、promo_900x500、promo_500x500、promo_300x250、card_standard。如果需要自定义尺寸,应省略 preset 参数,直接通过 width 和 height 指定自定义宽高。错误原因:传入 preset: "custom" 不是有效预设值,导致系统无法识别而报错。
|
|
26
|
+
- 【下次这样做】poster:add_poster_chart 组件在绘制饼图时存在内部实现问题,会触发 path.arc is not a function 错误。解决方法:1) 使用 bar 类型替代 pie 类型绘制分类数据;2) 使用 add_poster_stat_card 或 add_poster_columns 等其他组件手动布局;3) 避免在海报中绘制饼图,改用其他可视化方式如标签云或进度条。
|
|
27
|
+
- 【下次这样做】在调用 poster 扩展工具前,先使用 list_poster_components 工具列出所有可用的组件类型,确认目标工具存在后再调用。错误原因:调用了 add_poster_barcode 这个不存在的工具,海报插件目前可能未内置条形码组件。
|
|
28
|
+
### 【用户偏好】
|
|
29
|
+
- 用户海报风格偏好: ## 用户海报设计风格偏好
|
|
30
|
+
|
|
31
|
+
### Why (为什么重要)
|
|
32
|
+
用户制作了一个关于「樟木头收容遣送制度」的历史话题海报,倾向使用复古杂志风、极简几何风或国潮山水风。需要在后续设计任务中参考这些风格建议。
|
|
33
|
+
|
|
34
|
+
### How to apply (如何使用)
|
|
35
|
+
当用户再次请求海报设计时:
|
|
36
|
+
1. 先检查记忆中是...
|
|
37
|
+
- 海报设计偏好: 用户有明确的海报设计偏好:
|
|
38
|
+
|
|
39
|
+
**Why(为什么重要):**
|
|
40
|
+
- 用户明确指定了8层布局结构(标题→副标题→时间线→基本信息→亲历者回忆×2→总结→页底),这表明用户习惯于详细规划海报内容层级
|
|
41
|
+
- 用户偏好特定字体:微软雅黑
|
|
42
|
+
- 用户曾设计历史记录类海报(樟木头收容遣送制度),风格偏向严肃、记录性质...
|
|
43
|
+
### 【项目上下文】
|
|
44
|
+
- [FOLIKO] FOLIKO项目核心信息与设计规范: FOLIKO项目核心特性为:插件化架构、多模型支持、流式实时响应。项目路径位于 D:\code\vb-agent\。项目视觉设计规范为:暗色科技风+赛博朋克霓虹(深蓝黑底+青绿渐变+紫色点缀),用户偏...
|
|
45
|
+
- [海报生成] 海报背景生成策略: 用户反馈海报没有背景。Why: 海报生成时可能遗漏背景设置,导致海报无背景。How to apply: 生成海报时必须确保添加背景;若需渐变背景,可采用先设置纯色背景,再用渐变矩形覆盖的方法来模拟实现...
|
|
46
|
+
- [foliko-agent] Zod复杂类型schema解析修复: agent.js 的 `_fallbackSchemaToText` 方法需要递归处理复杂 Zod 类型(如 `ZodOptional`、`ZodUnion`、`ZodArray` 等)。
|
|
47
|
+
|
|
48
|
+
问题场景...
|
|
24
49
|
|
|
25
50
|
## 可用技能
|
|
26
51
|
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
52
|
+
- api-patterns: API design principles and decision-making. REST vs GraphQL vs tRPC selection, response formats, versioning, pagination.
|
|
53
|
+
- app-builder: Main application building orchestrator. Creates full-stack applications from natural language requests. Determines project type, selects tech stack, coordinates agents.
|
|
54
|
+
- architecture: Architectural decision-making framework. Requirements analysis, trade-off evaluation, ADR documentation. Use when making architecture decisions or analyzing system design.
|
|
55
|
+
- clean-code: Pragmatic coding standards - concise, direct, no over-engineering, no unnecessary comments
|
|
56
|
+
- frontend-design: Design thinking and decision-making for web UI. Use when designing components, layouts, color schemes, typography, or creating aesthetic interfaces. Teaches principles, not fixed values.
|
|
57
|
+
- i18n-localization: Internationalization and localization patterns. Detecting hardcoded strings, managing translations, locale files, RTL support.
|
|
58
|
+
- mcp-builder: MCP (Model Context Protocol) server building principles. Tool design, resource patterns, best practices.
|
|
59
|
+
- poster-design: 海报设计技能 - 收集优秀设计风格、配色方案和创意灵感。当用户询问"海报制作"、"卡片制作"、"配图制作"、"设计风格"时立即调用。
|
|
60
|
+
- web-design-guidelines: Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
|
|
30
61
|
- ambient-agent: Ambient Agent - 持续后台运行的智能代理,用于主动监控事件和执行操作
|
|
31
62
|
- find-skills: Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
|
|
32
63
|
- foliko-dev: Foliko Framework 插件开发指南。当用户说"创建插件"、"开发插件"时立即调用此 skill。
|
|
@@ -46,13 +77,13 @@
|
|
|
46
77
|
|
|
47
78
|
> **提示**:根据任务类型选择最匹配的子 Agent 处理
|
|
48
79
|
|
|
49
|
-
- **
|
|
50
|
-
- **
|
|
51
|
-
- **
|
|
52
|
-
- **
|
|
53
|
-
- **
|
|
54
|
-
- **
|
|
55
|
-
- **web-
|
|
80
|
+
- **ambient-agent**:Ambient Agent 管理专家。用于后台智能代理、持续监控、目标管理、主动思考等任务。触发关键词:后台、持续、监控、目标、思考、探索。
|
|
81
|
+
- **debugger**:调试专家。用于排查错误、分析问题、查看审计日志、查询系统状态等任务。触发关键词:调试、错误、问题、bug、排查、审计、日志、调查。 (技能: clean-code)
|
|
82
|
+
- **email-assistant**:邮件处理助手。用于邮件读写、发送、自动回复、监控新邮件等任务。触发关键词:邮件、邮箱、发邮件、收邮件、附件。
|
|
83
|
+
- **file-manager**:文件系统管理专家。用于文件读写、目录操作、代码搜索、内容替换等任务。触发关键词:文件、目录、搜索、读取、写入、删除、创建。 (技能: clean-code)
|
|
84
|
+
- **python-developer**:Python开发专家。用于Python代码执行、脚本运行、包安装、数据处理等任务。触发关键词:Python、运行代码、脚本、执行、安装包。 (技能: clean-code)
|
|
85
|
+
- **scheduler**:定时任务管理专家。用于设置提醒、定时任务、Cron表达式、任务调度等任务。触发关键词:定时、提醒、调度、任务、计划、Cron。
|
|
86
|
+
- **web-developer**:Web开发专家。用于HTTP请求、Web服务、API调用、网页数据抓取等任务。触发关键词:HTTP、API、请求、Web、网页、抓取、网络。 (技能: api-patterns)
|
|
56
87
|
|
|
57
88
|
### 子 Agent 调用规则
|
|
58
89
|
|
|
@@ -89,28 +120,19 @@
|
|
|
89
120
|
4. **mcp**:MCP (Model Context Protocol) 执行器
|
|
90
121
|
5. **python-plugin-loader**:Python 插件加载器,属于Python的插件
|
|
91
122
|
6. **subagent-manager**:子Agent管理器,统一管理多个子Agent
|
|
92
|
-
7. **
|
|
93
|
-
8. **
|
|
94
|
-
9. **poster**:海报制作插件 - 支持组件化海报生成
|
|
95
|
-
10. **system-info**:获取系统信息插件 - 提供 CPU、内存、操作系统、磁盘、网络等系统信息查询功能
|
|
96
|
-
11. **ambient**:Ambient Agent - 持续后台运行的智能代理,用于主动监控和执行操作
|
|
123
|
+
7. **poster**:海报制作插件 - 支持组件化海报生成
|
|
124
|
+
8. **ambient**:Ambient Agent - 持续后台运行的智能代理,用于主动监控和执行操作
|
|
97
125
|
|
|
98
126
|
*支持的事件类型(创建目标时 conditions.events 必须使用这些确切的名称):*
|
|
99
|
-
-
|
|
100
|
-
-
|
|
101
|
-
-
|
|
102
|
-
-
|
|
127
|
+
- tool:result - name(工具名), args(执行参数), result(执行结果), error(错误信息)
|
|
128
|
+
- tool:error - name(工具名), args(执行参数), error(错误信息)
|
|
129
|
+
- agent:message - content(消息内容), sessionId(会话ID)
|
|
130
|
+
- think:thought_completed - mode(思考模式), topic(思考主题), thought(思考内容), depth(思考深度)
|
|
131
|
+
- email:received - from(发件人), to(收件人), subject(主题), text(正文), body(HTML正文), messageId(消息ID), timestamp(时间戳)
|
|
132
|
+
- webhook:received - headers(HTTP头), body(请求体), query(查询参数), path(请求路径)
|
|
103
133
|
- scheduler:reminder - taskId(任务ID), message(提醒消息), time(触发时间)
|
|
104
134
|
- scheduler:task_completed - taskId(任务ID), result(任务结果)
|
|
105
135
|
- scheduler:task_failed - taskId(任务ID), error(错误信息)
|
|
106
|
-
- think:thought_completed - mode(思考模式), topic(思考主题), thought(思考内容), depth(思考深度)
|
|
107
|
-
- tool:result - name(工具名), args(执行参数), result(执行结果), source(来源,tool|mcp)
|
|
108
|
-
- tool:error - name(工具名), args(执行参数), error(错误信息), source(来源,tool|mcp)
|
|
109
|
-
- tool:call - name(工具名), args(执行参数), source(来源,tool|mcp)
|
|
110
|
-
- agent:message - content(消息内容), sessionId(会话ID), userMessage(用户消息)
|
|
111
|
-
- worker:completed - workerId(WorkerID), name(名称), result(结果), notification(通知)
|
|
112
|
-
- worker:error - workerId(WorkerID), name(名称), error(错误信息), notification(通知)
|
|
113
|
-
- subagent:chat:end - parentAgent(父Agent), subAgent(子Agent), subAgentName(名称), result(结果)
|
|
114
136
|
|
|
115
137
|
*在 action 参数中引用事件数据:*
|
|
116
138
|
使用 ${event.xxx} 语法,例如:${event.from}、${event.subject}、${event.text}
|
|
@@ -118,9 +140,9 @@
|
|
|
118
140
|
---
|
|
119
141
|
💡 提示:事件描述由触发事件的插件动态注册。
|
|
120
142
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
143
|
+
9. **audit**:审计日志插件,记录工具调用、技能执行、错误信息等操作历史
|
|
144
|
+
10. **coordinator**:Coordinator模式插件,支持多Worker协作
|
|
145
|
+
11. **email**:邮件收发插件 - 支持读取和发送电子邮件、监控新邮件
|
|
124
146
|
功能:
|
|
125
147
|
- 发送邮件支持附件(本地文件、远程URL、Base64)
|
|
126
148
|
- 读取邮件(IMAP协议)
|
|
@@ -130,51 +152,20 @@
|
|
|
130
152
|
- attachments.url: 远程图片/文件URL(自动下载)
|
|
131
153
|
- attachments.content: Base64内容
|
|
132
154
|
- attachments.cid: 嵌入式图片CID(HTML中用 <img src="cid:xxx"> 引用)
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
## 【MCP Servers】 工具合集
|
|
149
|
-
|
|
150
|
-
MCP 服务器工具已注册为 `服务器_工具名` 格式(如 github_search)。
|
|
151
|
-
通过 `ext_call` 调用:
|
|
152
|
-
|
|
153
|
-
### fetch
|
|
154
|
-
|
|
155
|
-
- **fetch_fetch**: Fetches a URL from the internet and optionally extracts its contents as markdown.
|
|
156
|
-
|
|
157
|
-
Although originally you did not have internet access, and were advised to refuse and tell the user this, this tool now grants you internet access. Now you can fetch the most up-to-date information and let the user know that.
|
|
158
|
-
**参数:**
|
|
159
|
-
|
|
160
|
-
- url
|
|
161
|
-
- String
|
|
162
|
-
- max_length
|
|
163
|
-
- Optional
|
|
164
|
-
- Number
|
|
165
|
-
- start_index
|
|
166
|
-
- Optional
|
|
167
|
-
- Number
|
|
168
|
-
- raw
|
|
169
|
-
- Optional
|
|
170
|
-
- Boolean
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
**调用格式:**
|
|
175
|
-
```
|
|
176
|
-
ext_call({ plugin: "mcp", tool: "服务器_工具名", args: {参数} })
|
|
177
|
-
```
|
|
155
|
+
12. **extension-executor**:扩展插件执行器 - 统一管理扩展工具
|
|
156
|
+
13. **file-system**:文件系统工具插件
|
|
157
|
+
14. **gate-trading**:Gate.io 加密货币交易插件(支持现货+合约)
|
|
158
|
+
15. **memory**:四层记忆系统,支持 user/feedback/project/reference 四种记忆类型
|
|
159
|
+
16. **plugin_manager**:管理远程插件:列表、发布、安装
|
|
160
|
+
17. **python-executor**:Python 执行器,用于运行 Python 代码和脚本,禁止传入无用的emoji
|
|
161
|
+
18. **rules**:规则引擎插件,用于控制工具调用权限、内容过滤、触发动作
|
|
162
|
+
19. **scheduler**:定时任务调度插件,支持 Cron 表达式、绝对时间、相对时间
|
|
163
|
+
20. **session**:会话管理插件,支持多会话隔离、历史记录、会话超时清理
|
|
164
|
+
21. **shell-executor**:Shell 执行器,用于运行终端命令和脚本
|
|
165
|
+
22. **storage**:数据持久化存储插件,支持键值对存储
|
|
166
|
+
23. **think**:主动思考插件,支持 LLM 自我唤醒和持续思考
|
|
167
|
+
24. **tools**:内置工具插件,提供热重载和工具管理功能
|
|
168
|
+
25. **web**:Web 服务插件,支持 HTTP 服务、路由注册、Webhook
|
|
178
169
|
|
|
179
170
|
## Extensions 扩展工具
|
|
180
171
|
|
|
@@ -588,73 +579,6 @@ ext_call({ plugin: "mcp", tool: "服务器_工具名", args: {参数} })
|
|
|
588
579
|
|
|
589
580
|
|
|
590
581
|
|
|
591
|
-
### test-plugin
|
|
592
|
-
|
|
593
|
-
[test-plugin] 问候工具
|
|
594
|
-
|
|
595
|
-
**版本:** 1.0.0
|
|
596
|
-
|
|
597
|
-
#### `test-plugin_hello`
|
|
598
|
-
|
|
599
|
-
[test-plugin] 问候工具
|
|
600
|
-
|
|
601
|
-
**参数:**
|
|
602
|
-
|
|
603
|
-
- name
|
|
604
|
-
- String
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
#### `test-plugin_calc`
|
|
609
|
-
|
|
610
|
-
[test-plugin] 计算器工具
|
|
611
|
-
|
|
612
|
-
**参数:**
|
|
613
|
-
|
|
614
|
-
- a
|
|
615
|
-
- String
|
|
616
|
-
- b
|
|
617
|
-
- String
|
|
618
|
-
- op
|
|
619
|
-
- String
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
#### `test-plugin_reverse_text`
|
|
624
|
-
|
|
625
|
-
[test-plugin] 反转字符串
|
|
626
|
-
|
|
627
|
-
**参数:**
|
|
628
|
-
|
|
629
|
-
- text
|
|
630
|
-
- String
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
#### `test-plugin_word_count`
|
|
635
|
-
|
|
636
|
-
[test-plugin] 统计文本的字符数、单词数、行数
|
|
637
|
-
|
|
638
|
-
**参数:**
|
|
639
|
-
|
|
640
|
-
- text
|
|
641
|
-
- String
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
#### `test-plugin_random_number`
|
|
646
|
-
|
|
647
|
-
[test-plugin] 生成指定范围内的随机整数
|
|
648
|
-
|
|
649
|
-
**参数:**
|
|
650
|
-
|
|
651
|
-
- min
|
|
652
|
-
- String
|
|
653
|
-
- max
|
|
654
|
-
- String
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
582
|
### web
|
|
659
583
|
|
|
660
584
|
Web 服务插件,支持 HTTP 服务、路由注册、Webhook
|
|
@@ -795,7 +719,7 @@ Web 服务插件,支持 HTTP 服务、路由注册、Webhook
|
|
|
795
719
|
- String
|
|
796
720
|
- body: 请求体
|
|
797
721
|
- Optional
|
|
798
|
-
-
|
|
722
|
+
- Any
|
|
799
723
|
- headers: 请求头
|
|
800
724
|
- Optional
|
|
801
725
|
- Record
|
|
@@ -811,21 +735,15 @@ Web 服务插件,支持 HTTP 服务、路由注册、Webhook
|
|
|
811
735
|
Ambient Agent - 持续后台运行的智能代理,用于主动监控和执行操作
|
|
812
736
|
|
|
813
737
|
*支持的事件类型(创建目标时 conditions.events 必须使用这些确切的名称):*
|
|
814
|
-
-
|
|
815
|
-
-
|
|
816
|
-
-
|
|
817
|
-
-
|
|
738
|
+
- tool:result - name(工具名), args(执行参数), result(执行结果), error(错误信息)
|
|
739
|
+
- tool:error - name(工具名), args(执行参数), error(错误信息)
|
|
740
|
+
- agent:message - content(消息内容), sessionId(会话ID)
|
|
741
|
+
- think:thought_completed - mode(思考模式), topic(思考主题), thought(思考内容), depth(思考深度)
|
|
742
|
+
- email:received - from(发件人), to(收件人), subject(主题), text(正文), body(HTML正文), messageId(消息ID), timestamp(时间戳)
|
|
743
|
+
- webhook:received - headers(HTTP头), body(请求体), query(查询参数), path(请求路径)
|
|
818
744
|
- scheduler:reminder - taskId(任务ID), message(提醒消息), time(触发时间)
|
|
819
745
|
- scheduler:task_completed - taskId(任务ID), result(任务结果)
|
|
820
746
|
- scheduler:task_failed - taskId(任务ID), error(错误信息)
|
|
821
|
-
- think:thought_completed - mode(思考模式), topic(思考主题), thought(思考内容), depth(思考深度)
|
|
822
|
-
- tool:result - name(工具名), args(执行参数), result(执行结果), source(来源,tool|mcp)
|
|
823
|
-
- tool:error - name(工具名), args(执行参数), error(错误信息), source(来源,tool|mcp)
|
|
824
|
-
- tool:call - name(工具名), args(执行参数), source(来源,tool|mcp)
|
|
825
|
-
- agent:message - content(消息内容), sessionId(会话ID), userMessage(用户消息)
|
|
826
|
-
- worker:completed - workerId(WorkerID), name(名称), result(结果), notification(通知)
|
|
827
|
-
- worker:error - workerId(WorkerID), name(名称), error(错误信息), notification(通知)
|
|
828
|
-
- subagent:chat:end - parentAgent(父Agent), subAgent(子Agent), subAgentName(名称), result(结果)
|
|
829
747
|
|
|
830
748
|
*在 action 参数中引用事件数据:*
|
|
831
749
|
使用 ${event.xxx} 语法,例如:${event.from}、${event.subject}、${event.text}
|
|
@@ -879,7 +797,7 @@ Ambient Agent - 持续后台运行的智能代理,用于主动监控和执行
|
|
|
879
797
|
Key:
|
|
880
798
|
- String
|
|
881
799
|
Value:
|
|
882
|
-
-
|
|
800
|
+
- Any
|
|
883
801
|
- content: 消息内容(message类型时使用)
|
|
884
802
|
- Optional
|
|
885
803
|
- String
|
|
@@ -898,7 +816,7 @@ Ambient Agent - 持续后台运行的智能代理,用于主动监控和执行
|
|
|
898
816
|
|
|
|
899
817
|
- Array
|
|
900
818
|
- String
|
|
901
|
-
- toolNames: 按工具名称过滤(支持
|
|
819
|
+
- toolNames: 按工具名称过滤(支持 gate_get_market_info 或 gate:get_market_info 格式)
|
|
902
820
|
- Optional
|
|
903
821
|
- Union
|
|
904
822
|
- String
|
|
@@ -1144,491 +1062,206 @@ Ambient Agent - 持续后台运行的智能代理,用于主动监控和执行
|
|
|
1144
1062
|
|
|
1145
1063
|
|
|
1146
1064
|
|
|
1147
|
-
###
|
|
1065
|
+
### poster
|
|
1148
1066
|
|
|
1149
|
-
|
|
1067
|
+
海报制作插件 - 支持组件化海报生成
|
|
1150
1068
|
|
|
1151
|
-
**版本:** 1.
|
|
1069
|
+
**版本:** 1.1.0
|
|
1152
1070
|
|
|
1153
|
-
#### `
|
|
1071
|
+
#### `list_poster_presets`
|
|
1154
1072
|
|
|
1155
|
-
|
|
1073
|
+
列出所有可用的海报/Banner预设尺寸
|
|
1156
1074
|
|
|
1157
1075
|
**参数:**
|
|
1158
1076
|
|
|
1159
|
-
|
|
1160
|
-
- String
|
|
1161
|
-
- apiUrl: Daytona API URL,默认为 https://app.daytona.io/api
|
|
1162
|
-
- Optional
|
|
1163
|
-
- String
|
|
1164
|
-
- target: 目标区域,如 us, eu 等
|
|
1165
|
-
- Optional
|
|
1166
|
-
- String
|
|
1167
|
-
- organizationId: 组织 ID(JWT 认证时需要)
|
|
1168
|
-
- Optional
|
|
1169
|
-
- String
|
|
1170
|
-
|
|
1077
|
+
无
|
|
1171
1078
|
|
|
1172
1079
|
|
|
1173
|
-
#### `
|
|
1080
|
+
#### `create_poster_canvas`
|
|
1174
1081
|
|
|
1175
|
-
|
|
1082
|
+
创建新画布,支持预设尺寸或自定义尺寸
|
|
1176
1083
|
|
|
1177
1084
|
**参数:**
|
|
1178
1085
|
|
|
1179
|
-
-
|
|
1180
|
-
- Optional
|
|
1181
|
-
- String
|
|
1182
|
-
- name: 沙箱名称
|
|
1086
|
+
- preset: 预设尺寸key
|
|
1183
1087
|
- Optional
|
|
1184
1088
|
- String
|
|
1185
|
-
-
|
|
1186
|
-
- Optional
|
|
1187
|
-
- cpu: CPU 核心数
|
|
1188
|
-
- Optional
|
|
1189
|
-
- Number
|
|
1190
|
-
- memory: 内存大小(GiB)
|
|
1191
|
-
- Optional
|
|
1192
|
-
- Number
|
|
1193
|
-
- disk: 磁盘大小(GiB)
|
|
1194
|
-
- Optional
|
|
1195
|
-
- Number
|
|
1196
|
-
- envVars: 环境变量
|
|
1197
|
-
- Optional
|
|
1198
|
-
- Record
|
|
1199
|
-
Key:
|
|
1200
|
-
- String
|
|
1201
|
-
Value:
|
|
1202
|
-
- String
|
|
1203
|
-
- ephemeral: 是否临时沙箱(停止后自动删除)
|
|
1204
|
-
- Optional
|
|
1205
|
-
- Boolean
|
|
1206
|
-
- autoStopInterval: 自动停止间隔(分钟,0 禁用)
|
|
1089
|
+
- width: 自定义宽度
|
|
1207
1090
|
- Optional
|
|
1208
1091
|
- Number
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
#### `daytona_get_sandbox`
|
|
1213
|
-
|
|
1214
|
-
获取指定沙箱信息
|
|
1215
|
-
|
|
1216
|
-
**参数:**
|
|
1217
|
-
|
|
1218
|
-
- sandboxId: 沙箱 ID 或名称
|
|
1219
|
-
- String
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
#### `daytona_list_sandboxes`
|
|
1224
|
-
|
|
1225
|
-
列出所有沙箱
|
|
1226
|
-
|
|
1227
|
-
**参数:**
|
|
1228
|
-
|
|
1229
|
-
- labels: 标签过滤
|
|
1230
|
-
- Optional
|
|
1231
|
-
- Record
|
|
1232
|
-
Key:
|
|
1233
|
-
- String
|
|
1234
|
-
Value:
|
|
1235
|
-
- String
|
|
1236
|
-
- page: 页码
|
|
1092
|
+
- height: 自定义高度
|
|
1237
1093
|
- Optional
|
|
1238
1094
|
- Number
|
|
1239
|
-
-
|
|
1095
|
+
- background: 背景颜色或图片路径
|
|
1240
1096
|
- Optional
|
|
1241
|
-
-
|
|
1097
|
+
- Union
|
|
1098
|
+
- String
|
|
1099
|
+
|
|
|
1100
|
+
- image
|
|
1101
|
+
- String
|
|
1242
1102
|
|
|
1243
1103
|
|
|
1244
1104
|
|
|
1245
|
-
#### `
|
|
1105
|
+
#### `get_poster_canvas_info`
|
|
1246
1106
|
|
|
1247
|
-
|
|
1107
|
+
获取当前画布信息
|
|
1248
1108
|
|
|
1249
1109
|
**参数:**
|
|
1250
1110
|
|
|
1251
|
-
|
|
1252
|
-
- String
|
|
1253
|
-
- timeout: 超时时间(秒)
|
|
1254
|
-
- Optional
|
|
1255
|
-
- Number
|
|
1256
|
-
|
|
1111
|
+
无
|
|
1257
1112
|
|
|
1258
1113
|
|
|
1259
|
-
#### `
|
|
1114
|
+
#### `clear_poster_canvas`
|
|
1260
1115
|
|
|
1261
|
-
|
|
1116
|
+
清除画布上的所有元素
|
|
1262
1117
|
|
|
1263
1118
|
**参数:**
|
|
1264
1119
|
|
|
1265
|
-
|
|
1266
|
-
- String
|
|
1267
|
-
|
|
1120
|
+
无
|
|
1268
1121
|
|
|
1269
1122
|
|
|
1270
|
-
#### `
|
|
1123
|
+
#### `add_poster_background`
|
|
1271
1124
|
|
|
1272
|
-
|
|
1125
|
+
为画布添加纯色、渐变或图片背景
|
|
1273
1126
|
|
|
1274
1127
|
**参数:**
|
|
1275
1128
|
|
|
1276
|
-
-
|
|
1277
|
-
- String
|
|
1278
|
-
- timeout: 超时时间(秒)
|
|
1129
|
+
- color: 纯色背景
|
|
1279
1130
|
- Optional
|
|
1280
|
-
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
-
|
|
1291
|
-
|
|
1292
|
-
- sandboxId: 沙箱 ID(不填使用当前沙箱)
|
|
1131
|
+
- String
|
|
1132
|
+
- gradient
|
|
1133
|
+
- Optional
|
|
1134
|
+
- type: 渐变类型
|
|
1135
|
+
- Enum: linear, radial
|
|
1136
|
+
- colors: 颜色数组
|
|
1137
|
+
- Array
|
|
1138
|
+
- String
|
|
1139
|
+
- direction: 方向角度,默认45
|
|
1140
|
+
- Optional
|
|
1141
|
+
- Number
|
|
1142
|
+
- image: 背景图片路径(本地路径或URL)
|
|
1293
1143
|
- Optional
|
|
1294
1144
|
- String
|
|
1295
1145
|
|
|
1296
1146
|
|
|
1297
1147
|
|
|
1298
|
-
#### `
|
|
1148
|
+
#### `add_poster_rectangle`
|
|
1299
1149
|
|
|
1300
|
-
|
|
1150
|
+
在画布上添加矩形
|
|
1301
1151
|
|
|
1302
1152
|
**参数:**
|
|
1303
1153
|
|
|
1304
|
-
-
|
|
1305
|
-
-
|
|
1306
|
-
-
|
|
1307
|
-
-
|
|
1308
|
-
-
|
|
1154
|
+
- x: X坐标
|
|
1155
|
+
- Number
|
|
1156
|
+
- y: Y坐标
|
|
1157
|
+
- Number
|
|
1158
|
+
- width: 宽度
|
|
1159
|
+
- Number
|
|
1160
|
+
- height: 高度
|
|
1161
|
+
- Number
|
|
1162
|
+
- fill: 填充颜色
|
|
1163
|
+
- Optional
|
|
1164
|
+
- String
|
|
1165
|
+
- stroke: 边框颜色
|
|
1309
1166
|
- Optional
|
|
1310
1167
|
- String
|
|
1168
|
+
- strokeWidth: 边框宽度
|
|
1169
|
+
- Optional
|
|
1170
|
+
- Number
|
|
1171
|
+
- radius: 圆角半径
|
|
1172
|
+
- Optional
|
|
1173
|
+
- Number
|
|
1174
|
+
- opacity: 透明度 0-1
|
|
1175
|
+
- Optional
|
|
1176
|
+
- Number
|
|
1311
1177
|
|
|
1312
1178
|
|
|
1313
1179
|
|
|
1314
|
-
#### `
|
|
1180
|
+
#### `add_poster_circle`
|
|
1315
1181
|
|
|
1316
|
-
|
|
1182
|
+
在画布上添加圆形或椭圆
|
|
1317
1183
|
|
|
1318
1184
|
**参数:**
|
|
1319
1185
|
|
|
1320
|
-
-
|
|
1321
|
-
-
|
|
1322
|
-
-
|
|
1186
|
+
- cx: 圆心X坐标
|
|
1187
|
+
- Number
|
|
1188
|
+
- cy: 圆心Y坐标
|
|
1189
|
+
- Number
|
|
1190
|
+
- rx: X轴半径
|
|
1191
|
+
- Number
|
|
1192
|
+
- ry: Y轴半径
|
|
1193
|
+
- Optional
|
|
1194
|
+
- Number
|
|
1195
|
+
- fill: 填充颜色
|
|
1196
|
+
- Optional
|
|
1197
|
+
- String
|
|
1198
|
+
- stroke: 边框颜色
|
|
1323
1199
|
- Optional
|
|
1324
1200
|
- String
|
|
1201
|
+
- strokeWidth: 边框宽度
|
|
1202
|
+
- Optional
|
|
1203
|
+
- Number
|
|
1204
|
+
- opacity: 透明度 0-1
|
|
1205
|
+
- Optional
|
|
1206
|
+
- Number
|
|
1325
1207
|
|
|
1326
1208
|
|
|
1327
1209
|
|
|
1328
|
-
#### `
|
|
1210
|
+
#### `add_poster_line`
|
|
1329
1211
|
|
|
1330
|
-
|
|
1212
|
+
在画布上添加线条
|
|
1331
1213
|
|
|
1332
1214
|
**参数:**
|
|
1333
1215
|
|
|
1334
|
-
-
|
|
1216
|
+
- x1: 起点X
|
|
1217
|
+
- Number
|
|
1218
|
+
- y1: 起点Y
|
|
1219
|
+
- Number
|
|
1220
|
+
- x2: 终点X
|
|
1221
|
+
- Number
|
|
1222
|
+
- y2: 终点Y
|
|
1223
|
+
- Number
|
|
1224
|
+
- stroke: 线条颜色
|
|
1335
1225
|
- Optional
|
|
1336
1226
|
- String
|
|
1337
|
-
-
|
|
1227
|
+
- strokeWidth: 线条宽度
|
|
1338
1228
|
- Optional
|
|
1339
1229
|
- Number
|
|
1340
1230
|
|
|
1341
1231
|
|
|
1342
1232
|
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
Markdown 转图片插件 - 将 Markdown 转换为 PNG/SVG
|
|
1346
|
-
|
|
1347
|
-
**版本:** 1.0.1
|
|
1348
|
-
|
|
1349
|
-
#### `marknative_render`
|
|
1233
|
+
#### `add_poster_polygon`
|
|
1350
1234
|
|
|
1351
|
-
|
|
1235
|
+
在画布上添加多边形
|
|
1352
1236
|
|
|
1353
1237
|
**参数:**
|
|
1354
1238
|
|
|
1355
|
-
-
|
|
1356
|
-
-
|
|
1357
|
-
-
|
|
1239
|
+
- cx: 中心X坐标
|
|
1240
|
+
- Number
|
|
1241
|
+
- cy: 中心Y坐标
|
|
1242
|
+
- Number
|
|
1243
|
+
- radius: 外接圆半径
|
|
1244
|
+
- Number
|
|
1245
|
+
- sides: 边数
|
|
1246
|
+
- Number
|
|
1247
|
+
- fill: 填充颜色
|
|
1358
1248
|
- Optional
|
|
1359
1249
|
- String
|
|
1360
|
-
-
|
|
1361
|
-
- Optional
|
|
1362
|
-
- Enum: png, svg
|
|
1363
|
-
- theme: 主题:default, github, solarized, sepia, rose, dark, nord, dracula, ocean, forest
|
|
1250
|
+
- stroke: 边框颜色
|
|
1364
1251
|
- Optional
|
|
1365
1252
|
- String
|
|
1366
|
-
-
|
|
1253
|
+
- strokeWidth: 边框宽度
|
|
1367
1254
|
- Optional
|
|
1368
|
-
-
|
|
1369
|
-
-
|
|
1255
|
+
- Number
|
|
1256
|
+
- opacity: 透明度 0-1
|
|
1370
1257
|
- Optional
|
|
1371
|
-
-
|
|
1258
|
+
- Number
|
|
1372
1259
|
|
|
1373
1260
|
|
|
1374
1261
|
|
|
1375
|
-
#### `
|
|
1262
|
+
#### `add_poster_text`
|
|
1376
1263
|
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
**参数:**
|
|
1380
|
-
|
|
1381
|
-
- markdown: Markdown 内容
|
|
1382
|
-
- String
|
|
1383
|
-
- outputPath: 输出文件路径(如 output.png)
|
|
1384
|
-
- String
|
|
1385
|
-
- format: 输出格式,默认根据文件扩展名
|
|
1386
|
-
- Optional
|
|
1387
|
-
- Enum: png, svg
|
|
1388
|
-
- theme: 主题
|
|
1389
|
-
- Optional
|
|
1390
|
-
- String
|
|
1391
|
-
- codeTheme: 代码高亮主题
|
|
1392
|
-
- Optional
|
|
1393
|
-
- String
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
#### `marknative_preview`
|
|
1398
|
-
|
|
1399
|
-
预览 Markdown 渲染效果(返回第一页 Base64)
|
|
1400
|
-
|
|
1401
|
-
**参数:**
|
|
1402
|
-
|
|
1403
|
-
- markdown: Markdown 内容
|
|
1404
|
-
- String
|
|
1405
|
-
- theme: 主题
|
|
1406
|
-
- Optional
|
|
1407
|
-
- String
|
|
1408
|
-
- codeTheme: 代码高亮主题
|
|
1409
|
-
- Optional
|
|
1410
|
-
- String
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
#### `marknative_get_themes`
|
|
1415
|
-
|
|
1416
|
-
获取所有可用的主题列表
|
|
1417
|
-
|
|
1418
|
-
**参数:**
|
|
1419
|
-
|
|
1420
|
-
无
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
#### `marknative_status`
|
|
1424
|
-
|
|
1425
|
-
检查 marknative 插件状态
|
|
1426
|
-
|
|
1427
|
-
**参数:**
|
|
1428
|
-
|
|
1429
|
-
无
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
### poster
|
|
1433
|
-
|
|
1434
|
-
海报制作插件 - 支持组件化海报生成
|
|
1435
|
-
|
|
1436
|
-
**版本:** 1.1.0
|
|
1437
|
-
|
|
1438
|
-
#### `list_poster_presets`
|
|
1439
|
-
|
|
1440
|
-
列出所有可用的海报/Banner预设尺寸
|
|
1441
|
-
|
|
1442
|
-
**参数:**
|
|
1443
|
-
|
|
1444
|
-
无
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
#### `create_poster_canvas`
|
|
1448
|
-
|
|
1449
|
-
创建新画布,支持预设尺寸或自定义尺寸
|
|
1450
|
-
|
|
1451
|
-
**参数:**
|
|
1452
|
-
|
|
1453
|
-
- preset: 预设尺寸key
|
|
1454
|
-
- Optional
|
|
1455
|
-
- String
|
|
1456
|
-
- width: 自定义宽度
|
|
1457
|
-
- Optional
|
|
1458
|
-
- Number
|
|
1459
|
-
- height: 自定义高度
|
|
1460
|
-
- Optional
|
|
1461
|
-
- Number
|
|
1462
|
-
- background: 背景颜色或图片路径
|
|
1463
|
-
- Optional
|
|
1464
|
-
- Union
|
|
1465
|
-
- String
|
|
1466
|
-
|
|
|
1467
|
-
- image
|
|
1468
|
-
- String
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
#### `get_poster_canvas_info`
|
|
1473
|
-
|
|
1474
|
-
获取当前画布信息
|
|
1475
|
-
|
|
1476
|
-
**参数:**
|
|
1477
|
-
|
|
1478
|
-
无
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
#### `clear_poster_canvas`
|
|
1482
|
-
|
|
1483
|
-
清除画布上的所有元素
|
|
1484
|
-
|
|
1485
|
-
**参数:**
|
|
1486
|
-
|
|
1487
|
-
无
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
#### `add_poster_background`
|
|
1491
|
-
|
|
1492
|
-
为画布添加纯色、渐变或图片背景
|
|
1493
|
-
|
|
1494
|
-
**参数:**
|
|
1495
|
-
|
|
1496
|
-
- color: 纯色背景
|
|
1497
|
-
- Optional
|
|
1498
|
-
- String
|
|
1499
|
-
- gradient
|
|
1500
|
-
- Optional
|
|
1501
|
-
- type: 渐变类型
|
|
1502
|
-
- Enum: linear, radial
|
|
1503
|
-
- colors: 颜色数组
|
|
1504
|
-
- Array
|
|
1505
|
-
- String
|
|
1506
|
-
- direction: 方向角度,默认45
|
|
1507
|
-
- Optional
|
|
1508
|
-
- Number
|
|
1509
|
-
- image: 背景图片路径(本地路径或URL)
|
|
1510
|
-
- Optional
|
|
1511
|
-
- String
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
#### `add_poster_rectangle`
|
|
1516
|
-
|
|
1517
|
-
在画布上添加矩形
|
|
1518
|
-
|
|
1519
|
-
**参数:**
|
|
1520
|
-
|
|
1521
|
-
- x: X坐标
|
|
1522
|
-
- Number
|
|
1523
|
-
- y: Y坐标
|
|
1524
|
-
- Number
|
|
1525
|
-
- width: 宽度
|
|
1526
|
-
- Number
|
|
1527
|
-
- height: 高度
|
|
1528
|
-
- Number
|
|
1529
|
-
- fill: 填充颜色
|
|
1530
|
-
- Optional
|
|
1531
|
-
- String
|
|
1532
|
-
- stroke: 边框颜色
|
|
1533
|
-
- Optional
|
|
1534
|
-
- String
|
|
1535
|
-
- strokeWidth: 边框宽度
|
|
1536
|
-
- Optional
|
|
1537
|
-
- Number
|
|
1538
|
-
- radius: 圆角半径
|
|
1539
|
-
- Optional
|
|
1540
|
-
- Number
|
|
1541
|
-
- opacity: 透明度 0-1
|
|
1542
|
-
- Optional
|
|
1543
|
-
- Number
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
#### `add_poster_circle`
|
|
1548
|
-
|
|
1549
|
-
在画布上添加圆形或椭圆
|
|
1550
|
-
|
|
1551
|
-
**参数:**
|
|
1552
|
-
|
|
1553
|
-
- cx: 圆心X坐标
|
|
1554
|
-
- Number
|
|
1555
|
-
- cy: 圆心Y坐标
|
|
1556
|
-
- Number
|
|
1557
|
-
- rx: X轴半径
|
|
1558
|
-
- Number
|
|
1559
|
-
- ry: Y轴半径
|
|
1560
|
-
- Optional
|
|
1561
|
-
- Number
|
|
1562
|
-
- fill: 填充颜色
|
|
1563
|
-
- Optional
|
|
1564
|
-
- String
|
|
1565
|
-
- stroke: 边框颜色
|
|
1566
|
-
- Optional
|
|
1567
|
-
- String
|
|
1568
|
-
- strokeWidth: 边框宽度
|
|
1569
|
-
- Optional
|
|
1570
|
-
- Number
|
|
1571
|
-
- opacity: 透明度 0-1
|
|
1572
|
-
- Optional
|
|
1573
|
-
- Number
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
#### `add_poster_line`
|
|
1578
|
-
|
|
1579
|
-
在画布上添加线条
|
|
1580
|
-
|
|
1581
|
-
**参数:**
|
|
1582
|
-
|
|
1583
|
-
- x1: 起点X
|
|
1584
|
-
- Number
|
|
1585
|
-
- y1: 起点Y
|
|
1586
|
-
- Number
|
|
1587
|
-
- x2: 终点X
|
|
1588
|
-
- Number
|
|
1589
|
-
- y2: 终点Y
|
|
1590
|
-
- Number
|
|
1591
|
-
- stroke: 线条颜色
|
|
1592
|
-
- Optional
|
|
1593
|
-
- String
|
|
1594
|
-
- strokeWidth: 线条宽度
|
|
1595
|
-
- Optional
|
|
1596
|
-
- Number
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
#### `add_poster_polygon`
|
|
1601
|
-
|
|
1602
|
-
在画布上添加多边形
|
|
1603
|
-
|
|
1604
|
-
**参数:**
|
|
1605
|
-
|
|
1606
|
-
- cx: 中心X坐标
|
|
1607
|
-
- Number
|
|
1608
|
-
- cy: 中心Y坐标
|
|
1609
|
-
- Number
|
|
1610
|
-
- radius: 外接圆半径
|
|
1611
|
-
- Number
|
|
1612
|
-
- sides: 边数
|
|
1613
|
-
- Number
|
|
1614
|
-
- fill: 填充颜色
|
|
1615
|
-
- Optional
|
|
1616
|
-
- String
|
|
1617
|
-
- stroke: 边框颜色
|
|
1618
|
-
- Optional
|
|
1619
|
-
- String
|
|
1620
|
-
- strokeWidth: 边框宽度
|
|
1621
|
-
- Optional
|
|
1622
|
-
- Number
|
|
1623
|
-
- opacity: 透明度 0-1
|
|
1624
|
-
- Optional
|
|
1625
|
-
- Number
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
#### `add_poster_text`
|
|
1630
|
-
|
|
1631
|
-
在画布上添加文字
|
|
1264
|
+
在画布上添加文字
|
|
1632
1265
|
|
|
1633
1266
|
**参数:**
|
|
1634
1267
|
|
|
@@ -3423,17 +3056,533 @@ MCP (Model Context Protocol) 执行器
|
|
|
3423
3056
|
|
|
3424
3057
|
**版本:** 1.0.0
|
|
3425
3058
|
|
|
3426
|
-
#### `
|
|
3059
|
+
#### `MiniMax_web_search`
|
|
3060
|
+
|
|
3061
|
+
[MiniMax]
|
|
3062
|
+
|
|
3063
|
+
You MUST use this tool whenever you need to search for real-time or external information on the web.
|
|
3064
|
+
|
|
3065
|
+
A web search API that works just like Google Search.
|
|
3066
|
+
|
|
3067
|
+
Args:
|
|
3068
|
+
query (str): The search query. Aim for 3-5 keywords for best results. For time-sensitive topics, include the current date (e.g. `latest iPhone 2025`).
|
|
3069
|
+
|
|
3070
|
+
Search Strategy:
|
|
3071
|
+
- If no useful results are returned, try rephrasing your query with different keywords.
|
|
3072
|
+
|
|
3073
|
+
Returns:
|
|
3074
|
+
A JSON object containing the search results, structured as follows:
|
|
3075
|
+
{
|
|
3076
|
+
"organic": [
|
|
3077
|
+
{
|
|
3078
|
+
"title": "string - The title of the search result",
|
|
3079
|
+
"link": "string - The URL link to the result",
|
|
3080
|
+
"snippet": "string - A brief description or excerpt",
|
|
3081
|
+
"date": "string - The date of the result"
|
|
3082
|
+
}
|
|
3083
|
+
],
|
|
3084
|
+
"related_searches": [
|
|
3085
|
+
{
|
|
3086
|
+
"query": "string - A related search query suggestion"
|
|
3087
|
+
}
|
|
3088
|
+
],
|
|
3089
|
+
"base_resp": {
|
|
3090
|
+
"status_code": "int - Response status code",
|
|
3091
|
+
"status_msg": "string - Response status message"
|
|
3092
|
+
}
|
|
3093
|
+
}
|
|
3094
|
+
|
|
3095
|
+
|
|
3096
|
+
**参数:**
|
|
3097
|
+
|
|
3098
|
+
- query
|
|
3099
|
+
- String
|
|
3100
|
+
|
|
3101
|
+
|
|
3102
|
+
|
|
3103
|
+
|
|
3104
|
+
|
|
3105
|
+
#### `MiniMax_understand_image`
|
|
3106
|
+
|
|
3107
|
+
[MiniMax]
|
|
3108
|
+
|
|
3109
|
+
You MUST use this tool whenever you need to analyze, describe, or extract information from an image,
|
|
3110
|
+
including when you get an image from user input or any task-related image.
|
|
3111
|
+
|
|
3112
|
+
An LLM-powered vision tool that can analyze and interpret image content from local files or URLs based on your instructions.
|
|
3113
|
+
Only JPEG, PNG, and WebP formats are supported. Other formats (e.g. PDF, GIF, PSD, SVG) are not supported.
|
|
3114
|
+
|
|
3115
|
+
Args:
|
|
3116
|
+
prompt (str): A text prompt describing what you want to analyze or extract from the image.
|
|
3117
|
+
image_source (str): The location of the image to analyze.
|
|
3118
|
+
Accepts:
|
|
3119
|
+
- HTTP/HTTPS URL: "https://example.com/image.jpg"
|
|
3120
|
+
- Local file path:
|
|
3121
|
+
- Relative path: "images/photo.png"
|
|
3122
|
+
- Absolute path: "/Users/username/Documents/image.jpg"
|
|
3123
|
+
IMPORTANT: If the file path starts with an @ symbol, you MUST strip the @ prefix before passing it to this function.
|
|
3124
|
+
For example:
|
|
3125
|
+
- "@Documents/photo.jpg" → "Documents/photo.jpg"
|
|
3126
|
+
- "@/Users/username/image.png" → "/Users/username/image.png"
|
|
3127
|
+
Supported formats: JPEG, PNG, WebP
|
|
3128
|
+
|
|
3129
|
+
Returns:
|
|
3130
|
+
A text description of the image analysis result.
|
|
3131
|
+
|
|
3132
|
+
|
|
3133
|
+
**参数:**
|
|
3134
|
+
|
|
3135
|
+
- prompt
|
|
3136
|
+
- String
|
|
3137
|
+
- image_source
|
|
3138
|
+
- String
|
|
3139
|
+
|
|
3140
|
+
|
|
3141
|
+
|
|
3142
|
+
|
|
3143
|
+
|
|
3144
|
+
#### `chrome-devtools_click`
|
|
3145
|
+
|
|
3146
|
+
[chrome-devtools] Clicks on the provided element
|
|
3147
|
+
|
|
3148
|
+
**参数:**
|
|
3149
|
+
|
|
3150
|
+
- uid
|
|
3151
|
+
- String
|
|
3152
|
+
- dblClick
|
|
3153
|
+
- Optional
|
|
3154
|
+
- Boolean
|
|
3155
|
+
- includeSnapshot
|
|
3156
|
+
- Optional
|
|
3157
|
+
- Boolean
|
|
3158
|
+
|
|
3159
|
+
|
|
3160
|
+
|
|
3161
|
+
|
|
3162
|
+
|
|
3163
|
+
#### `chrome-devtools_close_page`
|
|
3164
|
+
|
|
3165
|
+
[chrome-devtools] Closes the page by its index. The last open page cannot be closed.
|
|
3166
|
+
|
|
3167
|
+
**参数:**
|
|
3168
|
+
|
|
3169
|
+
- pageId
|
|
3170
|
+
- Number
|
|
3171
|
+
|
|
3172
|
+
|
|
3173
|
+
|
|
3174
|
+
|
|
3175
|
+
|
|
3176
|
+
#### `chrome-devtools_drag`
|
|
3177
|
+
|
|
3178
|
+
[chrome-devtools] Drag an element onto another element
|
|
3179
|
+
|
|
3180
|
+
**参数:**
|
|
3181
|
+
|
|
3182
|
+
- from_uid
|
|
3183
|
+
- String
|
|
3184
|
+
- to_uid
|
|
3185
|
+
- String
|
|
3186
|
+
- includeSnapshot
|
|
3187
|
+
- Optional
|
|
3188
|
+
- Boolean
|
|
3189
|
+
|
|
3190
|
+
|
|
3191
|
+
|
|
3192
|
+
|
|
3193
|
+
|
|
3194
|
+
#### `chrome-devtools_emulate`
|
|
3195
|
+
|
|
3196
|
+
[chrome-devtools] Emulates various features on the selected page.
|
|
3197
|
+
|
|
3198
|
+
|
|
3199
|
+
|
|
3200
|
+
|
|
3201
|
+
#### `chrome-devtools_evaluate_script`
|
|
3202
|
+
|
|
3203
|
+
[chrome-devtools] Evaluate a JavaScript function inside the currently selected page. Returns the response as JSON,
|
|
3204
|
+
so returned values have to be JSON-serializable.
|
|
3205
|
+
|
|
3206
|
+
**参数:**
|
|
3207
|
+
|
|
3208
|
+
- function
|
|
3209
|
+
- String
|
|
3210
|
+
- args
|
|
3211
|
+
- Optional
|
|
3212
|
+
- Array
|
|
3213
|
+
- Any
|
|
3214
|
+
|
|
3215
|
+
|
|
3216
|
+
|
|
3217
|
+
|
|
3218
|
+
|
|
3219
|
+
#### `chrome-devtools_fill`
|
|
3220
|
+
|
|
3221
|
+
[chrome-devtools] Type text into a input, text area or select an option from a <select> element.
|
|
3222
|
+
|
|
3223
|
+
**参数:**
|
|
3224
|
+
|
|
3225
|
+
- uid
|
|
3226
|
+
- String
|
|
3227
|
+
- value
|
|
3228
|
+
- String
|
|
3229
|
+
- includeSnapshot
|
|
3230
|
+
- Optional
|
|
3231
|
+
- Boolean
|
|
3232
|
+
|
|
3233
|
+
|
|
3234
|
+
|
|
3235
|
+
|
|
3236
|
+
|
|
3237
|
+
#### `chrome-devtools_fill_form`
|
|
3238
|
+
|
|
3239
|
+
[chrome-devtools] Fill out multiple form elements at once
|
|
3240
|
+
|
|
3241
|
+
**参数:**
|
|
3242
|
+
|
|
3243
|
+
- elements
|
|
3244
|
+
- Array
|
|
3245
|
+
- Any
|
|
3246
|
+
- includeSnapshot
|
|
3247
|
+
- Optional
|
|
3248
|
+
- Boolean
|
|
3249
|
+
|
|
3250
|
+
|
|
3251
|
+
|
|
3252
|
+
|
|
3253
|
+
|
|
3254
|
+
#### `chrome-devtools_get_console_message`
|
|
3255
|
+
|
|
3256
|
+
[chrome-devtools] Gets a console message by its ID. You can get all messages by calling list_console_messages.
|
|
3257
|
+
|
|
3258
|
+
**参数:**
|
|
3259
|
+
|
|
3260
|
+
- msgid
|
|
3261
|
+
- Number
|
|
3262
|
+
|
|
3263
|
+
|
|
3264
|
+
|
|
3265
|
+
|
|
3266
|
+
|
|
3267
|
+
#### `chrome-devtools_get_network_request`
|
|
3268
|
+
|
|
3269
|
+
[chrome-devtools] Gets a network request by an optional reqid, if omitted returns the currently selected request in the DevTools Network panel.
|
|
3270
|
+
|
|
3271
|
+
**参数:**
|
|
3272
|
+
|
|
3273
|
+
- reqid
|
|
3274
|
+
- Optional
|
|
3275
|
+
- Number
|
|
3276
|
+
- requestFilePath
|
|
3277
|
+
- Optional
|
|
3278
|
+
- String
|
|
3279
|
+
- responseFilePath
|
|
3280
|
+
- Optional
|
|
3281
|
+
- String
|
|
3282
|
+
|
|
3283
|
+
|
|
3284
|
+
|
|
3285
|
+
|
|
3286
|
+
|
|
3287
|
+
#### `chrome-devtools_handle_dialog`
|
|
3288
|
+
|
|
3289
|
+
[chrome-devtools] If a browser dialog was opened, use this command to handle it
|
|
3290
|
+
|
|
3291
|
+
|
|
3292
|
+
|
|
3293
|
+
|
|
3294
|
+
#### `chrome-devtools_hover`
|
|
3295
|
+
|
|
3296
|
+
[chrome-devtools] Hover over the provided element
|
|
3297
|
+
|
|
3298
|
+
**参数:**
|
|
3299
|
+
|
|
3300
|
+
- uid
|
|
3301
|
+
- String
|
|
3302
|
+
- includeSnapshot
|
|
3303
|
+
- Optional
|
|
3304
|
+
- Boolean
|
|
3305
|
+
|
|
3306
|
+
|
|
3307
|
+
|
|
3308
|
+
|
|
3309
|
+
|
|
3310
|
+
#### `chrome-devtools_lighthouse_audit`
|
|
3311
|
+
|
|
3312
|
+
[chrome-devtools] Get Lighthouse score and reports for accessibility, SEO and best practices. This excludes performance. For performance audits, run performance_start_trace
|
|
3313
|
+
|
|
3314
|
+
|
|
3315
|
+
|
|
3316
|
+
|
|
3317
|
+
#### `chrome-devtools_list_console_messages`
|
|
3318
|
+
|
|
3319
|
+
[chrome-devtools] List all console messages for the currently selected page since the last navigation.
|
|
3320
|
+
|
|
3321
|
+
**参数:**
|
|
3322
|
+
|
|
3323
|
+
- pageSize
|
|
3324
|
+
- Optional
|
|
3325
|
+
- Number
|
|
3326
|
+
- pageIdx
|
|
3327
|
+
- Optional
|
|
3328
|
+
- Number
|
|
3329
|
+
- types
|
|
3330
|
+
- Optional
|
|
3331
|
+
- Array
|
|
3332
|
+
- Any
|
|
3333
|
+
- includePreservedMessages
|
|
3334
|
+
- Optional
|
|
3335
|
+
- Boolean
|
|
3336
|
+
|
|
3337
|
+
|
|
3338
|
+
|
|
3339
|
+
|
|
3340
|
+
|
|
3341
|
+
#### `chrome-devtools_list_network_requests`
|
|
3342
|
+
|
|
3343
|
+
[chrome-devtools] List all requests for the currently selected page since the last navigation.
|
|
3344
|
+
|
|
3345
|
+
**参数:**
|
|
3346
|
+
|
|
3347
|
+
- pageSize
|
|
3348
|
+
- Optional
|
|
3349
|
+
- Number
|
|
3350
|
+
- pageIdx
|
|
3351
|
+
- Optional
|
|
3352
|
+
- Number
|
|
3353
|
+
- resourceTypes
|
|
3354
|
+
- Optional
|
|
3355
|
+
- Array
|
|
3356
|
+
- Any
|
|
3357
|
+
- includePreservedRequests
|
|
3358
|
+
- Optional
|
|
3359
|
+
- Boolean
|
|
3360
|
+
|
|
3361
|
+
|
|
3362
|
+
|
|
3363
|
+
|
|
3364
|
+
|
|
3365
|
+
#### `chrome-devtools_list_pages`
|
|
3366
|
+
|
|
3367
|
+
[chrome-devtools] Get a list of pages open in the browser.
|
|
3368
|
+
|
|
3369
|
+
|
|
3370
|
+
|
|
3371
|
+
|
|
3372
|
+
#### `chrome-devtools_navigate_page`
|
|
3373
|
+
|
|
3374
|
+
[chrome-devtools] Go to a URL, or back, forward, or reload. Use project URL if not specified otherwise.
|
|
3375
|
+
|
|
3376
|
+
|
|
3377
|
+
|
|
3378
|
+
|
|
3379
|
+
#### `chrome-devtools_new_page`
|
|
3380
|
+
|
|
3381
|
+
[chrome-devtools] Open a new tab and load a URL. Use project URL if not specified otherwise.
|
|
3382
|
+
|
|
3383
|
+
**参数:**
|
|
3384
|
+
|
|
3385
|
+
- url
|
|
3386
|
+
- String
|
|
3387
|
+
- background
|
|
3388
|
+
- Optional
|
|
3389
|
+
- Boolean
|
|
3390
|
+
- isolatedContext
|
|
3391
|
+
- Optional
|
|
3392
|
+
- String
|
|
3393
|
+
- timeout
|
|
3394
|
+
- Optional
|
|
3395
|
+
- Number
|
|
3396
|
+
|
|
3397
|
+
|
|
3398
|
+
|
|
3399
|
+
|
|
3400
|
+
|
|
3401
|
+
#### `chrome-devtools_performance_analyze_insight`
|
|
3402
|
+
|
|
3403
|
+
[chrome-devtools] Provides more detailed information on a specific Performance Insight of an insight set that was highlighted in the results of a trace recording.
|
|
3404
|
+
|
|
3405
|
+
**参数:**
|
|
3406
|
+
|
|
3407
|
+
- insightSetId
|
|
3408
|
+
- String
|
|
3409
|
+
- insightName
|
|
3410
|
+
- String
|
|
3411
|
+
|
|
3412
|
+
|
|
3413
|
+
|
|
3414
|
+
|
|
3415
|
+
|
|
3416
|
+
#### `chrome-devtools_performance_start_trace`
|
|
3417
|
+
|
|
3418
|
+
[chrome-devtools] Start a performance trace on the selected webpage. Use to find frontend performance issues, Core Web Vitals (LCP, INP, CLS), and improve page load speed.
|
|
3419
|
+
|
|
3420
|
+
**参数:**
|
|
3421
|
+
|
|
3422
|
+
- reload
|
|
3423
|
+
- Optional
|
|
3424
|
+
- Boolean
|
|
3425
|
+
- autoStop
|
|
3426
|
+
- Optional
|
|
3427
|
+
- Boolean
|
|
3428
|
+
- filePath
|
|
3429
|
+
- Optional
|
|
3430
|
+
- String
|
|
3431
|
+
|
|
3432
|
+
|
|
3433
|
+
|
|
3434
|
+
|
|
3435
|
+
|
|
3436
|
+
#### `chrome-devtools_performance_stop_trace`
|
|
3437
|
+
|
|
3438
|
+
[chrome-devtools] Stop the active performance trace recording on the selected webpage.
|
|
3439
|
+
|
|
3440
|
+
**参数:**
|
|
3441
|
+
|
|
3442
|
+
- filePath
|
|
3443
|
+
- Optional
|
|
3444
|
+
- String
|
|
3445
|
+
|
|
3446
|
+
|
|
3447
|
+
|
|
3448
|
+
|
|
3449
|
+
|
|
3450
|
+
#### `chrome-devtools_press_key`
|
|
3451
|
+
|
|
3452
|
+
[chrome-devtools] Press a key or key combination. Use this when other input methods like fill() cannot be used (e.g., keyboard shortcuts, navigation keys, or special key combinations).
|
|
3453
|
+
|
|
3454
|
+
**参数:**
|
|
3455
|
+
|
|
3456
|
+
- key
|
|
3457
|
+
- String
|
|
3458
|
+
- includeSnapshot
|
|
3459
|
+
- Optional
|
|
3460
|
+
- Boolean
|
|
3461
|
+
|
|
3462
|
+
|
|
3463
|
+
|
|
3464
|
+
|
|
3465
|
+
|
|
3466
|
+
#### `chrome-devtools_resize_page`
|
|
3467
|
+
|
|
3468
|
+
[chrome-devtools] Resizes the selected page's window so that the page has specified dimension
|
|
3469
|
+
|
|
3470
|
+
**参数:**
|
|
3471
|
+
|
|
3472
|
+
- width
|
|
3473
|
+
- Number
|
|
3474
|
+
- height
|
|
3475
|
+
- Number
|
|
3476
|
+
|
|
3477
|
+
|
|
3478
|
+
|
|
3479
|
+
|
|
3480
|
+
|
|
3481
|
+
#### `chrome-devtools_select_page`
|
|
3482
|
+
|
|
3483
|
+
[chrome-devtools] Select a page as a context for future tool calls.
|
|
3484
|
+
|
|
3485
|
+
**参数:**
|
|
3486
|
+
|
|
3487
|
+
- pageId
|
|
3488
|
+
- Number
|
|
3489
|
+
- bringToFront
|
|
3490
|
+
- Optional
|
|
3491
|
+
- Boolean
|
|
3492
|
+
|
|
3493
|
+
|
|
3494
|
+
|
|
3495
|
+
|
|
3496
|
+
|
|
3497
|
+
#### `chrome-devtools_take_memory_snapshot`
|
|
3498
|
+
|
|
3499
|
+
[chrome-devtools] Capture a heap snapshot of the currently selected page. Use to analyze the memory distribution of JavaScript objects and debug memory leaks.
|
|
3500
|
+
|
|
3501
|
+
**参数:**
|
|
3502
|
+
|
|
3503
|
+
- filePath
|
|
3504
|
+
- String
|
|
3505
|
+
|
|
3506
|
+
|
|
3507
|
+
|
|
3508
|
+
|
|
3509
|
+
|
|
3510
|
+
#### `chrome-devtools_take_screenshot`
|
|
3511
|
+
|
|
3512
|
+
[chrome-devtools] Take a screenshot of the page or element.
|
|
3513
|
+
|
|
3514
|
+
|
|
3515
|
+
|
|
3516
|
+
|
|
3517
|
+
#### `chrome-devtools_take_snapshot`
|
|
3518
|
+
|
|
3519
|
+
[chrome-devtools] Take a text snapshot of the currently selected page based on the a11y tree. The snapshot lists page elements along with a unique
|
|
3520
|
+
identifier (uid). Always use the latest snapshot. Prefer taking a snapshot over taking a screenshot. The snapshot indicates the element selected
|
|
3521
|
+
in the DevTools Elements panel (if any).
|
|
3522
|
+
|
|
3523
|
+
**参数:**
|
|
3524
|
+
|
|
3525
|
+
- verbose
|
|
3526
|
+
- Optional
|
|
3527
|
+
- Boolean
|
|
3528
|
+
- filePath
|
|
3529
|
+
- Optional
|
|
3530
|
+
- String
|
|
3531
|
+
|
|
3532
|
+
|
|
3533
|
+
|
|
3534
|
+
|
|
3535
|
+
|
|
3536
|
+
#### `chrome-devtools_type_text`
|
|
3537
|
+
|
|
3538
|
+
[chrome-devtools] Type text using keyboard into a previously focused input
|
|
3539
|
+
|
|
3540
|
+
**参数:**
|
|
3541
|
+
|
|
3542
|
+
- text
|
|
3543
|
+
- String
|
|
3544
|
+
- submitKey
|
|
3545
|
+
- Optional
|
|
3546
|
+
- String
|
|
3547
|
+
|
|
3548
|
+
|
|
3549
|
+
|
|
3550
|
+
|
|
3551
|
+
|
|
3552
|
+
#### `chrome-devtools_upload_file`
|
|
3553
|
+
|
|
3554
|
+
[chrome-devtools] Upload a file through a provided element.
|
|
3555
|
+
|
|
3556
|
+
**参数:**
|
|
3557
|
+
|
|
3558
|
+
- uid
|
|
3559
|
+
- String
|
|
3560
|
+
- filePath
|
|
3561
|
+
- String
|
|
3562
|
+
- includeSnapshot
|
|
3563
|
+
- Optional
|
|
3564
|
+
- Boolean
|
|
3565
|
+
|
|
3566
|
+
|
|
3567
|
+
|
|
3568
|
+
|
|
3569
|
+
|
|
3570
|
+
#### `chrome-devtools_wait_for`
|
|
3571
|
+
|
|
3572
|
+
[chrome-devtools] Wait for the specified text to appear on the selected page.
|
|
3573
|
+
|
|
3574
|
+
**参数:**
|
|
3575
|
+
|
|
3576
|
+
- text
|
|
3577
|
+
- Array
|
|
3578
|
+
- Any
|
|
3579
|
+
- timeout
|
|
3580
|
+
- Optional
|
|
3581
|
+
- Number
|
|
3427
3582
|
|
|
3428
|
-
[fetch] Fetches a URL from the internet and optionally extracts its contents as markdown.
|
|
3429
3583
|
|
|
3430
|
-
Although originally you did not have internet access, and were advised to refuse and tell the user this, this tool now grants you internet access. Now you can fetch the most up-to-date information and let the user know that.
|
|
3431
3584
|
|
|
3432
|
-
**参数:**
|
|
3433
|
-
|
|
3434
|
-
- Type: Object
|
|
3435
3585
|
|
|
3436
|
-
|
|
3437
3586
|
|
|
3438
3587
|
---
|
|
3439
3588
|
|