update_screen_text
Update marketing headline or body text on a specific screen layer, preserving template highlight styling. Optionally highlight a word or hashtag.
Instructions
Update the marketing headline/body text on one screen (template text layer, not in-app UI text). Preserves template highlight styling (italic accent, pill) when the layer uses runs — call get_screens to see highlightStyle/templateHighlight. Optionally pass highlightPhrase to control which word gets the accent (e.g. "workouts" or "#habits").
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>",
"screenIndex": "<screenIndex>",
"layerId": "<layerId>",
"text": "<text>"
},
"name": "update_screen_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | New copy for this layer | |
| locale | No | ||
| layerId | Yes | Text layer id from get_screens | |
| projectId | Yes | ||
| screenIndex | Yes | ||
| highlightPhrase | No | Word or #hashtag to highlight — auto-picked when omitted |