get_screen_code
Retrieve a screen's raw HTML code from a Stitch project. Use it to analyze or generate code from design screens.
Instructions
Retrieves the HTML code content of a screen. Returns the raw HTML that can be used for code generation or analysis.
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": {
"projectId": "<projectId>",
"screenId": "<screenId>"
},
"name": "get_screen_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| screenId | Yes | The screen ID. | |
| projectId | Yes | The Stitch project ID. |