set_slice_pivot
Define a slice's pivot point by specifying coordinates relative to its origin.
Instructions
Set a slice's pivot point (relative to the slice origin).
Args: filename: Aseprite file to modify name: Slice name x: Pivot x, relative to the slice y: Pivot y, relative to the slice
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": {
"filename": "<filename>",
"name": "<name>",
"x": "<x>",
"y": "<y>"
},
"name": "set_slice_pivot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| name | Yes | ||
| x | Yes | ||
| y | Yes |