Apple entity cross-references
apple_cross_referencesRetrieve incoming and outgoing cross-reference edges for a session, API, proposal, or sample to find related sessions, covered APIs, and implementation links.
Instructions
Returns outgoing and/or incoming edges from the cross-reference graph for a given entity. Use to find: which sessions mention an API, which proposals a session implements, which APIs a session covers, related sessions. Build the graph with npm run ingest -- --source cross-reference.
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": {
"entity_type": "<entity_type>",
"entity_id": "<entity_id>"
},
"name": "apple_cross_references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Response format | markdown |
| direction | No | 'out' = edges FROM this entity, 'in' = edges TO this entity, 'both' = all. | both |
| entity_id | Yes | Entity ID, e.g. 'wwdc2024-10016' for a session, 'swiftui/view' for a doc, 'SE-0428' for a proposal. | |
| entity_type | Yes | Type of the entity. |