semantic_search
Search Apple developer documentation by natural language intent or API symbol name. Combines keyword and embedding search with rank fusion to find relevant frameworks and symbol definitions.
Instructions
Hybrid search combining SQLite FTS5 lexical search and vector embeddings (local in-process EmbeddingGemma 2 or cloud Gemini) with Reciprocal Rank Fusion (RRF). Search by natural language intent, conceptual query, or API name. If vector embedding provider is unavailable or circuit breaker is open, automatically falls back to lexical search with notice in result text.
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": "semantic_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language description of the desired behavior, UI pattern, concept, or symbol name (e.g. "three column sidebar split view diagram", "biometric face id authentication", "NavigationSplitView") | |
| platform | No | Optional platform filter (iOS, macOS, watchOS, visionOS) | |
| framework | No | Optional framework name to scope semantic search (e.g. "SwiftUI", "UIKit", "LocalAuthentication") | |
| maxResults | No | Optional maximum number of results (default 20, max 100) | |
| symbolType | No | Optional symbol kind filter (struct, class, protocol, func, etc.) |