paths_boolean
Apply union, difference, intersection, exclusion, division, or cut to two SVG path IDs; ids[0] is target, ids[1] is cutter, then atomically publish a sanitized result.
Instructions
Runs an allowlisted native boolean, division, or cut operation on exactly two safe SVG path IDs in a staged copy, then atomically publishes the sanitized result. For difference, division, and cut, ids[0] is the target and ids[1] is the cutter.
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": {
"expectedRevision": "<expectedRevision>",
"ids": "<ids>",
"operation": "<operation>",
"path": "<path>",
"workspaceId": "<workspaceId>"
},
"name": "paths_boolean"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| path | Yes | ||
| operation | Yes | ||
| workspaceId | Yes | ||
| expectedRevision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | Yes | ||
| renamed | Yes | ||
| revision | Yes | ||
| operation | Yes | ||
| backupCreated | Yes |