Get an Apple documentation page
get_apple_docFetch a complete Apple documentation page as structured Markdown, including declarations, parameters, availability, and related topics, from canonical developer.apple.com URLs.
Instructions
Retrieve a complete Apple documentation page as structured Markdown: declarations, parameters, return values, availability and deprecation, discussion with code listings, topics, relationships and see-also. Accepts canonical https://developer.apple.com/documentation/..., /design/human-interface-guidelines/... and /tutorials/... URLs (append ?language=objc for Objective-C). Content comes from Apple, cached locally for 7 days.
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": {
"url": "<url>"
},
"name": "get_apple_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Canonical Apple documentation URL, e.g. https://developer.apple.com/documentation/swiftui/view (add ?language=objc for Objective-C) | |
| max_related | No | Max items per related group (default 10, max 30) | |
| include_related | No | Include topics, relationships and see-also (default true) |