Tool tree
gradeNot graded
jig_probe_echoAction
Temporary capability probe. Echoes a token back so Jig can detect which argument form this browser accepts. Withdrawn as soon as the probe finishes, by aborting the signal it was registered with.
View tool JSON
{
"name": "jig_probe_echo",
"kind": "act",
"impl": "imperative",
"description": "Temporary capability probe. Echoes a token back so Jig can detect which argument form this browser accepts. Withdrawn as soon as the probe finishes, by aborting the signal it was registered with.",
"inputSchema": {
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"description": "Probe token, echoed back unchanged."
}
}
}
}read_patternAnswer
Returns the current pattern numbers: gauge, finished measurements, stitch counts, row counts, shaping distributions and skein counts. Use it to see the state of the document before proposing a change, and to confirm a change landed. Call with no arguments for a summary across all sizes, or name one size to get that size in full. Yarn name and fibre may come from a yarn database outside this site.
View tool JSON
{
"name": "read_pattern",
"kind": "answer",
"impl": "imperative",
"description": "Returns the current pattern numbers: gauge, finished measurements, stitch counts, row counts, shaping distributions and skein counts. Use it to see the state of the document before proposing a change, and to confirm a change landed. Call with no arguments for a summary across all sizes, or name one size to get that size in full. Yarn name and fibre may come from a yarn database outside this site.",
"inputSchema": {
"type": "object",
"properties": {
"size": {
"type": "string",
"description": "Size label such as M or 2X. Omit for a summary of every size."
},
"section": {
"type": "string",
"description": "One of yoke, body, sleeve, neckband, hem. Omit for all sections."
}
}
}
}read_chartAnswer
Returns the stitch chart for a panel as ordered text: for each row, the row number, the working direction, and each stitch group in worked order with its stitch count. Use it to read the cable panel, to check where repeat boundaries fall, and to describe the chart to someone who is not looking at the screen.
View tool JSON
{
"name": "read_chart",
"kind": "answer",
"impl": "imperative",
"description": "Returns the stitch chart for a panel as ordered text: for each row, the row number, the working direction, and each stitch group in worked order with its stitch count. Use it to read the cable panel, to check where repeat boundaries fall, and to describe the chart to someone who is not looking at the screen.",
"inputSchema": {
"type": "object",
"required": [
"panel"
],
"properties": {
"panel": {
"type": "string",
"description": "Panel id or label. The seeded pattern draws one: id cable, label cable panel."
},
"form": {
"type": "string",
"enum": [
"text",
"grid"
],
"description": "text for worked order rows, grid for symbol rows."
}
}
}
}audit_patternAction
Checks the finished pattern for internal contradictions across every size: panel repeats that do not divide, yoke targets the increase rounds cannot reach, shaping that will not land on whole rows, measurements that shrink as sizes grow, and sleeve caps inconsistent with armhole depth. Each finding names the rule, the size, the value and the values that would work. Use it before export.
View tool JSON
{
"name": "audit_pattern",
"kind": "act",
"impl": "imperative",
"description": "Checks the finished pattern for internal contradictions across every size: panel repeats that do not divide, yoke targets the increase rounds cannot reach, shaping that will not land on whole rows, measurements that shrink as sizes grow, and sleeve caps inconsistent with armhole depth. Each finding names the rule, the size, the value and the values that would work. Use it before export.",
"inputSchema": {
"type": "object",
"properties": {}
}
}set_gaugeAction
Sets the gauge for the whole pattern from a knitted swatch, in stitches and rows over four inches. Every stitch count, row count and yarn amount is recomputed from the new gauge while finished measurements stay as they are. Use it when the designer has swatched, or after a yarn change. Pass the numbers as measured, including fractions.
View tool JSON
{
"name": "set_gauge",
"kind": "act",
"impl": "imperative",
"description": "Sets the gauge for the whole pattern from a knitted swatch, in stitches and rows over four inches. Every stitch count, row count and yarn amount is recomputed from the new gauge while finished measurements stay as they are. Use it when the designer has swatched, or after a yarn change. Pass the numbers as measured, including fractions.",
"inputSchema": {
"type": "object",
"required": [
"stsPer4in",
"rowsPer4in"
],
"properties": {
"stsPer4in": {
"type": "number",
"description": "Stitches counted over four inches of swatch, for example 22."
},
"rowsPer4in": {
"type": "number",
"description": "Rows counted over four inches of swatch, for example 30."
}
}
}
}edit_numberAction
Sets one number on one size, such as a cast on count, a row count or a finished measurement. The value is checked against the panel repeat, the raglan increase arithmetic and the size run before it is accepted, and a value that does not fit comes back with the rule it breaks and the nearest values that work. Use it for a single targeted correction.
View tool JSON
{
"name": "edit_number",
"kind": "act",
"impl": "imperative",
"description": "Sets one number on one size, such as a cast on count, a row count or a finished measurement. The value is checked against the panel repeat, the raglan increase arithmetic and the size run before it is accepted, and a value that does not fit comes back with the rule it breaks and the nearest values that work. Use it for a single targeted correction.",
"inputSchema": {
"type": "object",
"required": [
"size",
"field",
"value"
],
"properties": {
"size": {
"type": "string",
"description": "Size label such as M or 2X."
},
"field": {
"type": "string",
"enum": [
"yokeCastOn",
"bodyStitches",
"increaseRounds",
"bodyBustIn",
"finishedBustIn",
"bodyLengthIn",
"armholeDepthIn",
"crossBackIn",
"neckDropIn",
"sleeveLengthIn",
"sleeveCapDepthIn",
"sleeveAreaIn2",
"yardsNeeded",
"skeins"
],
"description": "Which number to change. yokeCastOn is the cast on stitch count. Names ending In are inches."
},
"value": {
"type": "number",
"description": "New value. Stitch and row counts are whole numbers, measurements are inches."
}
}
}
}grade_sizesAction
Produces the full size run from the sample size across a bust range, up to thirteen sizes, applying two to four inches of fitting ease over body bust. Sizes appear one at a time as each is computed, and any size already computed is kept if the run is stopped. Use it to resize the sample garment across a publishable size range.
View tool JSON
{
"name": "grade_sizes",
"kind": "act",
"impl": "imperative",
"description": "Produces the full size run from the sample size across a bust range, up to thirteen sizes, applying two to four inches of fitting ease over body bust. Sizes appear one at a time as each is computed, and any size already computed is kept if the run is stopped. Use it to resize the sample garment across a publishable size range.",
"inputSchema": {
"type": "object",
"required": [
"fromSize",
"minBustIn",
"maxBustIn"
],
"properties": {
"fromSize": {
"type": "string",
"description": "Sample size label to grade from, for example M."
},
"minBustIn": {
"type": "number",
"description": "Smallest body bust in the run, in inches."
},
"maxBustIn": {
"type": "number",
"description": "Largest body bust in the run, in inches."
},
"sizeCount": {
"type": "integer",
"description": "How many sizes to produce, 2 to 13. Defaults to 9."
}
}
}
}substitute_yarnAction
Swaps the pattern to a different yarn, looking it up in a yarn database at another site, then recomputes gauge derived counts and skein counts for every size and reports the change in whole skeins. Use it when the designer wants a different yarn, or wants to know whether a substitute needs more skeins. Pass the yarn as the designer said it, brand and name together.
View tool JSON
{
"name": "substitute_yarn",
"kind": "act",
"impl": "imperative",
"description": "Swaps the pattern to a different yarn, looking it up in a yarn database at another site, then recomputes gauge derived counts and skein counts for every size and reports the change in whole skeins. Use it when the designer wants a different yarn, or wants to know whether a substitute needs more skeins. Pass the yarn as the designer said it, brand and name together.",
"inputSchema": {
"type": "object",
"required": [
"yarnQuery"
],
"properties": {
"yarnQuery": {
"type": "string",
"description": "Yarn as the designer named it, for example Brooklyn Tweed Shelter worsted."
}
}
}
}export_patternAction
Returns the finished pattern for all sizes as structured text: gauge, finished measurements, stitch counts, row counts, shaping instructions and skein counts. Available once an audit reports no contradictions. Use it when the pattern is ready to publish or hand to a test knitter. Yarn name and fibre may come from a yarn database outside this site.
View tool JSON
{
"name": "export_pattern",
"kind": "act",
"impl": "imperative",
"description": "Returns the finished pattern for all sizes as structured text: gauge, finished measurements, stitch counts, row counts, shaping instructions and skein counts. Available once an audit reports no contradictions. Use it when the pattern is ready to publish or hand to a test knitter. Yarn name and fibre may come from a yarn database outside this site.",
"inputSchema": {
"type": "object",
"properties": {
"format": {
"type": "string",
"enum": [
"markdown",
"plain"
],
"description": "markdown for headed sections, plain for unformatted text."
}
}
}
}fit_published_patternAnswer
Returns the pattern values for the graded size closest to a set of body measurements, together with any measurement that falls outside the graded range. Every value returned has passed the same checks the designer's own document passes. Use it to work a published pattern at your own measurements.
View tool JSON
{
"name": "fit_published_pattern",
"kind": "answer",
"impl": "imperative",
"description": "Returns the pattern values for the graded size closest to a set of body measurements, together with any measurement that falls outside the graded range. Every value returned has passed the same checks the designer's own document passes. Use it to work a published pattern at your own measurements.",
"inputSchema": {
"type": "object",
"required": [
"bustIn"
],
"properties": {
"bustIn": {
"type": "number",
"description": "Body bust in inches."
},
"backLengthIn": {
"type": "number",
"description": "Nape to hem in inches. Optional."
},
"sleeveLenIn": {
"type": "number",
"description": "Underarm to wrist in inches. Optional."
}
}
}
}setup_projectAction
Starts a project from a knitted swatch: stitch and row gauge over four inches, the size the sample garment was knitted in, and inches of ease over the body bust. Every stitch count, row count and skein count is recomputed at the gauge given, and the size run is graded from the sample. Values that the pattern cannot take come back with the rule they break and the nearest values that fit. Fill it in for the designer to confirm.
View tool JSON
{
"name": "setup_project",
"kind": "act",
"impl": "declarative",
"description": "Starts a project from a knitted swatch: stitch and row gauge over four inches, the size the sample garment was knitted in, and inches of ease over the body bust. Every stitch count, row count and skein count is recomputed at the gauge given, and the size run is graded from the sample. Values that the pattern cannot take come back with the rule they break and the nearest values that fit. Fill it in for the designer to confirm.",
"inputSchema": {
"type": "object",
"properties": {
"stsPer4in": {
"type": "string"
},
"rowsPer4in": {
"type": "string"
},
"sampleSize": {
"type": "string",
"enum": [
"M"
]
},
"easeIn": {
"type": "string"
}
}
}
}