add_text_overlay
Add text overlays to video streams, including dynamic date and time via format modifiers for real-time information display.
Instructions
Add a text overlay to the video stream. Supports format modifiers like %F (date), %T (time).
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": {
"text": "<text>"
},
"name": "add_text_overlay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X position (used if position not set) | |
| y | No | Y position (used if position not set) | |
| text | Yes | Overlay text (supports modifiers: %F=date, %T=time, %X=time, %x=date) | |
| color | No | Text color (e.g. white, black, red) | |
| camera | No | Camera/channel (default 0) | |
| fontSize | No | Font size | |
| position | No | Named position: topLeft, topRight, bottomLeft, bottomRight, top, bottom | |
| backgroundColor | No | Background color (e.g. transparent, black) |