capture_gif
Records a webpage and saves it directly as an animated GIF, combining video capture and GIF conversion in one step.
Instructions
Record a webpage and save directly as an animated GIF (combines record_video and video_to_gif)
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": {
"url": "<url>",
"outputPath": "<outputPath>"
},
"name": "capture_gif"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | Frames per second for the GIF (default: 10) | |
| url | Yes | URL to record | |
| width | No | Viewport width in pixels (default: 1280) | |
| height | No | Viewport height in pixels (default: 720) | |
| quality | No | Quality preset: 'low', 'medium', 'high' (default: 'medium') | medium |
| duration | No | Recording duration in milliseconds (default: 5000) | |
| gifWidth | No | Width of the output GIF (default: 800) | |
| outputPath | Yes | Path to save the GIF (e.g., /path/to/demo.gif) | |
| scrollToBottom | No | Automatically scroll to bottom during recording (default: false) |