document_create
Create a new blank SVG document with defined width, height, and unit, make it current, and optionally add a full-page background rectangle.
Instructions
Create a new blank document and make it current. The viewBox matches width/height,
so coordinates are in unit. background (e.g. '#ffffff') adds a full-page rect with id 'background'.
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": {
"width": "<width>",
"height": "<height>"
},
"name": "document_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | px | |
| width | Yes | ||
| height | Yes | ||
| background | No |