- 添加 5 个用户级别 Skills: - auto-commit: 自动 Git 提交 - karpathy-guidelines: 编码规范指南 - opencli-websearch: 多源网络搜索 - pdf-reader: PDF 内容提取 - repo-analyzer: 项目深度分析 - 添加 Playwright MCP 配置 (21 个浏览器自动化工具) - 创建完整的 README.md 文档说明
18 lines
707 B
JSON
18 lines
707 B
JSON
{
|
|
"name": "browser_run_code",
|
|
"description": "Run Playwright code snippet",
|
|
"inputSchema": {
|
|
"properties": {
|
|
"code": {
|
|
"description": "A JavaScript function containing Playwright code to execute. It will be invoked with a single argument, page, which you can use for any page interaction. For example: `async (page) =\u003e { await page.getByRole('button', { name: 'Submit' }).click(); return await page.title(); }`",
|
|
"type": "string"
|
|
},
|
|
"filename": {
|
|
"description": "Load code from the specified file. If both code and filename are provided, code will be ignored.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": null,
|
|
"type": "object"
|
|
}
|
|
} |