# godot_get_context

> 一次返回会话全景（模式/项目/连接/场景快照/最近调用统计/工具组/推荐 workflow/规则/性能），减少反复探路。headless 模式 scene=null。

| 属性 | 值 |
|------|-----|
| 所属层 | headless |
| 安全级别 | danger-api |
| 需要 Godot | 是 |
| 需要编辑器 | 否 |
| 只读 | 是 |
| 长耗时 | 否 |

## Parameters

| 参数 | 类型 | 必填 | 说明 |
|------|------|------|------|
| `project_path` | string |  | 项目路径（可选；传了补 project/rules 字段，没传降级 null/[]） |
| `include_scene` | boolean |  | 是否采集场景快照（默认 true；headless 恒 null） |
| `include_performance` | boolean |  | 是否采集性能（默认 true；仅 bridge 有效） |

## 风险分布

读 1

---
<!-- AUTO-GENERATED by scripts/gen-tool-docs.mjs from capability-matrix.json v0.32.21. DO NOT edit manually; re-run npm run gen:tool-docs after tool changes. -->
