Write a screen
pixl_write_screenSubmit a screen's HTML for validation against the token contract. On pass it is saved and live-rendered; on fail violations are returned for correction.
Instructions
Submit a screen's HTML. It is linted against the token contract; on pass it is saved to screens/.html and live-renders in the gallery, on fail the violations are returned and NOTHING is saved — fix them and resubmit.
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": {
"id": "<id>",
"name": "<name>",
"html": "<html>"
},
"name": "pixl_write_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Screen id; matches a screen from pixl_plan_screens. | |
| html | Yes | Full self-contained HTML document for the screen, sized to the viewport and using the contract's headBlock + role classes. | |
| name | Yes | Human-readable screen name. | |
| description | No |