Control an overlay
control_overlayControl overlay and layer visibility, position, size, or content in Lumia Stream.
Instructions
Show or hide an overlay or a layer, move or resize a layer, or set a layer's content. "target" is the overlay name/uuid for the "visibility" action, or the layer id for the layer actions (both are found in Lumia's overlay settings).
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": {
"action": "<action>",
"target": "<target>"
},
"name": "control_overlay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | For "layer-position": X position. | |
| y | No | For "layer-position": Y position. | |
| width | No | For "layer-size": width in pixels. | |
| action | Yes | What to change. | |
| height | No | For "layer-size": height in pixels. | |
| target | Yes | Overlay name/uuid for "visibility"; layer id for the layer actions. | |
| content | No | For "content": the new content value. | |
| visible | No | For "visibility"/"layer-visibility": show (true) or hide (false). |