Audit a size chart
audit_size_chartChecks a size chart and reports what is wrong with it or still unanswered, without changing it. Takes a size chart, never a person's measurements. Limits: one call per request; up to 60 sizes, 40 columns or measurements a size, and 64 characters a size label or measurement name; each table cell is read up to 200 characters. Send a chart in SizeRef chart format v1, or a table as html, csv, or headers and rows. variant_sizes compares the chart's size labels with the product's; product_title decides whether hips are kept for long tops such as a kurta or a dress; product_text gives the fit when the table does not state it. results[] holds one result per table found; the top-level verdict is the worst table's, so read results[] for each table. It cannot see the product page, so a pasted table is at best needs_fix until normalise_size_chart gets the answers.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "audit_size_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chart | No | ||
| table | No | ||
| product_text | No | ||
| product_title | No | ||
| variant_sizes | No |