browser_gif
Record a Safari tab as an animated GIF using start, stop, status, and export actions; export requires ffmpeg and writes the file to the GIF directory.
Instructions
Record a tab as an animated GIF: start, stop, status, export. Export needs ffmpeg and writes the file to the GIF directory.
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>"
},
"name": "browser_gif"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | ||
| name | No | ||
| tabId | No | Tab id from browser_tabs. Default: current tab. | |
| width | No | ||
| action | Yes | ||
| backend | No | Backend: real = your Safari, driver = isolated safaridriver session. Default: session default. | |
| maxFrames | No |