Amigurumi shape calculator
circle_calculatorRead-onlyIdempotent
Work out the rounds for an amigurumi circle, ball or tube of a given size: sc in a spiral from a magic ring, staggered increases and decreases, stitch counts, size and yarn. Use when the user asks how many rounds or stitches they need for a size, or wants a basic shape for their own toy.
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": {
"shape": "<shape>",
"diameterCm": "<diameterCm>"
},
"name": "circle_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | The language of the user's conversation: 'ru' for Russian, else 'en'. | |
| yarn | No | Yarn weight; default dk. | |
| shape | Yes | circle = flat disc (ears, bases, eyes); ball = stuffed sphere (heads, bodies); tube = closed end and straight sides (arms, legs, bodies). | |
| lengthCm | No | Tube only: length from the closed end, in cm. | |
| diameterCm | Yes | Finished diameter in cm. | |
| roundsPer10cm | No | The user's measured gauge: rounds per 10 cm. | |
| stitchesPer10cm | No | The user's measured gauge: sc per 10 cm (needs roundsPer10cm). |