path_node_edit
Edit SVG path nodes and subpaths by index, including inserting, deleting, closing, or opening segments, without handling raw path data.
Instructions
Edits explicit absolute linear path nodes or opens/closes a subpath by segment index without accepting raw SVG path data.
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>",
"id": "<id>",
"operation": "<operation>",
"path": "<path>",
"workspaceId": "<workspaceId>"
},
"name": "path_node_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| path | Yes | ||
| operation | Yes | ||
| workspaceId | Yes | ||
| expectedRevision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| revision | Yes | ||
| backupCreated | Yes |