Lookup an Apple developer doc
apple_doc_lookupFetches live Apple developer documentation by framework path or URL and returns the requested node as Markdown or JSON, so coding agents can ground API answers in current source data.
Instructions
Fetch an Apple /documentation JSON node by path (e.g. 'swiftui/view', 'foundationmodels/languagemodel'). Returns live data (no cache).
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": "apple_doc_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Framework path or Apple documentation URL, e.g. `swiftui/view` or `https://developer.apple.com/documentation/swiftui/view`. | |
| format | No | Response format | markdown |