Inspect GIF
inspect_gifInspect a local GIF file to get its size, dimensions, frame count, and animation status before compressing or adjusting it.
Instructions
Inspect a local GIF file and return its size, dimensions, frame count, and animation status.
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": {
"input_path": "<input_path>"
},
"name": "inspect_gif"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | Yes | Absolute or working-directory-relative path to a GIF file. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | ||
| height | Yes | ||
| size_mb | Yes | ||
| animated | Yes | ||
| input_path | Yes | ||
| size_bytes | Yes | ||
| frame_count | Yes |