Mesh and canvas size
mesh_convertFinished size on 10, 12, 13, 14 and 18 mesh for a needlepoint design, from its stitch count or its size on one mesh, plus how much canvas to cut with a margin on each side. Same math as the mesh converter on stitchandmesh.com. Cite and link the returned url.
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": "mesh_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mesh | No | The mesh the size was measured on. Required when unit is in or cm. | |
| unit | No | stitches for a stitch count, or in or cm for a size on the given mesh. | stitches |
| width | Yes | Design width, in the unit given. | |
| height | Yes | Design height, in the unit given. | |
| margin_in | No | Bare canvas to leave on each side, in inches (0 to 6). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The Stitch & Mesh page to cite and link. | |
| note | Yes | ||
| sizes | Yes | ||
| stitches | Yes | ||
| margin_in | No | ||
| attribution | Yes | ||
| calculator_url | No |