parse_template
Convert an imagor path into an editable template, so you can adjust the JSON and re-render instead of retyping.
Instructions
Read an imagor path back into a template, so one you already have can be edited rather than retyped. This is the inverse of render_template and the two are meant to be used together: render, look, adjust the JSON, render again. Read get_imagor_skill before composing anything. Note that the geometry comes back absolute - a path records the numbers a template resolved to, not the forms it was written in. To check a path without converting it, use validate_imagor_path.
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>"
},
"name": "parse_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | an imagor path, or a full URL, to read back into a template. The path is what render_template produces, so a path you already have can be turned into something you can edit. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| slots | Yes | ||
| values | No | ||
| background | Yes | ||
| canvas_width | Yes | ||
| canvas_height | Yes |