Get WWDC Code Examples
get_wwdc_code_examplesRetrieve code examples from bundled WWDC sessions by framework, topic, language, or year. Each result includes code, session title, link, timestamp, and year.
Instructions
Code examples from the bundled WWDC sessions (no network): each with its title, its session's title, link and year, the time it appears, and the code. framework keeps the examples whose code mentions it, so "SwiftUI" matches any code that imports SwiftUI; topic, language and year filter too.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | WWDC year filter ("2025", "2024", etc.). | |
| limit | No | Max examples (default: 30). Each includes code and source video info. | |
| topic | No | A topic ID from browse_wwdc_topics, such as "swift" or "swiftui-ui-frameworks", keeps that topic's sessions; any other text, such as "animation", keeps the sessions whose title or topic names contain it. | |
| language | No | Programming language: "swift", "objc", "javascript", "metal". | |
| framework | No | Framework to find examples for. Examples: "SwiftUI", "SwiftData", "RealityKit". |