Open Native Overlay Modal
open_modalLaunch a frameless, translucent desktop modal outside the chat iframe to preview local images or videos from provided paths.
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 |