path_effect
Apply live path effects like spiro, bspline, lattice, or knot to SVG elements, or list available effects, all without opening Inkscape's GUI.
Instructions
The 8 live path effects with no other headless route: sketch, rough_hatches, spiro, bspline, dynastroke, lattice, knot, vonkoch. Parameters and defaults taken from Inkscape's lpe-*.cpp. operation: list | apply.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "path_effect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| effect | No | Which live path effect to apply. | |
| new_id | No | id to give the object this tool creates. | |
| params | No | Extra parameters, passed through to the underlying effect. | |
| object_id | No | A single SVG element id. | |
| operation | No | Which operation to run. See the tool summary for valid values. | |
| input_path | No | Source file to read. | |
| output_path | No | File to write. Overwritten if it exists. |