images_crop
Crop an SVG image by adding a non-destructive clipPath, keeping the original image href and geometry unchanged.
Instructions
Crops one SVG image non-destructively by applying a new local user-space clipPath; the original image href and geometry remain unchanged.
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": {
"clipId": "<clipId>",
"expectedRevision": "<expectedRevision>",
"height": "<height>",
"imageId": "<imageId>",
"path": "<path>",
"width": "<width>",
"workspaceId": "<workspaceId>",
"x": "<x>",
"y": "<y>"
},
"name": "images_crop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| path | Yes | ||
| width | Yes | ||
| clipId | Yes | ||
| height | Yes | ||
| imageId | Yes | ||
| workspaceId | Yes | ||
| expectedRevision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clipId | Yes | ||
| imageId | Yes | ||
| revision | Yes | ||
| backupCreated | Yes |