Open Native Overlay Modal
open_modalLaunches a frameless translucent desktop modal outside the chat iframe to display images or videos from local paths, keeping media previews separate from the conversation.
Instructions
App-only helper to launch a frameless translucent desktop modal outside the chat iframe.
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": {
"mode": "<mode>",
"paths": "<paths>"
},
"name": "open_modal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loop | No | ||
| mode | Yes | ||
| paths | Yes | ||
| startTime | No | ||
| startIndex | No |