Your parts
canvas_libraryA library of reusable parts (logos, marks, a cast figure): your team's shared one (Teams) or your own (Studio Plus and Teams). scope: "team" or "mine"; without it, the team's when you have a seat, else your own; the reply says which it used. list: the parts by name. Colors, fonts and text styles live in a brand (canvas_brand). place: put a part on a canvas (canvas, else your open one) in one step, on the server, so nothing large passes through you: its master on the hidden shelf "library-shelf" (once per canvas) and an instance of it on the layer "library", where it was saved (scaled to fit when it would not), or at at, or with place {x, y, scale?} its centre on x, y; state picks drawings of its states groups for that placement; name names the instance. get: one part as ops for canvas_draw, with layer_edits for canvas_edit afterwards (they hide the shelf), when you want to change it before drawing; change the master and every placement follows. save: copy one object from your open canvas (target: its name or key, as canvas_list shows) into the library as a part called name, with anything it reuses; saving under a name already there replaces that part (its id kept). When Studio Plus ends, your own parts stay: list, get and place still work, and your person can rename and remove them on Your library; save does not.
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": {
"action": "<action>"
},
"name": "canvas_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | place: the instance's at {x, y, scale, sx, sy, rot, flip, origin} | |
| name | No | save: the part's name; place: the instance's name | |
| part | No | get, place: the part's name or id | |
| place | No | place: {x, y, scale?, rot?, flip?}: the instance's centre goes on x, y | |
| scope | No | which library: your team's or your own (default: the team's when you have a seat) | |
| state | No | place: {group name: drawing name or number} for the part's states groups | |
| action | Yes | list, get, place or save | |
| canvas | No | ||
| target | No | save: the object to save |