prepare_for_ai
Resize images, compress media, and extract video frames into a frame pack, returning file paths for AI tools.
Instructions
One-shot AI prep: images are resized/compressed; videos become a frame pack (default). Paths only — no inline base64.
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": {
"path": "<path>"
},
"name": "prepare_for_ai"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| job_id | No | ||
| profile | No | ai_vision |