search_documentation
Find patterns, examples, and usage details in project documentation and API references by entering technical search terms and filters.
Instructions
Search project documentation and installed API references for patterns, examples, and usage details. Use early and often to stay aligned with current docs.
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": {
"query": "<query>"
},
"name": "search_documentation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for paginated results. Default: 1 | |
| type | No | Filter API results by type: "Class", "Method", "Function", "Property", "Framework", "Protocol", "Enum" | |
| limit | No | Maximum compact results per page. Default: 8, maximum: 10 | |
| query | Yes | Technical search terms. Examples: "URLSession", "WidgetKit", "CoreData" | |
| docsetId | No | Filter results to specific documentation set |