papercanvas_create
Creates a new figure IR file and returns its path with the initial revision, enabling coding agents to start building versioned figures.
Instructions
Create a new figure IR file. Returns the path and initial revision.
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": {
"path": "<path>",
"figure_id": "<figure_id>"
},
"name": "papercanvas_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| width | No | ||
| height | No | ||
| margin | No | ||
| figure_id | Yes |