get_documentation
Look up detailed Apple Developer documentation for a specific symbol or article, including Swift declarations, parameters, return types, and deprecations.
Instructions
Point lookup for detailed symbol or article documentation (Swift syntax declarations, parameters, return types, deprecations). Queries local SQLite database first, falling back to Apple DocC CDN. Not a search tool. Pass framework directly (e.g. framework: "SwiftUI") if known.
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": {
"path": "<path>"
},
"name": "get_documentation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Symbol path or relative name (e.g. "View", "GridItem", "documentation/SwiftUI/NavigationStack") | |
| concise | No | Optional. When true, returns compact token-budgeted output with declaration, parameters, and return types, omitting verbose discussion and topic sections. | |
| framework | No | Optional framework name (e.g. "SwiftUI", "UIKit"). If omitted, framework is auto-detected from path or local database. |