Thread to buy
thread_estimateHow much needlepoint thread to buy for an area, as a range of yards and skeins or cards, by stitch, mesh and thread. Same math and range as the thread estimator on stitchandmesh.com. Always an estimate. 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": {
"stitch": "<stitch>",
"width": "<width>",
"height": "<height>"
},
"name": "thread_estimate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mesh | No | Canvas mesh: 10, 12, 13, 14 or 18 holes per inch. | |
| unit | No | in | |
| width | Yes | Area width. | |
| height | Yes | Area height. | |
| stitch | Yes | The stitch, by slug, name or another name, such as basketweave or scotch. | |
| thread | No | perle5 (pearl cotton #5), perle3 (pearl cotton #3), floss (6-strand floss) or custom. | perle5 |
| strands | No | Strands in the needle, for floss only. | |
| add_extra | No | Add one extra skein or card for dye lot and mistakes. | |
| share_percent | No | Share of the area in this colour (1 to 100). | |
| yards_per_unit | No | Yards per card or skein. Required when thread is custom. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buy | Yes | ||
| url | Yes | The Stitch & Mesh page to cite and link. | |
| note | Yes | ||
| units | Yes | ||
| yards | Yes | ||
| thread | No | ||
| area_sq_in | No | ||
| stitch_url | No | ||
| attribution | Yes | ||
| estimator_url | No |