search_documentation
Search project documentation and API references to understand code patterns, debug issues, and find implementation examples using technical terms like class or API names.
Instructions
Search codebase documentation and API references - use THROUGHOUT your work, not just at the start. Call whenever you encounter unfamiliar code patterns, before implementing any feature, when debugging issues, or when you need examples. Searches project patterns, architecture decisions, and API docs. Best results with technical terms (class names, API names), not natural language descriptions. Example: search "Widget" NOT "iOS 18 features". If your first search doesn't help, search again with different terms - the docs are there to help you continuously.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Technical search terms. Use API/class names, not descriptions. Good: "URLSession", "WidgetKit", "CoreData". Bad: "how to make network calls" | |
| limit | No | Maximum results per page. Default: 20 | |
| page | No | Page number for paginated results. Default: 1 | |
| docsetId | No | Filter results to specific documentation set | |
| type | No | Filter API results by type: "Class", "Method", "Function", "Property", "Framework", "Protocol", "Enum" |