add_device_preset_tool
Create and save custom cropping and resizing presets for devices or formats not included in the default list, available across sessions.
Instructions
Create and persist a custom device/format preset for cropping and resizing.
Use this to add a preset for a device or format not in the built-in list. Custom presets are saved to disk and available in future sessions. Params: preset_id, name, width, height, category
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": {
"preset_id": "<preset_id>",
"name": "<name>",
"width": "<width>",
"height": "<height>"
},
"name": "add_device_preset_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset_id | Yes | ||
| name | Yes | ||
| width | Yes | ||
| height | Yes | ||
| category | No | custom |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||