project
Search and manage Godot workspaces, inspect file listings and configuration, create new game structures, and set up rules for AI collaboration.
Instructions
搜索 Godot 项目、获取项目信息、列出文件、读取配置、创建项目、设置项目规则。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ci | No | 生成 GitHub Actions CI workflow(默认 false) | |
| key | No | 配置键(write_config,如 "application/config/name") | |
| tag | No | 模板:按标签过滤 | |
| force | No | 覆盖已有配置(默认 false) | |
| hooks | No | 创建 .claude/settings.json 的 PostToolUse hook(默认 true) | |
| value | No | 配置值(write_config) | |
| action | Yes | 操作类型 | |
| renderer | No | 渲染器:"forward_plus"(默认)、"mobile"、"gl_compatibility" | forward_plus |
| template | No | 项目脚手架模板:2d-platformer / 3d-fps / visual-novel(默认空) | |
| agents_md | No | 创建/追加 AGENTS.md 项目规则(ZCode/Codex/Cursor 等遵循 AGENTS.md 标准的客户端读取,默认 true) | |
| claude_md | No | 创建/追加 CLAUDE.md 验证规则(默认 true) | |
| max_depth | No | 最大搜索深度(默认 3,钳制上限 10) | |
| variables | No | 模板:变量覆盖 | |
| applies_to | No | 模板:按适用类过滤 | |
| extensions | No | 按扩展名过滤(如 [".gd", ".tscn"]) | |
| rules_mode | No | 规则文件 reconcile 模式:check(默认,只检测报告)/ update(覆盖版本过时且未动过的文件,保留用户动过的)/ overwrite(全覆盖含本地修改) | check |
| search_dir | No | 搜索目录(list_projects) | . |
| script_path | No | 模板:目标脚本路径 | |
| template_id | No | 模板:模板 ID(如 T008) | |
| project_name | No | 项目名称(默认取文件夹名) | |
| project_path | No | Godot 项目目录路径(可选,默认使用 GODOT_PROJECT_PATH 环境变量或当前目录) | |
| subdirectory | No | 限定子目录 | |
| godot_version | No | CI 中使用的 Godot 版本(默认 4.7) | 4.7 |