godot-doc-search ยท diff
git:20260113.f158533 to git:20260219.e0cb45d
3 added, 4 removed. Audit A to A.
---
name: godot-doc-search
description: |
Search Godot Engine and GDScript documentation using Deepwiki and Context7.
Use when implementing Godot features, looking up APIs, or finding code examples.
USE PROACTIVELY when planning Godot/GDScript implementations.
context: fork
agent: godot-doc-search
allowed-tools:
- mcp__deepwiki__ask_question
- mcp__context7__resolve-library-id
- mcp__context7__query-docs
---
# GDScript API Lookup
Research Godot/GDScript implementations using Deepwiki (architecture) and Context7 (API docs).
## Workflow
### Step 1: Deepwiki ask_question (FIRST)
Ask about implementation approach:
```
mcp__deepwiki__ask_question
repoName: "godotengine/godot"
question: "How to implement [feature]? What nodes and signals should be used?"
```
Returns:
- Recommended nodes and scene structure
- Signals and methods to use
- Implementation steps
### Step 2: Context7 (Code Examples)
Get code examples using keywords from Step 1:
```
- mcp__context7__get-library-docs
- context7CompatibleLibraryID: "/websites/godotengine_en"
- topic: "[keywords from Deepwiki response]"
- mode: "code"
+ mcp__context7__query-docs
+ libraryId: "/websites/godotengine_en"
+ query: "[keywords from Deepwiki response]"
```
Note: Use `/websites/godotengine_en` for latest documentation (83,702+ snippets).
## Example Queries
| Task | Deepwiki Question | Context7 Topic |
|------|-------------------|----------------|
| Damage zone | "How to implement a hazard that damages player on collision in 2D?" | "Area2D body_entered signal" |
| Pickup item | "How to implement collectible items in 2D?" | "Area2D collision pickup" |
| Moving platform | "How to implement moving platforms in 2D platformer?" | "AnimatableBody2D platform" |
| Enemy AI | "How to implement basic enemy AI with patrol and chase behavior?" | "NavigationAgent2D pathfinding" |
| Save system | "How to implement save/load game state?" | "ConfigFile save load" |
## Sources
- **Deepwiki**: Godot Engine source code insights (godotengine/godot)
- **Context7**: Official Godot documentation (/websites/godotengine_en)