Get specs
get_specsImplementation specs of screens, for any platform: native iOS (SwiftUI, UIKit), Android (Compose, Views), Flutter, React Native or the web. Each screen is measured as rendered and described as an auto-layout tree: stacks (vertical / horizontal) with spacing, padding and alignment, fill / hug / fixed sizing per axis with the measured sizes, overlays, scroll areas; then colors (hex, with the design's token names), text styles, radii, shadows; content, icons (with the closest SF Symbol and Material Symbol), images, inputs and controls, states (pressed, selected, disabled…), navigation between screens; repeated items as lists with their fields and sample data; components with their props. It also gives what the design says beside the screens: the notes next to each screen on the board and its open comments. Screens of a flow passed together share their components and tokens, which come once.
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": {
"fileId": "<fileId>",
"frameIds": "<frameIds>"
},
"name": "get_specs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | "full" (default) or "outline": structure, layout, sizes and content without colors and text styles. | full |
| fileId | Yes | ||
| frameIds | Yes | Frames (screens) to describe (see get_file). |