search_docs
Search Apple Developer Documentation by semantic meaning using Xcode's local index. Retrieve full text, code examples, and match scores to answer Swift and Apple API questions accurately.
Instructions
Search Apple Developer Documentation by meaning, using Xcode's local documentation index. Returns full document text including code examples, with each result's uri and match score. Use this before answering from memory about Swift or Apple platform APIs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural-language or API search query. | |
| timeout | No | Seconds to wait for the bridge before failing. | |
| frameworks | No | Restrict the search to these frameworks, e.g. ['SwiftData']. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |