{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "api.craftquantities.com",
    "site": "craftquantities.com",
    "addresses": [
      {
        "address": "172.67.193.172",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.192.0/20",
          "country": "US"
        }
      },
      {
        "address": "104.21.12.50",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.21.0.0/19",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3033::ac43:c1ac",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3033::/48",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3032::6815:c32",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3032::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "172.67.193.172",
          "104.21.12.50",
          "2606:4700:3033::ac43:c1ac",
          "2606:4700:3032::6815:c32"
        ],
        "first_seen": "2026-11-22T08:20:02.089Z",
        "last_seen": "2026-11-22T08:20:02.089Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "com.craftquantities/engine",
      "version": "1.8.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "com.craftquantities",
      "total": 0,
      "sample": []
    },
    "same_repository": null,
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "8475",
    "server_name": "com.craftquantities/engine",
    "url": "https://api.craftquantities.com/mcp",
    "host": "api.craftquantities.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T08:20:02.089Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "8e9f4f8afb0831998841ff6637a9597a5e74b44f52867a83a4b5b74333f3ffc2",
    "first_listed_at": "2026-11-21T07:52:03.118Z",
    "created_at": "2026-11-21T05:35:04.504Z",
    "resolved_addresses": [
      "172.67.193.172",
      "104.21.12.50",
      "2606:4700:3033::ac43:c1ac",
      "2606:4700:3032::6815:c32"
    ]
  },
  "server": {
    "name": "com.craftquantities/engine",
    "title": "Craft Quantities: construction material calculators",
    "description": "Construction quantities from cited calculators, takeoffs, planners, drawings, cut plans. No prices.",
    "version": "1.8.0",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://craftquantities.com/api/",
    "published_at": "2026-11-15T22:26:43.654Z",
    "updated_at": "2026-11-15T22:26:43.654Z",
    "first_seen": "2026-11-21T05:35:03.872Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:06:13.592Z"
  },
  "operator": null,
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 2,
    "answered": 2,
    "answered_percent": 100,
    "avg_listing_latency_ms": 1341,
    "first_check_in_window": "2026-11-21T07:52:03.118Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "8e9f4f8afb0831998841ff6637a9597a5e74b44f52867a83a4b5b74333f3ffc2",
    "tools": 59,
    "resources": 4,
    "prompts": 4,
    "first_seen": "2026-11-21T07:52:04.412Z",
    "tool_names": [
      "search",
      "fetch",
      "get_calculator",
      "calculate",
      "convert_units",
      "get_sources",
      "open_in_site_link",
      "get_takeoff",
      "run_takeoff",
      "get_example",
      "run_example",
      "create_project_file_from_calculations",
      "create_project_file_from_takeoffs",
      "create_project_file_from_house",
      "create_project_file_from_plan",
      "create_project_file_from_drawing",
      "check_quote",
      "estimate_house",
      "get_planner",
      "plan_room",
      "plan_project",
      "create_drawing",
      "import_quote",
      "diagnose_symptom",
      "solve_backwards",
      "market_documents",
      "translate_term",
      "create_supplier_quote_request",
      "get_benchmark",
      "measure_sketch",
      "export_drawing",
      "layout_reinforcement",
      "calculate_batch",
      "update_project",
      "classify_items",
      "resolve_id",
      "plan_programme",
      "optimise_cuts",
      "estimate_hours",
      "compare_on_job",
      "run_guide_chain",
      "run_example_live",
      "stair_flight",
      "level_quotes",
      "write_variation",
      "write_proposal",
      "make_job_sheet",
      "make_canvas_link",
      "get_illustration",
      "trim_corner",
      "plan_room_trim",
      "scribe_template",
      "fit_panel",
      "fit_worktop_run",
      "miter_chart",
      "print_template",
      "edit_drawing",
      "plan_set_takeoff",
      "roof_framing"
    ],
    "declared": {
      "tools": [
        {
          "name": "search",
          "title": "Search the construction calculators and pages",
          "description": "Searches the site's construction pages for a question in everyday words, such as how much concrete or tile a job needs, and returns the matching pages: id, kind, title, link, description and slug. It finds; it computes nothing.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "kinds": {
                "type": "array",
                "items": {
                  "enum": [
                    "calculator",
                    "takeoff",
                    "example",
                    "diagnosis"
                  ]
                },
                "minItems": 1,
                "description": "Only these kinds of result; every kind when left out."
              },
              "limit": {
                "type": "integer",
                "default": 10,
                "maximum": 25,
                "minimum": 1
              },
              "query": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "What to find, such as \"concrete slab\" or \"skirting board\"."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "results"
            ],
            "properties": {
              "results": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "title",
                    "url"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "The result's id: calculator:{slug}, takeoff:{id}, example:{slug} or diagnosis:{slug}."
                    },
                    "url": {
                      "type": "string"
                    },
                    "kind": {
                      "enum": [
                        "calculator",
                        "takeoff",
                        "example",
                        "diagnosis"
                      ]
                    },
                    "slug": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "category": {
                      "type": "string"
                    },
                    "description": {
                      "type": "string"
                    }
                  }
                }
              },
              "language": {
                "type": "object",
                "properties": {
                  "lang": {
                    "enum": [
                      "es-US",
                      "fr-CA",
                      "pt-BR"
                    ]
                  },
                  "note": {
                    "type": "string"
                  },
                  "label": {
                    "type": "object"
                  },
                  "localeLinks": {
                    "type": "boolean"
                  },
                  "englishPages": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                  },
                  "spanishLinks": {
                    "type": "boolean"
                  }
                },
                "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
              }
            }
          },
          "annotations": {
            "title": "Search the construction calculators and pages",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "fetch",
          "title": "Read one page as text",
          "description": "Returns the full text of one Craft Quantities page, identified by its id: what the page works out, its inputs or measurements with units and opening values, and its sources.",
          "inputSchema": {
            "type": "object",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "maxLength": 200,
                "description": "A page id, such as calculator:concrete-calculator, takeoff:concrete-slab or diagnosis:drain-gurgles."
              },
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "id",
              "title",
              "text",
              "url"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "text": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "language": {
                "type": "object",
                "properties": {
                  "lang": {
                    "enum": [
                      "es-US",
                      "fr-CA",
                      "pt-BR"
                    ]
                  },
                  "note": {
                    "type": "string"
                  },
                  "label": {
                    "type": "object"
                  },
                  "localeLinks": {
                    "type": "boolean"
                  },
                  "englishPages": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                  },
                  "spanishLinks": {
                    "type": "boolean"
                  }
                },
                "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
              },
              "metadata": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              }
            }
          },
          "annotations": {
            "title": "Read one page as text",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_calculator",
          "title": "Get one calculator's input fields",
          "description": "Returns the input fields of one calculator, identified by its slug: each field's id, label, accepted units, range and default value in metric and US units, with the calculator's version, page and citation. It computes nothing.",
          "inputSchema": {
            "type": "object",
            "required": [
              "slug"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "slug": {
                "type": "string",
                "pattern": "^[a-z0-9][a-z0-9-]{1,119}$",
                "description": "The calculator's slug, such as concrete-calculator."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "calculator",
                  "inputs",
                  "citation",
                  "licence"
                ],
                "properties": {
                  "inputs": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "label",
                        "type",
                        "help",
                        "opening"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "help": {
                          "type": "string"
                        },
                        "type": {
                          "enum": [
                            "number",
                            "select"
                          ]
                        },
                        "label": {
                          "type": "string"
                        },
                        "money": {
                          "enum": [
                            "rate",
                            "amount"
                          ]
                        },
                        "range": {
                          "type": "object",
                          "properties": {
                            "max": {
                              "type": "number"
                            },
                            "min": {
                              "type": "number"
                            }
                          }
                        },
                        "opening": {
                          "type": "object",
                          "required": [
                            "metric",
                            "imperial"
                          ]
                        },
                        "options": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "value",
                              "label"
                            ],
                            "properties": {
                              "label": {
                                "type": "string"
                              },
                              "value": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "baseUnit": {
                          "type": "string"
                        },
                        "dimension": {
                          "type": "string"
                        },
                        "acceptedUnits": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "related": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "changelog": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "date": {
                          "type": "string"
                        },
                        "change": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "testCases": {
                    "type": "integer"
                  },
                  "calculator": {
                    "type": "object",
                    "required": [
                      "slug",
                      "title",
                      "category",
                      "version",
                      "lastVerified",
                      "url",
                      "json"
                    ],
                    "properties": {
                      "url": {
                        "type": "string",
                        "description": "The calculator's page on craftquantities.com."
                      },
                      "json": {
                        "type": "string",
                        "description": "The calculator's static API document, with its test vectors."
                      },
                      "slug": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "version": {
                        "type": "string",
                        "description": "The calculator's own version; a result names the calculator that produced it."
                      },
                      "category": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "lastVerified": {
                        "type": "string",
                        "description": "The date the calculator's sources were last checked."
                      }
                    }
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Get one calculator's input fields",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "calculate",
          "title": "Calculate a material quantity (how much, how many)",
          "description": "Computes the result of one calculator, identified by its slug, from the input values given: the amount of material a job needs, such as the bags of concrete for a slab or the sheets of drywall for a room, counted in bags, sheets, studs, tiles, litres, gallons, cubic yards or m³. Returns it in metric and US units with the inputs used, sources, a citation and the page link. No prices.",
          "inputSchema": {
            "type": "object",
            "required": [
              "slug"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "slug": {
                "type": "string",
                "pattern": "^[a-z0-9][a-z0-9-]{1,119}$",
                "description": "The calculator's slug, such as concrete-calculator."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "inputs": {
                "type": "object",
                "description": "The calculator's input values, by input id (an unknown id is refused with the accepted ids). A length, area, volume or other measured input takes \"12 ft\", \"3.5 m\", \"8' 3 1/2\\\"\" or {\"value\": 12, \"unit\": \"ft\"}; a count or percentage takes a number; a select takes one of its option values. Inputs left out take the value the calculator's page opens on.",
                "maxProperties": 100,
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 200
                    },
                    {
                      "type": "object",
                      "required": [
                        "value"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "market": {
                "enum": [
                  "US",
                  "CA",
                  "UK",
                  "AU",
                  "INTL"
                ],
                "type": "string",
                "description": "Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              },
              "drawing": {
                "type": "boolean",
                "default": false,
                "description": "true adds the page's drawing as SVG, for the calculators that draw one: the tile set-out (tile-layout-calculator), the deck plan with joists, butt joints and fixings (deck-board-calculator), the wall elevation course by course with its cuts, openings and lintels (brick-calculator, cmu-block-grout-calculator), the drywall hanging layout (drywall-calculator), the stud and plate layout (framing-stud-calculator), the siding face with its trim runs (siding-calculator), the gutter runs with joints and downspouts (gutter-calculator) and the fence elevation with posts, rails, gates and post concrete (fence-calculator). Worded in the system asked for; a setting-out aid, nothing sized. Other calculators refuse it."
              },
              "explain": {
                "type": "boolean",
                "default": false,
                "description": "true adds the working: the inputs as the calculator received them, every intermediate figure its own compute reports with its unit, the range check and the unit restatement, ending on the same figures. The answer's figures are identical either way."
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "calculator",
                  "system",
                  "inputs",
                  "result",
                  "sources",
                  "citation",
                  "links",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "links": {
                    "type": "object",
                    "required": [
                      "page",
                      "open"
                    ],
                    "properties": {
                      "open": {
                        "type": "string",
                        "description": "Opens the page on these inputs."
                      },
                      "page": {
                        "type": "string"
                      }
                    }
                  },
                  "engine": {
                    "type": "object",
                    "required": [
                      "name",
                      "version",
                      "api"
                    ],
                    "properties": {
                      "api": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "version": {
                        "type": "string"
                      }
                    }
                  },
                  "inputs": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "label",
                        "type",
                        "value",
                        "source"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "read": {
                          "type": "string"
                        },
                        "type": {
                          "enum": [
                            "number",
                            "select"
                          ]
                        },
                        "label": {
                          "type": "string"
                        },
                        "value": {
                          "type": [
                            "number",
                            "string"
                          ]
                        },
                        "metric": {
                          "type": "object",
                          "required": [
                            "value",
                            "unit"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string"
                            },
                            "value": {
                              "type": "number"
                            }
                          }
                        },
                        "option": {
                          "type": "string"
                        },
                        "source": {
                          "enum": [
                            "caller",
                            "default"
                          ]
                        },
                        "baseUnit": {
                          "type": "string"
                        },
                        "imperial": {
                          "type": "object",
                          "required": [
                            "value",
                            "unit"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string"
                            },
                            "value": {
                              "type": "number"
                            }
                          }
                        },
                        "dimension": {
                          "type": "string"
                        }
                      }
                    },
                    "description": "Every input the calculation ran on, and where each came from."
                  },
                  "market": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "notice": {
                    "type": "string"
                  },
                  "result": {
                    "type": "object",
                    "required": [
                      "label",
                      "metric",
                      "imperial"
                    ],
                    "properties": {
                      "label": {
                        "type": "string"
                      },
                      "metric": {
                        "type": "object",
                        "required": [
                          "value",
                          "unit",
                          "printed",
                          "breakdown",
                          "confidence",
                          "isComparison",
                          "canonical"
                        ],
                        "properties": {
                          "unit": {
                            "type": "string"
                          },
                          "value": {
                            "anyOf": [
                              {
                                "type": "number",
                                "description": "The headline in this system; null where a rate it needs is not given."
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "printed": {
                            "anyOf": [
                              {
                                "type": "string",
                                "description": "The headline exactly as the page prints it."
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "withheld": {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "missingRates": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "input": {
                                          "type": "string"
                                        },
                                        "label": {
                                          "type": "string"
                                        }
                                      }
                                    }
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "allowance": {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "base": {
                                    "type": "number"
                                  },
                                  "label": {
                                    "type": "string"
                                  },
                                  "percent": {
                                    "type": "number"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "breakdown": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "label",
                                "value",
                                "unit",
                                "printed"
                              ],
                              "properties": {
                                "unit": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "value": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "printed": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "canonical": {
                            "type": "object",
                            "required": [
                              "value",
                              "unit"
                            ],
                            "properties": {
                              "unit": {
                                "type": "string"
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "description": "The figure in the calculator's own unit, before the display adapter: what its test vectors pin."
                          },
                          "confidence": {
                            "enum": [
                              "high",
                              "medium",
                              "low"
                            ]
                          },
                          "limitations": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "isComparison": {
                            "type": "boolean",
                            "description": "The figure is set against a limit. It is not an approval."
                          },
                          "confidenceNote": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      },
                      "imperial": {
                        "type": "object",
                        "required": [
                          "value",
                          "unit",
                          "printed",
                          "breakdown",
                          "confidence",
                          "isComparison",
                          "canonical"
                        ],
                        "properties": {
                          "unit": {
                            "type": "string"
                          },
                          "value": {
                            "anyOf": [
                              {
                                "type": "number",
                                "description": "The headline in this system; null where a rate it needs is not given."
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "printed": {
                            "anyOf": [
                              {
                                "type": "string",
                                "description": "The headline exactly as the page prints it."
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "withheld": {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "missingRates": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "input": {
                                          "type": "string"
                                        },
                                        "label": {
                                          "type": "string"
                                        }
                                      }
                                    }
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "allowance": {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "base": {
                                    "type": "number"
                                  },
                                  "label": {
                                    "type": "string"
                                  },
                                  "percent": {
                                    "type": "number"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "breakdown": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "label",
                                "value",
                                "unit",
                                "printed"
                              ],
                              "properties": {
                                "unit": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "value": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "printed": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "canonical": {
                            "type": "object",
                            "required": [
                              "value",
                              "unit"
                            ],
                            "properties": {
                              "unit": {
                                "type": "string"
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "description": "The figure in the calculator's own unit, before the display adapter: what its test vectors pin."
                          },
                          "confidence": {
                            "enum": [
                              "high",
                              "medium",
                              "low"
                            ]
                          },
                          "limitations": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "isComparison": {
                            "type": "boolean",
                            "description": "The figure is set against a limit. It is not an approval."
                          },
                          "confidenceNote": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      }
                    }
                  },
                  "system": {
                    "enum": [
                      "metric",
                      "imperial"
                    ]
                  },
                  "drawing": {
                    "type": "object",
                    "required": [
                      "kind",
                      "format",
                      "title",
                      "summary",
                      "svg",
                      "system",
                      "scale",
                      "counts",
                      "notice"
                    ],
                    "properties": {
                      "svg": {
                        "type": "string",
                        "description": "A standalone SVG (light colours), 640 units wide."
                      },
                      "kind": {
                        "enum": [
                          "tile",
                          "deck",
                          "brick",
                          "block",
                          "drywall",
                          "framing",
                          "siding",
                          "gutter",
                          "fence"
                        ]
                      },
                      "scale": {
                        "type": "object",
                        "required": [
                          "unitsPerMetre",
                          "extent"
                        ],
                        "properties": {
                          "extent": {
                            "type": "object",
                            "required": [
                              "width",
                              "height"
                            ],
                            "properties": {
                              "width": {
                                "type": "number"
                              },
                              "height": {
                                "type": "number"
                              }
                            }
                          },
                          "unitsPerMetre": {
                            "type": "number"
                          }
                        },
                        "description": "SVG units per metre of the drawn element, and its extent in metres, to print it to a scale."
                      },
                      "title": {
                        "type": "string"
                      },
                      "counts": {
                        "type": "object",
                        "description": "What the drawing lays: tiles full and cut; joists, rows, fasteners and hangers; courses, whole and cut units and openings; boards whole and cut; studs and plate pieces; trim runs; gutter sections and downspouts; fence bays, posts and pickets.",
                        "additionalProperties": {
                          "type": "number"
                        }
                      },
                      "format": {
                        "const": "svg"
                      },
                      "notice": {
                        "type": "string"
                      },
                      "system": {
                        "enum": [
                          "metric",
                          "imperial"
                        ]
                      },
                      "summary": {
                        "type": "string",
                        "description": "One sentence describing the drawing, in the system asked for."
                      }
                    },
                    "description": "Only when drawing is true. The SVG is the page's own drawing from the same model the answer counts from."
                  },
                  "explain": {
                    "type": "object",
                    "required": [
                      "about",
                      "coverage",
                      "steps",
                      "final",
                      "limits"
                    ],
                    "properties": {
                      "about": {
                        "type": "string"
                      },
                      "final": {
                        "type": "object",
                        "required": [
                          "metric",
                          "imperial"
                        ],
                        "properties": {
                          "metric": {
                            "type": "object",
                            "required": [
                              "value",
                              "unit",
                              "printed"
                            ],
                            "properties": {
                              "unit": {
                                "type": "string"
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "printed": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            }
                          },
                          "imperial": {
                            "type": "object",
                            "required": [
                              "value",
                              "unit",
                              "printed"
                            ],
                            "properties": {
                              "unit": {
                                "type": "string"
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "printed": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            }
                          }
                        },
                        "description": "The figures the answer returns, copied from it."
                      },
                      "steps": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "n",
                            "kind",
                            "system",
                            "label",
                            "text"
                          ],
                          "properties": {
                            "n": {
                              "type": "integer"
                            },
                            "kind": {
                              "enum": [
                                "input",
                                "intermediate",
                                "result",
                                "allowance",
                                "range",
                                "rates",
                                "display"
                              ]
                            },
                            "text": {
                              "type": "string",
                              "description": "The step in words."
                            },
                            "unit": {
                              "type": "string",
                              "description": "The calculator's own (base) unit for the value."
                            },
                            "label": {
                              "type": "string"
                            },
                            "value": {
                              "anyOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "metric": {
                              "type": "object",
                              "required": [
                                "value",
                                "unit"
                              ],
                              "properties": {
                                "unit": {
                                  "type": "string"
                                },
                                "value": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            },
                            "source": {
                              "enum": [
                                "caller",
                                "default"
                              ]
                            },
                            "system": {
                              "enum": [
                                "metric",
                                "imperial",
                                "both"
                              ]
                            },
                            "movedBy": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "description": "Input ids whose change moved this figure, measured by running compute again."
                            },
                            "imperial": {
                              "type": "object",
                              "required": [
                                "value",
                                "unit"
                              ],
                              "properties": {
                                "unit": {
                                  "type": "string"
                                },
                                "value": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            }
                          }
                        }
                      },
                      "limits": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "What the trace does not show, and why."
                      },
                      "coverage": {
                        "enum": [
                          "intermediates",
                          "result-only"
                        ],
                        "description": "result-only: the calculator reports no figures between its inputs and its result."
                      }
                    },
                    "description": "Only when explain is true. Each figure is the calculator's own; no step is a formula written for the engine."
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "sources": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "label"
                      ],
                      "properties": {
                        "url": {
                          "type": "string",
                          "description": "Only where the calculator gives one; none is invented."
                        },
                        "label": {
                          "type": "string",
                          "description": "The source as the calculator cites it."
                        },
                        "references": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "kind",
                              "document"
                            ],
                            "properties": {
                              "body": {
                                "type": "string"
                              },
                              "kind": {
                                "enum": [
                                  "code",
                                  "standard"
                                ]
                              },
                              "edition": {
                                "type": "string"
                              },
                              "section": {
                                "type": "string"
                              },
                              "document": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "calculator": {
                    "type": "object",
                    "required": [
                      "slug",
                      "title",
                      "category",
                      "version",
                      "lastVerified",
                      "url",
                      "json"
                    ],
                    "properties": {
                      "url": {
                        "type": "string",
                        "description": "The calculator's page on craftquantities.com."
                      },
                      "json": {
                        "type": "string",
                        "description": "The calculator's static API document, with its test vectors."
                      },
                      "slug": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "version": {
                        "type": "string",
                        "description": "The calculator's own version; a result names the calculator that produced it."
                      },
                      "category": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "lastVerified": {
                        "type": "string",
                        "description": "The date the calculator's sources were last checked."
                      }
                    }
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Calculate a material quantity (how much, how many)",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "convert_units",
          "title": "Convert a construction unit",
          "description": "Converts one value from one unit to another, for example 2 m³ to cubic yards, with the exact factor the site's calculators apply, and returns the converted value and the factor.",
          "inputSchema": {
            "type": "object",
            "required": [
              "value",
              "from",
              "to"
            ],
            "properties": {
              "to": {
                "type": "string",
                "maxLength": 40
              },
              "from": {
                "type": "string",
                "maxLength": 40
              },
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "value": {
                "type": "number"
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "dimension": {
                "type": "string",
                "maxLength": 40,
                "description": "Only where a unit names more than one kind of quantity."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "value",
                  "from",
                  "to",
                  "dimension",
                  "factor"
                ],
                "properties": {
                  "to": {
                    "type": "object",
                    "required": [
                      "unit",
                      "symbol",
                      "label",
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "value": {
                        "type": "number"
                      },
                      "symbol": {
                        "type": "string"
                      }
                    }
                  },
                  "from": {
                    "type": "object",
                    "required": [
                      "unit",
                      "symbol",
                      "label"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "symbol": {
                        "type": "string"
                      }
                    }
                  },
                  "value": {
                    "type": "number"
                  },
                  "factor": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "dimension": {
                    "type": "string"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Convert a construction unit",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_sources",
          "title": "Sources and citation for a calculation",
          "description": "Where does a figure come from, and how is it cited? Returns a calculator's sources as it cites them, the codes and standards they name, the site's standards pages, and a citation in plain, APA, Harvard and BibTeX. It adds no source the calculator does not cite.",
          "inputSchema": {
            "type": "object",
            "required": [
              "slug"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "slug": {
                "type": "string",
                "pattern": "^[a-z0-9][a-z0-9-]{1,119}$",
                "description": "The calculator's slug, such as concrete-calculator."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "calculator",
                  "sources",
                  "standards",
                  "citation",
                  "licence"
                ],
                "properties": {
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "sources": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "label"
                      ],
                      "properties": {
                        "url": {
                          "type": "string",
                          "description": "Only where the calculator gives one; none is invented."
                        },
                        "label": {
                          "type": "string",
                          "description": "The source as the calculator cites it."
                        },
                        "references": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "kind",
                              "document"
                            ],
                            "properties": {
                              "body": {
                                "type": "string"
                              },
                              "kind": {
                                "enum": [
                                  "code",
                                  "standard"
                                ]
                              },
                              "edition": {
                                "type": "string"
                              },
                              "section": {
                                "type": "string"
                              },
                              "document": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "standards": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "title",
                        "page"
                      ],
                      "properties": {
                        "page": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "publisher": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "calculator": {
                    "type": "object",
                    "required": [
                      "slug",
                      "title",
                      "category",
                      "version",
                      "lastVerified",
                      "url",
                      "json"
                    ],
                    "properties": {
                      "url": {
                        "type": "string",
                        "description": "The calculator's page on craftquantities.com."
                      },
                      "json": {
                        "type": "string",
                        "description": "The calculator's static API document, with its test vectors."
                      },
                      "slug": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "version": {
                        "type": "string",
                        "description": "The calculator's own version; a result names the calculator that produced it."
                      },
                      "category": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "lastVerified": {
                        "type": "string",
                        "description": "The date the calculator's sources were last checked."
                      }
                    }
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Sources and citation for a calculation",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "open_in_site_link",
          "title": "Link to the calculator page with these figures",
          "description": "Returns a link that opens a construction calculator's page on craftquantities.com with the reader's figures filled in and their unit system, so a person can see or change the working on the page.",
          "inputSchema": {
            "type": "object",
            "required": [
              "slug"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "slug": {
                "type": "string",
                "pattern": "^[a-z0-9][a-z0-9-]{1,119}$",
                "description": "The calculator's slug, such as concrete-calculator."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "inputs": {
                "type": "object",
                "description": "The calculator's input values, by input id (an unknown id is refused with the accepted ids). A length, area, volume or other measured input takes \"12 ft\", \"3.5 m\", \"8' 3 1/2\\\"\" or {\"value\": 12, \"unit\": \"ft\"}; a count or percentage takes a number; a select takes one of its option values. Inputs left out take the value the calculator's page opens on.",
                "maxProperties": 100,
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 200
                    },
                    {
                      "type": "object",
                      "required": [
                        "value"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "market": {
                "enum": [
                  "US",
                  "CA",
                  "UK",
                  "AU",
                  "INTL"
                ],
                "type": "string",
                "description": "Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "url",
                  "page",
                  "inputs"
                ],
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "Opens the calculator's page on these inputs, in the chosen system."
                  },
                  "page": {
                    "type": "string"
                  },
                  "inputs": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "label",
                        "type",
                        "value",
                        "source"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "read": {
                          "type": "string"
                        },
                        "type": {
                          "enum": [
                            "number",
                            "select"
                          ]
                        },
                        "label": {
                          "type": "string"
                        },
                        "value": {
                          "type": [
                            "number",
                            "string"
                          ]
                        },
                        "metric": {
                          "type": "object",
                          "required": [
                            "value",
                            "unit"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string"
                            },
                            "value": {
                              "type": "number"
                            }
                          }
                        },
                        "option": {
                          "type": "string"
                        },
                        "source": {
                          "enum": [
                            "caller",
                            "default"
                          ]
                        },
                        "baseUnit": {
                          "type": "string"
                        },
                        "imperial": {
                          "type": "object",
                          "required": [
                            "value",
                            "unit"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string"
                            },
                            "value": {
                              "type": "number"
                            }
                          }
                        },
                        "dimension": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Link to the calculator page with these figures",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_takeoff",
          "title": "Get one takeoff's measurements",
          "description": "Returns the measurements one whole-job takeoff needs, identified by its id: each measurement's id, unit and opening figure, its build-up choices, the calculators it runs and what it leaves out.",
          "inputSchema": {
            "type": "object",
            "required": [
              "takeoff"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "takeoff": {
                "type": "string",
                "pattern": "^[a-z0-9][a-z0-9-]{1,119}$",
                "description": "A takeoff id, such as concrete-slab."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "takeoff",
                  "measurements",
                  "choices",
                  "steps",
                  "excludes",
                  "citation",
                  "licence"
                ],
                "properties": {
                  "steps": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "key",
                        "calculator",
                        "name"
                      ]
                    }
                  },
                  "choices": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "label",
                        "options",
                        "opening"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "label": {
                          "type": "string"
                        },
                        "opening": {
                          "type": "object"
                        },
                        "options": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "id",
                              "label"
                            ]
                          }
                        }
                      }
                    }
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "takeoff": {
                    "type": "object",
                    "required": [
                      "id",
                      "name",
                      "category",
                      "description",
                      "url"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string",
                        "description": "The takeoff's page on craftquantities.com."
                      },
                      "name": {
                        "type": "string"
                      },
                      "category": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      }
                    }
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "excludes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "measurements": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "label",
                        "opening"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "help": {
                          "type": "string"
                        },
                        "basis": {
                          "type": "object",
                          "properties": {
                            "source": {
                              "type": "object",
                              "required": [
                                "kind"
                              ],
                              "properties": {
                                "kind": {
                                  "type": "string"
                                }
                              }
                            },
                            "unsourced": {
                              "type": "string"
                            }
                          },
                          "description": "Where a figure comes from: a source the site publishes, or the reason there is none."
                        },
                        "label": {
                          "type": "string"
                        },
                        "opening": {
                          "type": "object"
                        },
                        "dimension": {
                          "type": "string"
                        },
                        "acceptedUnits": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Get one takeoff's measurements",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "run_takeoff",
          "title": "Materials list for a whole job (takeoff)",
          "description": "Works one whole-job takeoff, identified by its id, from the measurements given: the materials list of a job such as a slab or a deck, each line from its own calculator, with what to order, waste allowances, metric and US units, labour hours (not a price), what is not counted, a citation and the page link. It does not size structure.",
          "inputSchema": {
            "type": "object",
            "required": [
              "takeoff"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "market": {
                "enum": [
                  "US",
                  "CA",
                  "UK",
                  "AU",
                  "INTL"
                ],
                "type": "string",
                "description": "Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              },
              "takeoff": {
                "type": "string",
                "pattern": "^[a-z0-9][a-z0-9-]{1,119}$",
                "description": "A takeoff id, such as concrete-slab."
              },
              "leaveOut": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 120
                },
                "maxItems": 100,
                "description": "Rows the reader leaves out of the job: still worked and shown, not put in the project or counted in labour."
              },
              "selection": {
                "type": "object",
                "description": "Build-up choice id → option id, the takeoff's own (a stud size, an insulation, a cladding). Choices left out take the page's own for the system.",
                "maxProperties": 20,
                "additionalProperties": {
                  "type": "string",
                  "maxLength": 80
                }
              },
              "allowances": {
                "type": "object",
                "description": "Row → an allowance the reader sets: a percentage (cutting waste, overlap), or the option an allowance follows (a lay pattern). Row names are the takeoff's steps (the calculator slug, or the step key where one runs twice).",
                "maxProperties": 50,
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "number",
                      "maximum": 100,
                      "minimum": 0
                    },
                    {
                      "type": "string",
                      "maxLength": 80
                    }
                  ]
                }
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              },
              "measurements": {
                "type": "object",
                "description": "Measurement id → value, each length, area or volume with its unit (\"12 ft\", {\"value\": 3.6, \"unit\": \"m\"}); counts as numbers. Ids are those of the takeoff; any left out opens at the page's own figure.",
                "maxProperties": 50,
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 200
                    },
                    {
                      "type": "object",
                      "required": [
                        "value"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                }
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "takeoff",
                  "system",
                  "selection",
                  "measurements",
                  "rows",
                  "sizingWithheld",
                  "labour",
                  "excludes",
                  "sources",
                  "citation",
                  "links",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "rows": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "key",
                        "name",
                        "calculator",
                        "state",
                        "quantity",
                        "unit",
                        "order",
                        "chain",
                        "printed",
                        "otherSystem",
                        "inputs"
                      ],
                      "properties": {
                        "key": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "note": {
                          "type": "string"
                        },
                        "unit": {
                          "type": "string"
                        },
                        "chain": {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "base": {
                                  "type": "number"
                                },
                                "mode": {
                                  "type": "string"
                                },
                                "allowanceName": {
                                  "type": "string"
                                },
                                "allowancePercent": {
                                  "type": "number"
                                },
                                "calculatorVersion": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "order": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "quantity",
                                "unit",
                                "rule"
                              ],
                              "properties": {
                                "rule": {
                                  "enum": [
                                    "pack",
                                    "whole",
                                    "as-measured"
                                  ]
                                },
                                "unit": {
                                  "type": "string"
                                },
                                "quantity": {
                                  "type": "number"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "state": {
                          "enum": [
                            "ready",
                            "untraced",
                            "pending",
                            "failed",
                            "no-answer"
                          ]
                        },
                        "inputs": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "id",
                              "value",
                              "origin"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "basis": {
                                "type": "object",
                                "properties": {
                                  "source": {
                                    "type": "object",
                                    "required": [
                                      "kind"
                                    ],
                                    "properties": {
                                      "kind": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  "unsourced": {
                                    "type": "string"
                                  }
                                },
                                "description": "Where a figure comes from: a source the site publishes, or the reason there is none."
                              },
                              "value": {
                                "type": [
                                  "number",
                                  "string"
                                ]
                              },
                              "origin": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "leftOut": {
                          "type": "boolean"
                        },
                        "printed": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "quantity": {
                          "anyOf": [
                            {
                              "type": "number",
                              "description": "What a project line carries, after any allowance, in this system's unit."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "calculator": {
                          "type": "object",
                          "required": [
                            "slug",
                            "title",
                            "url"
                          ],
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "slug": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "version": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          }
                        },
                        "labourHours": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "low",
                                "likely",
                                "high"
                              ],
                              "properties": {
                                "low": {
                                  "type": "number"
                                },
                                "high": {
                                  "type": "number"
                                },
                                "likely": {
                                  "type": "number"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "otherSystem": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "quantity",
                                "unit"
                              ],
                              "properties": {
                                "unit": {
                                  "type": "string"
                                },
                                "quantity": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "alternativeTo": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "page",
                      "open"
                    ],
                    "properties": {
                      "open": {
                        "type": "string",
                        "description": "Opens the takeoff page on this job."
                      },
                      "page": {
                        "type": "string"
                      }
                    }
                  },
                  "engine": {
                    "type": "object"
                  },
                  "labour": {
                    "type": "object",
                    "required": [
                      "rows",
                      "totalHours",
                      "programme",
                      "likelyDays",
                      "note"
                    ],
                    "properties": {
                      "note": {
                        "type": "string"
                      },
                      "rows": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "key",
                            "name",
                            "kind"
                          ],
                          "properties": {
                            "key": {
                              "type": "string"
                            },
                            "kind": {
                              "enum": [
                                "rated",
                                "part",
                                "not-rated",
                                "unmeasured",
                                "no-work",
                                "sizing"
                              ]
                            },
                            "name": {
                              "type": "string"
                            },
                            "rate": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "per": {
                                  "type": "string"
                                },
                                "basis": {
                                  "type": "string"
                                },
                                "source": {
                                  "type": "string"
                                },
                                "operation": {
                                  "type": "string"
                                },
                                "whatMovesIt": {
                                  "type": "string"
                                },
                                "personHoursPerUnit": {
                                  "type": "object",
                                  "required": [
                                    "low",
                                    "likely",
                                    "high"
                                  ],
                                  "properties": {
                                    "low": {
                                      "type": "number"
                                    },
                                    "high": {
                                      "type": "number"
                                    },
                                    "likely": {
                                      "type": "number"
                                    }
                                  }
                                }
                              }
                            },
                            "unit": {
                              "type": "string"
                            },
                            "hours": {
                              "type": "object",
                              "required": [
                                "low",
                                "likely",
                                "high"
                              ],
                              "properties": {
                                "low": {
                                  "type": "number"
                                },
                                "high": {
                                  "type": "number"
                                },
                                "likely": {
                                  "type": "number"
                                }
                              }
                            },
                            "reason": {
                              "type": "string"
                            },
                            "countedWith": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      },
                      "programme": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "trade",
                            "crew",
                            "rows",
                            "hours",
                            "days",
                            "startDay"
                          ]
                        }
                      },
                      "likelyDays": {
                        "type": "number"
                      },
                      "totalHours": {
                        "type": "object",
                        "required": [
                          "low",
                          "likely",
                          "high"
                        ],
                        "properties": {
                          "low": {
                            "type": "number"
                          },
                          "high": {
                            "type": "number"
                          },
                          "likely": {
                            "type": "number"
                          }
                        }
                      }
                    }
                  },
                  "market": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "notice": {
                    "type": "string"
                  },
                  "system": {
                    "enum": [
                      "metric",
                      "imperial"
                    ]
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "sources": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "calculator",
                        "title",
                        "version",
                        "sources"
                      ],
                      "properties": {
                        "title": {
                          "type": "string"
                        },
                        "sources": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "label"
                            ],
                            "properties": {
                              "url": {
                                "type": "string",
                                "description": "Only where the calculator gives one; none is invented."
                              },
                              "label": {
                                "type": "string",
                                "description": "The source as the calculator cites it."
                              },
                              "references": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "required": [
                                    "kind",
                                    "document"
                                  ],
                                  "properties": {
                                    "body": {
                                      "type": "string"
                                    },
                                    "kind": {
                                      "enum": [
                                        "code",
                                        "standard"
                                      ]
                                    },
                                    "edition": {
                                      "type": "string"
                                    },
                                    "section": {
                                      "type": "string"
                                    },
                                    "document": {
                                      "type": "string"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        "version": {
                          "type": "string"
                        },
                        "calculator": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "takeoff": {
                    "type": "object",
                    "required": [
                      "id",
                      "name",
                      "category",
                      "description",
                      "url"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string",
                        "description": "The takeoff's page on craftquantities.com."
                      },
                      "name": {
                        "type": "string"
                      },
                      "category": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      }
                    }
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "excludes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "selection": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "string"
                    }
                  },
                  "measurements": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "label",
                        "value",
                        "source"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "read": {
                          "type": "string"
                        },
                        "basis": {
                          "type": "object",
                          "properties": {
                            "source": {
                              "type": "object",
                              "required": [
                                "kind"
                              ],
                              "properties": {
                                "kind": {
                                  "type": "string"
                                }
                              }
                            },
                            "unsourced": {
                              "type": "string"
                            }
                          },
                          "description": "Where a figure comes from: a source the site publishes, or the reason there is none."
                        },
                        "label": {
                          "type": "string"
                        },
                        "value": {
                          "type": "number"
                        },
                        "metric": {
                          "type": "object",
                          "required": [
                            "value",
                            "unit"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string"
                            },
                            "value": {
                              "type": "number"
                            }
                          }
                        },
                        "source": {
                          "enum": [
                            "caller",
                            "default"
                          ]
                        },
                        "baseUnit": {
                          "type": "string"
                        },
                        "imperial": {
                          "type": "object",
                          "required": [
                            "value",
                            "unit"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string"
                            },
                            "value": {
                              "type": "number"
                            }
                          }
                        },
                        "dimension": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "sizingWithheld": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Materials list for a whole job (takeoff)",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_example",
          "title": "Get one worked example",
          "description": "Returns one worked construction estimate from the site, identified by its slug: the measurements, the steps in order with the calculator each uses, the figure each step pins and the waste chosen.",
          "inputSchema": {
            "type": "object",
            "required": [
              "slug"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "slug": {
                "type": "string",
                "pattern": "^[a-z0-9][a-z0-9-]{1,119}$",
                "description": "A worked example's slug, such as bathroom-gutted-and-retiled."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "example",
                  "measurements",
                  "steps",
                  "wasteFactors",
                  "citation",
                  "licence"
                ],
                "properties": {
                  "steps": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "step",
                        "calculator",
                        "needs",
                        "produces",
                        "run"
                      ]
                    }
                  },
                  "example": {
                    "type": "object",
                    "required": [
                      "slug",
                      "title",
                      "job",
                      "market",
                      "system",
                      "basis",
                      "summary",
                      "url"
                    ],
                    "properties": {
                      "job": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      },
                      "slug": {
                        "type": "string"
                      },
                      "basis": {
                        "enum": [
                          "modelled",
                          "recorded"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "market": {
                        "type": "string"
                      },
                      "system": {
                        "enum": [
                          "metric",
                          "imperial"
                        ]
                      },
                      "summary": {
                        "type": "string"
                      },
                      "takeoff": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "updated": {
                        "type": "string"
                      },
                      "published": {
                        "type": "string"
                      }
                    }
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "measurements": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "what",
                        "how",
                        "value"
                      ]
                    }
                  },
                  "wasteFactors": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "material",
                        "factor",
                        "why"
                      ]
                    }
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Get one worked example",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "run_example",
          "title": "Re-check a worked example's figures",
          "description": "Re-runs every pinned step of a worked construction estimate now, in both unit systems, and returns whether each still meets the published figure.",
          "inputSchema": {
            "type": "object",
            "required": [
              "slug"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "slug": {
                "type": "string",
                "pattern": "^[a-z0-9][a-z0-9-]{1,119}$",
                "description": "A worked example's slug, such as bathroom-gutted-and-retiled."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "example",
                  "steps",
                  "unpinned",
                  "allMeet",
                  "citation",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "steps": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "step",
                        "calculator",
                        "answer",
                        "otherSystem",
                        "canonical",
                        "expect",
                        "places",
                        "meets",
                        "shown",
                        "link"
                      ],
                      "properties": {
                        "link": {
                          "type": "string"
                        },
                        "step": {
                          "type": "string"
                        },
                        "meets": {
                          "type": "boolean"
                        },
                        "shown": {
                          "type": "string"
                        },
                        "answer": {
                          "type": "object"
                        },
                        "expect": {
                          "type": "number"
                        },
                        "places": {
                          "type": "integer"
                        },
                        "canonical": {
                          "type": "object"
                        },
                        "calculator": {
                          "type": "object"
                        },
                        "otherSystem": {
                          "type": "object"
                        }
                      }
                    }
                  },
                  "engine": {
                    "type": "object"
                  },
                  "notice": {
                    "type": "string"
                  },
                  "allMeet": {
                    "type": "boolean"
                  },
                  "example": {
                    "type": "object",
                    "required": [
                      "slug",
                      "title",
                      "job",
                      "market",
                      "system",
                      "basis",
                      "summary",
                      "url"
                    ],
                    "properties": {
                      "job": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      },
                      "slug": {
                        "type": "string"
                      },
                      "basis": {
                        "enum": [
                          "modelled",
                          "recorded"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "market": {
                        "type": "string"
                      },
                      "system": {
                        "enum": [
                          "metric",
                          "imperial"
                        ]
                      },
                      "summary": {
                        "type": "string"
                      },
                      "takeoff": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "updated": {
                        "type": "string"
                      },
                      "published": {
                        "type": "string"
                      }
                    }
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "unpinned": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Re-check a worked example's figures",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create_project_file_from_calculations",
          "title": "Create a My Project file from calculations",
          "description": "Creates one My Project backup file from a list of calculator lines (each a calculator slug and its input values). Each line is computed as the site's page adds it; the reader restores the file on craftquantities.com as a new project. Nothing is stored or sent; no prices.",
          "inputSchema": {
            "type": "object",
            "required": [
              "calculators"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "name": {
                "type": "string",
                "maxLength": 120,
                "description": "The new project's name."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "market": {
                "enum": [
                  "US",
                  "CA",
                  "UK",
                  "AU",
                  "INTL"
                ],
                "type": "string",
                "description": "Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              },
              "calculators": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "slug"
                  ],
                  "properties": {
                    "slug": {
                      "type": "string",
                      "pattern": "^[a-z0-9][a-z0-9-]{1,119}$",
                      "description": "The calculator's slug, such as concrete-calculator."
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 120,
                      "description": "The line's name in the project; the calculator's title when left out."
                    },
                    "inputs": {
                      "type": "object",
                      "description": "The calculator's input values, by input id (an unknown id is refused with the accepted ids). A length, area, volume or other measured input takes \"12 ft\", \"3.5 m\", \"8' 3 1/2\\\"\" or {\"value\": 12, \"unit\": \"ft\"}; a count or percentage takes a number; a select takes one of its option values. Inputs left out take the value the calculator's page opens on.",
                      "maxProperties": 100,
                      "additionalProperties": {
                        "oneOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "string",
                            "maxLength": 200
                          },
                          {
                            "type": "object",
                            "required": [
                              "value"
                            ],
                            "properties": {
                              "unit": {
                                "type": "string",
                                "maxLength": 40
                              },
                              "value": {
                                "type": "number"
                              }
                            },
                            "additionalProperties": false
                          }
                        ]
                      }
                    },
                    "inputUnits": {
                      "enum": [
                        "base"
                      ],
                      "type": "string",
                      "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 50,
                "minItems": 1,
                "description": "The calculator lines: each a slug and its input values."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "file",
                  "project",
                  "howToImport",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "file": {
                    "type": "object",
                    "required": [
                      "filename",
                      "mediaType",
                      "content"
                    ],
                    "properties": {
                      "content": {
                        "type": "object",
                        "required": [
                          "magic",
                          "v",
                          "exportedAt",
                          "stores"
                        ],
                        "properties": {
                          "v": {
                            "type": "integer"
                          },
                          "magic": {
                            "const": "craftquantities.backup"
                          },
                          "stores": {
                            "type": "object"
                          },
                          "exportedAt": {
                            "type": "string"
                          }
                        }
                      },
                      "filename": {
                        "type": "string"
                      },
                      "mediaType": {
                        "const": "application/json"
                      }
                    }
                  },
                  "state": {
                    "type": "object",
                    "required": [
                      "token",
                      "format",
                      "note"
                    ],
                    "properties": {
                      "link": {
                        "type": "string",
                        "description": "Opens the project on the site from the token, carried in the address fragment, which a browser does not send to any server."
                      },
                      "note": {
                        "type": "string"
                      },
                      "token": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The project's inputs, deflated and base64url-encoded with a format version and a CRC-32 check (cqp1.…). Compact, not encrypted: anyone who has it can read it."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "format": {
                        "type": "string",
                        "description": "The token's format and version."
                      },
                      "characters": {
                        "type": "integer"
                      }
                    }
                  },
                  "engine": {
                    "type": "object"
                  },
                  "notice": {
                    "type": "string"
                  },
                  "drawing": {
                    "type": "object",
                    "required": [
                      "carried"
                    ],
                    "properties": {
                      "note": {
                        "type": "string"
                      },
                      "carried": {
                        "type": "boolean"
                      }
                    }
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "project": {
                    "type": "object",
                    "required": [
                      "name",
                      "system",
                      "lines"
                    ],
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "lines": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "label",
                            "quantity",
                            "unit",
                            "from"
                          ]
                        }
                      },
                      "system": {
                        "enum": [
                          "metric",
                          "imperial"
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "howToImport": {
                    "type": "string"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Create a My Project file from calculations",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create_project_file_from_takeoffs",
          "title": "Create a My Project file from takeoffs",
          "description": "Creates one My Project backup file from a list of whole-job takeoffs (each a takeoff id and its measurements). Each takeoff's lines are worked as its page commits them; the reader restores the file on craftquantities.com as a new project. Nothing is stored or sent; no prices.",
          "inputSchema": {
            "type": "object",
            "required": [
              "takeoffs"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "name": {
                "type": "string",
                "maxLength": 120,
                "description": "The new project's name."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "market": {
                "enum": [
                  "US",
                  "CA",
                  "UK",
                  "AU",
                  "INTL"
                ],
                "type": "string",
                "description": "Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              },
              "takeoffs": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "takeoff"
                  ],
                  "properties": {
                    "takeoff": {
                      "type": "string",
                      "pattern": "^[a-z0-9][a-z0-9-]{1,119}$"
                    },
                    "leaveOut": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "maxLength": 120
                      },
                      "maxItems": 100,
                      "description": "Rows the reader leaves out of the job: still worked and shown, not put in the project or counted in labour."
                    },
                    "selection": {
                      "type": "object",
                      "description": "Build-up choice id → option id, the takeoff's own (a stud size, an insulation, a cladding). Choices left out take the page's own for the system.",
                      "maxProperties": 20,
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 80
                      }
                    },
                    "allowances": {
                      "type": "object",
                      "description": "Row → an allowance the reader sets: a percentage (cutting waste, overlap), or the option an allowance follows (a lay pattern). Row names are the takeoff's steps (the calculator slug, or the step key where one runs twice).",
                      "maxProperties": 50,
                      "additionalProperties": {
                        "anyOf": [
                          {
                            "type": "number",
                            "maximum": 100,
                            "minimum": 0
                          },
                          {
                            "type": "string",
                            "maxLength": 80
                          }
                        ]
                      }
                    },
                    "inputUnits": {
                      "enum": [
                        "base"
                      ],
                      "type": "string",
                      "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
                    },
                    "measurements": {
                      "type": "object",
                      "description": "Measurement id → value, each length, area or volume with its unit (\"12 ft\", {\"value\": 3.6, \"unit\": \"m\"}); counts as numbers. Ids are those of the takeoff; any left out opens at the page's own figure.",
                      "maxProperties": 50,
                      "additionalProperties": {
                        "oneOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "string",
                            "maxLength": 200
                          },
                          {
                            "type": "object",
                            "required": [
                              "value"
                            ],
                            "properties": {
                              "unit": {
                                "type": "string",
                                "maxLength": 40
                              },
                              "value": {
                                "type": "number"
                              }
                            },
                            "additionalProperties": false
                          }
                        ]
                      }
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 10,
                "minItems": 1,
                "description": "The takeoffs: each an id and its measurements."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "file",
                  "project",
                  "howToImport",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "file": {
                    "type": "object",
                    "required": [
                      "filename",
                      "mediaType",
                      "content"
                    ],
                    "properties": {
                      "content": {
                        "type": "object",
                        "required": [
                          "magic",
                          "v",
                          "exportedAt",
                          "stores"
                        ],
                        "properties": {
                          "v": {
                            "type": "integer"
                          },
                          "magic": {
                            "const": "craftquantities.backup"
                          },
                          "stores": {
                            "type": "object"
                          },
                          "exportedAt": {
                            "type": "string"
                          }
                        }
                      },
                      "filename": {
                        "type": "string"
                      },
                      "mediaType": {
                        "const": "application/json"
                      }
                    }
                  },
                  "state": {
                    "type": "object",
                    "required": [
                      "token",
                      "format",
                      "note"
                    ],
                    "properties": {
                      "link": {
                        "type": "string",
                        "description": "Opens the project on the site from the token, carried in the address fragment, which a browser does not send to any server."
                      },
                      "note": {
                        "type": "string"
                      },
                      "token": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The project's inputs, deflated and base64url-encoded with a format version and a CRC-32 check (cqp1.…). Compact, not encrypted: anyone who has it can read it."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "format": {
                        "type": "string",
                        "description": "The token's format and version."
                      },
                      "characters": {
                        "type": "integer"
                      }
                    }
                  },
                  "engine": {
                    "type": "object"
                  },
                  "notice": {
                    "type": "string"
                  },
                  "drawing": {
                    "type": "object",
                    "required": [
                      "carried"
                    ],
                    "properties": {
                      "note": {
                        "type": "string"
                      },
                      "carried": {
                        "type": "boolean"
                      }
                    }
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "project": {
                    "type": "object",
                    "required": [
                      "name",
                      "system",
                      "lines"
                    ],
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "lines": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "label",
                            "quantity",
                            "unit",
                            "from"
                          ]
                        }
                      },
                      "system": {
                        "enum": [
                          "metric",
                          "imperial"
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "howToImport": {
                    "type": "string"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Create a My Project file from takeoffs",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create_project_file_from_house",
          "title": "Create a My Project file from a house",
          "description": "Creates one My Project backup file from a House Estimator form: the house's lines, and its drawing, which the site's canvas reopens. The reader restores the file on craftquantities.com as a new project. Nothing is stored or sent; no prices.",
          "inputSchema": {
            "type": "object",
            "required": [
              "houses"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "name": {
                "type": "string",
                "maxLength": 120,
                "description": "The new project's name."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "houses": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "pitch": {
                      "enum": [
                        "4",
                        "6",
                        "8",
                        "10",
                        "12"
                      ],
                      "type": "string",
                      "description": "Roof pitch, rise in 12."
                    },
                    "family": {
                      "enum": [
                        "wall.framed-exterior",
                        "wall.masonry",
                        "wall.sip"
                      ],
                      "type": "string"
                    },
                    "values": {
                      "type": "object",
                      "description": "The form's figures, each length with its unit: length, width, storeyHeight, eaveOverhang, rakeOverhang, slabThickness, footingWidth, footingDepth, trenchDepth, windowWidth, windowHeight, doorWidth, doorHeight (\"12 m\", \"40 ft\"); and the counts partitions, windows, outsideDoors, interiorDoors, iceDamEaves. Any left out opens where the page opens it.",
                      "maxProperties": 30,
                      "additionalProperties": {
                        "oneOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "string",
                            "maxLength": 200
                          },
                          {
                            "type": "object",
                            "required": [
                              "value"
                            ],
                            "properties": {
                              "unit": {
                                "type": "string",
                                "maxLength": 40
                              },
                              "value": {
                                "type": "number"
                              }
                            },
                            "additionalProperties": false
                          }
                        ]
                      }
                    },
                    "example": {
                      "type": "string",
                      "maxLength": 120,
                      "description": "Start from one of the site's example houses (its slug) in place of the estimator's opening house."
                    },
                    "storeys": {
                      "enum": [
                        1,
                        2
                      ],
                      "type": "integer"
                    },
                    "selection": {
                      "type": "object",
                      "description": "The exterior wall's build-up choices.",
                      "maxProperties": 20,
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 80
                      }
                    },
                    "inputUnits": {
                      "enum": [
                        "base"
                      ],
                      "type": "string",
                      "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
                    },
                    "roofFamily": {
                      "enum": [
                        "roof.asphalt-shingle",
                        "roof.tile-slate"
                      ],
                      "type": "string"
                    },
                    "roofSelection": {
                      "type": "object",
                      "maxProperties": 20,
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 80
                      }
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 2,
                "minItems": 1,
                "description": "The House Estimator form (one house; two give their lines without a drawing)."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "file",
                  "project",
                  "howToImport",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "file": {
                    "type": "object",
                    "required": [
                      "filename",
                      "mediaType",
                      "content"
                    ],
                    "properties": {
                      "content": {
                        "type": "object",
                        "required": [
                          "magic",
                          "v",
                          "exportedAt",
                          "stores"
                        ],
                        "properties": {
                          "v": {
                            "type": "integer"
                          },
                          "magic": {
                            "const": "craftquantities.backup"
                          },
                          "stores": {
                            "type": "object"
                          },
                          "exportedAt": {
                            "type": "string"
                          }
                        }
                      },
                      "filename": {
                        "type": "string"
                      },
                      "mediaType": {
                        "const": "application/json"
                      }
                    }
                  },
                  "state": {
                    "type": "object",
                    "required": [
                      "token",
                      "format",
                      "note"
                    ],
                    "properties": {
                      "link": {
                        "type": "string",
                        "description": "Opens the project on the site from the token, carried in the address fragment, which a browser does not send to any server."
                      },
                      "note": {
                        "type": "string"
                      },
                      "token": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The project's inputs, deflated and base64url-encoded with a format version and a CRC-32 check (cqp1.…). Compact, not encrypted: anyone who has it can read it."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "format": {
                        "type": "string",
                        "description": "The token's format and version."
                      },
                      "characters": {
                        "type": "integer"
                      }
                    }
                  },
                  "engine": {
                    "type": "object"
                  },
                  "notice": {
                    "type": "string"
                  },
                  "drawing": {
                    "type": "object",
                    "required": [
                      "carried"
                    ],
                    "properties": {
                      "note": {
                        "type": "string"
                      },
                      "carried": {
                        "type": "boolean"
                      }
                    }
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "project": {
                    "type": "object",
                    "required": [
                      "name",
                      "system",
                      "lines"
                    ],
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "lines": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "label",
                            "quantity",
                            "unit",
                            "from"
                          ]
                        }
                      },
                      "system": {
                        "enum": [
                          "metric",
                          "imperial"
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "howToImport": {
                    "type": "string"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Create a My Project file from a house",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create_project_file_from_plan",
          "title": "Create a My Project file from a plan",
          "description": "Creates one My Project backup file from a room plan: one planned space, or several spaces and a roof. Its lines and its plan are saved as the site's planner saves them; the reader restores the file on craftquantities.com as a new project. Nothing is stored or sent; no prices.",
          "inputSchema": {
            "type": "object",
            "required": [
              "plan"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "name": {
                "type": "string",
                "maxLength": 120,
                "description": "The new project's name."
              },
              "plan": {
                "type": "object",
                "properties": {
                  "kind": {
                    "enum": [
                      "room",
                      "bathroom",
                      "slab",
                      "deck",
                      "driveway",
                      "fence",
                      "loft",
                      "retaining-wall",
                      "exterior-wall",
                      "stair",
                      "patio",
                      "lawn",
                      "garden-bed",
                      "pergola",
                      "garden-wall",
                      "shed",
                      "gutter",
                      "partition-wall",
                      "basement-wall",
                      "kitchen",
                      "pitched-roof",
                      "garage-floor",
                      "closet",
                      "strip-footing",
                      "pond",
                      "pool"
                    ],
                    "type": "string",
                    "description": "The kind of space: a room or a bathroom (from its size, doors and windows), or a slab, deck, driveway, fence, loft, retaining wall, exterior wall, stair, patio, lawn, raised bed (garden-bed), pergola, garden wall, shed, gutter run, partition wall, basement wall, kitchen run, pitched roof, garage floor, closet, strip footing, pond or swimming pool (pool)."
                  },
                  "name": {
                    "type": "string",
                    "maxLength": 120
                  },
                  "roof": {
                    "type": "object",
                    "properties": {
                      "pitch": {
                        "type": "number",
                        "maximum": 24,
                        "minimum": 0,
                        "description": "The rise per 12 of run (6 = 6 in 12). Left out, each roof row says it waits for the pitch."
                      },
                      "scope": {
                        "type": "object",
                        "description": "Scope question name → answer value, by the planner's ids.",
                        "maxProperties": 30,
                        "additionalProperties": {
                          "type": [
                            "string",
                            "number",
                            "boolean"
                          ]
                        }
                      },
                      "inputs": {
                        "type": "object",
                        "description": "Branch id → { calculator input id: value in its base unit }.",
                        "maxProperties": 50,
                        "additionalProperties": {
                          "type": "object",
                          "maxProperties": 30
                        }
                      },
                      "intent": {
                        "type": "string",
                        "maxLength": 40,
                        "description": "A trade, or everything."
                      },
                      "finishes": {
                        "type": "object",
                        "description": "Surface role → finish id, by the planner's ids.",
                        "maxProperties": 10,
                        "additionalProperties": {
                          "type": "string",
                          "maxLength": 80
                        }
                      },
                      "leaveOut": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 120
                        },
                        "maxItems": 100,
                        "description": "Branch ids to leave out."
                      }
                    },
                    "additionalProperties": false
                  },
                  "doors": {
                    "type": "object",
                    "properties": {
                      "count": {
                        "type": "integer",
                        "maximum": 20,
                        "minimum": 0
                      },
                      "width": {
                        "oneOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "string",
                            "maxLength": 200
                          },
                          {
                            "type": "object",
                            "required": [
                              "value"
                            ],
                            "properties": {
                              "unit": {
                                "type": "string",
                                "maxLength": 40
                              },
                              "value": {
                                "type": "number"
                              }
                            },
                            "additionalProperties": false
                          }
                        ]
                      },
                      "height": {
                        "oneOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "string",
                            "maxLength": 200
                          },
                          {
                            "type": "object",
                            "required": [
                              "value"
                            ],
                            "properties": {
                              "unit": {
                                "type": "string",
                                "maxLength": 40
                              },
                              "value": {
                                "type": "number"
                              }
                            },
                            "additionalProperties": false
                          }
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  "scope": {
                    "type": "object",
                    "description": "Scope question name → answer value, by the planner's ids.",
                    "maxProperties": 30,
                    "additionalProperties": {
                      "type": [
                        "string",
                        "number",
                        "boolean"
                      ]
                    }
                  },
                  "inputs": {
                    "type": "object",
                    "description": "Branch id → { calculator input id: value in its base unit }.",
                    "maxProperties": 50,
                    "additionalProperties": {
                      "type": "object",
                      "maxProperties": 30
                    }
                  },
                  "intent": {
                    "type": "string",
                    "maxLength": 40,
                    "description": "A trade, or everything."
                  },
                  "spaces": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "kind",
                        "figures"
                      ],
                      "properties": {
                        "kind": {
                          "enum": [
                            "room",
                            "bathroom",
                            "slab",
                            "deck",
                            "driveway",
                            "fence",
                            "loft",
                            "retaining-wall",
                            "exterior-wall",
                            "stair",
                            "patio",
                            "lawn",
                            "garden-bed",
                            "pergola",
                            "garden-wall",
                            "shed",
                            "gutter",
                            "partition-wall",
                            "basement-wall",
                            "kitchen",
                            "pitched-roof",
                            "garage-floor",
                            "closet",
                            "strip-footing",
                            "pond",
                            "pool"
                          ],
                          "type": "string",
                          "description": "The kind of space: a room or a bathroom (from its size, doors and windows), or a slab, deck, driveway, fence, loft, retaining wall, exterior wall, stair, patio, lawn, raised bed (garden-bed), pergola, garden wall, shed, gutter run, partition wall, basement wall, kitchen run, pitched roof, garage floor, closet, strip footing, pond or swimming pool (pool)."
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 120
                        },
                        "doors": {
                          "type": "object",
                          "properties": {
                            "count": {
                              "type": "integer",
                              "maximum": 20,
                              "minimum": 0
                            },
                            "width": {
                              "oneOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "string",
                                  "maxLength": 200
                                },
                                {
                                  "type": "object",
                                  "required": [
                                    "value"
                                  ],
                                  "properties": {
                                    "unit": {
                                      "type": "string",
                                      "maxLength": 40
                                    },
                                    "value": {
                                      "type": "number"
                                    }
                                  },
                                  "additionalProperties": false
                                }
                              ]
                            },
                            "height": {
                              "oneOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "string",
                                  "maxLength": 200
                                },
                                {
                                  "type": "object",
                                  "required": [
                                    "value"
                                  ],
                                  "properties": {
                                    "unit": {
                                      "type": "string",
                                      "maxLength": 40
                                    },
                                    "value": {
                                      "type": "number"
                                    }
                                  },
                                  "additionalProperties": false
                                }
                              ]
                            }
                          },
                          "additionalProperties": false
                        },
                        "scope": {
                          "type": "object",
                          "description": "Scope question name → answer value, by the planner's ids.",
                          "maxProperties": 30,
                          "additionalProperties": {
                            "type": [
                              "string",
                              "number",
                              "boolean"
                            ]
                          }
                        },
                        "inputs": {
                          "type": "object",
                          "description": "Branch id → { calculator input id: value in its base unit }.",
                          "maxProperties": 50,
                          "additionalProperties": {
                            "type": "object",
                            "maxProperties": 30
                          }
                        },
                        "intent": {
                          "type": "string",
                          "maxLength": 40,
                          "description": "A trade, or everything."
                        },
                        "figures": {
                          "type": "object",
                          "description": "The space's figures, by the planner's ids, each a length with its unit (a room: length, width, height, wallThickness; a fence: length, height; a stair: totalRise, width …).",
                          "maxProperties": 10,
                          "additionalProperties": {
                            "oneOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "string",
                                "maxLength": 200
                              },
                              {
                                "type": "object",
                                "required": [
                                  "value"
                                ],
                                "properties": {
                                  "unit": {
                                    "type": "string",
                                    "maxLength": 40
                                  },
                                  "value": {
                                    "type": "number"
                                  }
                                },
                                "additionalProperties": false
                              }
                            ]
                          }
                        },
                        "windows": {
                          "type": "object",
                          "properties": {
                            "count": {
                              "type": "integer",
                              "maximum": 20,
                              "minimum": 0
                            },
                            "width": {
                              "oneOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "string",
                                  "maxLength": 200
                                },
                                {
                                  "type": "object",
                                  "required": [
                                    "value"
                                  ],
                                  "properties": {
                                    "unit": {
                                      "type": "string",
                                      "maxLength": 40
                                    },
                                    "value": {
                                      "type": "number"
                                    }
                                  },
                                  "additionalProperties": false
                                }
                              ]
                            },
                            "height": {
                              "oneOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "string",
                                  "maxLength": 200
                                },
                                {
                                  "type": "object",
                                  "required": [
                                    "value"
                                  ],
                                  "properties": {
                                    "unit": {
                                      "type": "string",
                                      "maxLength": 40
                                    },
                                    "value": {
                                      "type": "number"
                                    }
                                  },
                                  "additionalProperties": false
                                }
                              ]
                            }
                          },
                          "additionalProperties": false
                        },
                        "finishes": {
                          "type": "object",
                          "description": "Surface role → finish id, by the planner's ids.",
                          "maxProperties": 10,
                          "additionalProperties": {
                            "type": "string",
                            "maxLength": 80
                          }
                        },
                        "leaveOut": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "maxLength": 120
                          },
                          "maxItems": 100,
                          "description": "Branch ids to leave out."
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 12,
                    "minItems": 1,
                    "description": "The spaces, in order, each one planned space."
                  },
                  "figures": {
                    "type": "object",
                    "description": "The space's figures, by the planner's ids, each a length with its unit (a room: length, width, height, wallThickness; a fence: length, height; a stair: totalRise, width …).",
                    "maxProperties": 10,
                    "additionalProperties": {
                      "oneOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "string",
                          "maxLength": 200
                        },
                        {
                          "type": "object",
                          "required": [
                            "value"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string",
                              "maxLength": 40
                            },
                            "value": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    }
                  },
                  "windows": {
                    "type": "object",
                    "properties": {
                      "count": {
                        "type": "integer",
                        "maximum": 20,
                        "minimum": 0
                      },
                      "width": {
                        "oneOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "string",
                            "maxLength": 200
                          },
                          {
                            "type": "object",
                            "required": [
                              "value"
                            ],
                            "properties": {
                              "unit": {
                                "type": "string",
                                "maxLength": 40
                              },
                              "value": {
                                "type": "number"
                              }
                            },
                            "additionalProperties": false
                          }
                        ]
                      },
                      "height": {
                        "oneOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "string",
                            "maxLength": 200
                          },
                          {
                            "type": "object",
                            "required": [
                              "value"
                            ],
                            "properties": {
                              "unit": {
                                "type": "string",
                                "maxLength": 40
                              },
                              "value": {
                                "type": "number"
                              }
                            },
                            "additionalProperties": false
                          }
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  "finishes": {
                    "type": "object",
                    "description": "Surface role → finish id, by the planner's ids.",
                    "maxProperties": 10,
                    "additionalProperties": {
                      "type": "string",
                      "maxLength": 80
                    }
                  },
                  "leaveOut": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 120
                    },
                    "maxItems": 100,
                    "description": "Branch ids to leave out."
                  },
                  "inputUnits": {
                    "enum": [
                      "base"
                    ],
                    "type": "string",
                    "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
                  }
                },
                "description": "One planned space, or a planned project of spaces and a roof.",
                "additionalProperties": false
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "file",
                  "project",
                  "howToImport",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "file": {
                    "type": "object",
                    "required": [
                      "filename",
                      "mediaType",
                      "content"
                    ],
                    "properties": {
                      "content": {
                        "type": "object",
                        "required": [
                          "magic",
                          "v",
                          "exportedAt",
                          "stores"
                        ],
                        "properties": {
                          "v": {
                            "type": "integer"
                          },
                          "magic": {
                            "const": "craftquantities.backup"
                          },
                          "stores": {
                            "type": "object"
                          },
                          "exportedAt": {
                            "type": "string"
                          }
                        }
                      },
                      "filename": {
                        "type": "string"
                      },
                      "mediaType": {
                        "const": "application/json"
                      }
                    }
                  },
                  "state": {
                    "type": "object",
                    "required": [
                      "token",
                      "format",
                      "note"
                    ],
                    "properties": {
                      "link": {
                        "type": "string",
                        "description": "Opens the project on the site from the token, carried in the address fragment, which a browser does not send to any server."
                      },
                      "note": {
                        "type": "string"
                      },
                      "token": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The project's inputs, deflated and base64url-encoded with a format version and a CRC-32 check (cqp1.…). Compact, not encrypted: anyone who has it can read it."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "format": {
                        "type": "string",
                        "description": "The token's format and version."
                      },
                      "characters": {
                        "type": "integer"
                      }
                    }
                  },
                  "engine": {
                    "type": "object"
                  },
                  "notice": {
                    "type": "string"
                  },
                  "drawing": {
                    "type": "object",
                    "required": [
                      "carried"
                    ],
                    "properties": {
                      "note": {
                        "type": "string"
                      },
                      "carried": {
                        "type": "boolean"
                      }
                    }
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "project": {
                    "type": "object",
                    "required": [
                      "name",
                      "system",
                      "lines"
                    ],
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "lines": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "label",
                            "quantity",
                            "unit",
                            "from"
                          ]
                        }
                      },
                      "system": {
                        "enum": [
                          "metric",
                          "imperial"
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "howToImport": {
                    "type": "string"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Create a My Project file from a plan",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create_project_file_from_drawing",
          "title": "Create a My Project file from a drawing",
          "description": "Creates one My Project backup file from a Construction Canvas drawing: its lines, and the drawing itself, which the site's canvas reopens. The reader restores the file on craftquantities.com as a new project. Nothing is stored or sent; no prices.",
          "inputSchema": {
            "truncated": true,
            "chars": 21036
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "file",
                  "project",
                  "howToImport",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "file": {
                    "type": "object",
                    "required": [
                      "filename",
                      "mediaType",
                      "content"
                    ],
                    "properties": {
                      "content": {
                        "type": "object",
                        "required": [
                          "magic",
                          "v",
                          "exportedAt",
                          "stores"
                        ],
                        "properties": {
                          "v": {
                            "type": "integer"
                          },
                          "magic": {
                            "const": "craftquantities.backup"
                          },
                          "stores": {
                            "type": "object"
                          },
                          "exportedAt": {
                            "type": "string"
                          }
                        }
                      },
                      "filename": {
                        "type": "string"
                      },
                      "mediaType": {
                        "const": "application/json"
                      }
                    }
                  },
                  "state": {
                    "type": "object",
                    "required": [
                      "token",
                      "format",
                      "note"
                    ],
                    "properties": {
                      "link": {
                        "type": "string",
                        "description": "Opens the project on the site from the token, carried in the address fragment, which a browser does not send to any server."
                      },
                      "note": {
                        "type": "string"
                      },
                      "token": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The project's inputs, deflated and base64url-encoded with a format version and a CRC-32 check (cqp1.…). Compact, not encrypted: anyone who has it can read it."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "format": {
                        "type": "string",
                        "description": "The token's format and version."
                      },
                      "characters": {
                        "type": "integer"
                      }
                    }
                  },
                  "engine": {
                    "type": "object"
                  },
                  "notice": {
                    "type": "string"
                  },
                  "drawing": {
                    "type": "object",
                    "required": [
                      "carried"
                    ],
                    "properties": {
                      "note": {
                        "type": "string"
                      },
                      "carried": {
                        "type": "boolean"
                      }
                    }
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "project": {
                    "type": "object",
                    "required": [
                      "name",
                      "system",
                      "lines"
                    ],
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "lines": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "label",
                            "quantity",
                            "unit",
                            "from"
                          ]
                        }
                      },
                      "system": {
                        "enum": [
                          "metric",
                          "imperial"
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "howToImport": {
                    "type": "string"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Create a My Project file from a drawing",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "check_quote",
          "title": "Check a builder's or contractor's quote",
          "description": "Is a builder's quote right on quantities? Reads a contractor's quote (pasted text) against the reader's own job and returns each quoted quantity against the range the job's calculators give, the lines it leaves out or adds, and the questions to ask. Money is removed and not judged; a difference is a question, not a verdict.",
          "inputSchema": {
            "type": "object",
            "required": [
              "job",
              "quote"
            ],
            "properties": {
              "job": {
                "enum": [
                  "bathroom-quote",
                  "plastering-quote",
                  "room-fitout-quote",
                  "concrete-slab-quote",
                  "timber-deck-quote",
                  "stud-wall-quote",
                  "external-wall-quote",
                  "insulate-floor-quote",
                  "tile-floor-quote",
                  "retaining-wall-quote",
                  "plaster-room-quote",
                  "drywall-ceiling-quote",
                  "room-repaint-quote",
                  "wall-tile-quote",
                  "resilient-floor-quote",
                  "carpet-and-pad-quote",
                  "trim-run-quote",
                  "suspended-ceiling-quote",
                  "kitchen-refit-quote",
                  "garage-conversion-quote",
                  "basement-conversion-quote",
                  "staircase-replacement-quote",
                  "new-staircase-quote",
                  "fitted-wardrobe-quote",
                  "party-wall-soundproofing-quote",
                  "damp-remediation-quote",
                  "floor-sanding-refinish-quote",
                  "bathroom-remodel-quote",
                  "shower-enclosure-quote",
                  "kitchen-splashback-quote",
                  "heated-bathroom-floor-quote",
                  "wet-room-tanking-quote",
                  "fiber-cement-siding-quote",
                  "asphalt-shingle-roof-quote",
                  "standing-seam-roof-quote",
                  "eaves-and-rainwater-quote",
                  "attic-insulation-quote",
                  "window-replacement-quote",
                  "framed-exterior-wall-quote",
                  "flat-roof-replacement-quote",
                  "loft-conversion-dormer-quote",
                  "loft-room-rooflights-quote",
                  "pitched-roof-recovering-quote",
                  "new-external-opening-quote",
                  "external-wall-insulation-quote",
                  "rainscreen-cladding-quote",
                  "external-door-replacement-quote",
                  "exterior-repaint-quote",
                  "repointing-quote",
                  "cavity-wall-insulation-quote",
                  "sip-wall-quote",
                  "masonry-wall-quote",
                  "strip-footing-quote",
                  "concrete-driveway-quote",
                  "basement-wall-quote",
                  "service-connections-quote",
                  "paver-patio-quote",
                  "fence-run-quote",
                  "internal-wall-removal-quote",
                  "extension-shell-quote",
                  "chimney-breast-removal-quote",
                  "porch-addition-quote",
                  "garden-room-quote",
                  "detached-garage-quote",
                  "electrical-rough-in-quote",
                  "panel-upgrade-quote",
                  "bathroom-ventilation-quote",
                  "radiant-floor-loop-quote",
                  "mini-split-install-quote",
                  "full-rewire-quote",
                  "central-heating-replacement-quote",
                  "air-source-heat-pump-quote",
                  "underfloor-heating-retrofit-quote",
                  "whole-house-ventilation-quote",
                  "solar-pv-battery-quote",
                  "ev-charger-installation-quote",
                  "landscape-bed-quote",
                  "irrigation-zone-quote",
                  "pool-surround-quote",
                  "garage-floor-coating-quote"
                ],
                "type": "string",
                "description": "The quote check: bathroom-quote, plastering-quote, or a takeoff's ({takeoff id}-quote)."
              },
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "quote": {
                "type": "string",
                "maxLength": 20000,
                "minLength": 1,
                "description": "The quote's text. Prices may be left in; they are taken out before reading."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "market": {
                "enum": [
                  "US",
                  "CA",
                  "UK",
                  "AU",
                  "INTL"
                ],
                "type": "string",
                "description": "Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              },
              "selection": {
                "type": "object",
                "description": "Build-up choice id → option id, the takeoff's own (a stud size, an insulation, a cladding). Choices left out take the page's own for the system.",
                "maxProperties": 20,
                "additionalProperties": {
                  "type": "string",
                  "maxLength": 80
                }
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              },
              "measurements": {
                "type": "object",
                "description": "Measurement id → value, each length, area or volume with its unit (\"12 ft\", {\"value\": 3.6, \"unit\": \"m\"}); counts as numbers. Ids are those of the takeoff; any left out opens at the page's own figure.",
                "maxProperties": 50,
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 200
                    },
                    {
                      "type": "object",
                      "required": [
                        "value"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                }
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "check",
                  "system",
                  "measurements",
                  "lines",
                  "reading",
                  "rows",
                  "pricesIgnored",
                  "excludes",
                  "citation",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "rows": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "text",
                        "unit",
                        "readAs"
                      ]
                    }
                  },
                  "check": {
                    "type": "object",
                    "required": [
                      "slug",
                      "job",
                      "url"
                    ],
                    "properties": {
                      "job": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      },
                      "slug": {
                        "type": "string"
                      },
                      "takeoff": {
                        "type": "object"
                      }
                    }
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "key",
                        "name",
                        "unit",
                        "low",
                        "high",
                        "minimum",
                        "range",
                        "calculator"
                      ],
                      "properties": {
                        "key": {
                          "type": "string"
                        },
                        "low": {
                          "type": "number"
                        },
                        "why": {
                          "type": "string"
                        },
                        "high": {
                          "anyOf": [
                            {
                              "type": "number",
                              "description": "Null where the line is a minimum with no upper end."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "name": {
                          "type": "string"
                        },
                        "unit": {
                          "type": "string"
                        },
                        "range": {
                          "type": "string",
                          "description": "Why the two ends differ."
                        },
                        "minimum": {
                          "type": "boolean"
                        },
                        "calculator": {
                          "type": "object",
                          "required": [
                            "title",
                            "url"
                          ],
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            }
                          }
                        },
                        "alternativeTo": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "engine": {
                    "type": "object"
                  },
                  "market": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "notice": {
                    "type": "string"
                  },
                  "system": {
                    "enum": [
                      "metric",
                      "imperial"
                    ]
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "reading": {
                    "type": "object",
                    "required": [
                      "rowsRead",
                      "differs",
                      "agrees",
                      "missing",
                      "notComparable",
                      "extras",
                      "listed",
                      "headings",
                      "unmentioned",
                      "questions"
                    ],
                    "properties": {
                      "agrees": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "line",
                            "quoted",
                            "rows"
                          ]
                        }
                      },
                      "extras": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "text",
                            "unit",
                            "kind"
                          ]
                        }
                      },
                      "listed": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "text",
                            "unit",
                            "work"
                          ]
                        }
                      },
                      "differs": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "line",
                            "quoted",
                            "outcome",
                            "difference",
                            "rows",
                            "explanation",
                            "ask"
                          ],
                          "properties": {
                            "ask": {
                              "type": "string"
                            },
                            "line": {
                              "type": "object",
                              "required": [
                                "key",
                                "name",
                                "unit",
                                "low",
                                "high",
                                "minimum",
                                "range",
                                "calculator"
                              ],
                              "properties": {
                                "key": {
                                  "type": "string"
                                },
                                "low": {
                                  "type": "number"
                                },
                                "why": {
                                  "type": "string"
                                },
                                "high": {
                                  "anyOf": [
                                    {
                                      "type": "number",
                                      "description": "Null where the line is a minimum with no upper end."
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "name": {
                                  "type": "string"
                                },
                                "unit": {
                                  "type": "string"
                                },
                                "range": {
                                  "type": "string",
                                  "description": "Why the two ends differ."
                                },
                                "minimum": {
                                  "type": "boolean"
                                },
                                "calculator": {
                                  "type": "object",
                                  "required": [
                                    "title",
                                    "url"
                                  ],
                                  "properties": {
                                    "url": {
                                      "type": "string"
                                    },
                                    "title": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "alternativeTo": {
                                  "type": "string"
                                }
                              }
                            },
                            "rows": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "text",
                                  "unit"
                                ],
                                "properties": {
                                  "how": {
                                    "type": "string"
                                  },
                                  "text": {
                                    "type": "string"
                                  },
                                  "unit": {
                                    "type": "string"
                                  },
                                  "quantity": {
                                    "type": "number"
                                  }
                                }
                              }
                            },
                            "quoted": {
                              "type": "number"
                            },
                            "outcome": {
                              "enum": [
                                "above",
                                "below"
                              ]
                            },
                            "difference": {
                              "type": "number"
                            },
                            "explanation": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "missing": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "line",
                            "alternatives"
                          ]
                        }
                      },
                      "headings": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "rowsRead": {
                        "type": "integer"
                      },
                      "questions": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "about",
                            "question"
                          ]
                        }
                      },
                      "unmentioned": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "heading",
                            "why",
                            "ask"
                          ]
                        }
                      },
                      "notComparable": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "line",
                            "reason",
                            "rows"
                          ]
                        }
                      }
                    }
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "excludes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "measurements": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "label",
                        "value",
                        "source"
                      ]
                    }
                  },
                  "pricesIgnored": {
                    "type": "string"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Check a builder's or contractor's quote",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "estimate_house",
          "title": "Estimate the materials to build a house",
          "description": "Estimates the materials to build one rectangular house of one or two storeys from a few figures (footprint, walls, roof, openings): every quantity with what to order, assumptions, plans of each storey and labour hours, as the site's House Estimator does. It counts; it does not design a structure. No prices.",
          "inputSchema": {
            "type": "object",
            "required": [],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "pitch": {
                "enum": [
                  "4",
                  "6",
                  "8",
                  "10",
                  "12"
                ],
                "type": "string",
                "description": "Roof pitch, rise in 12."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "family": {
                "enum": [
                  "wall.framed-exterior",
                  "wall.masonry",
                  "wall.sip"
                ],
                "type": "string"
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              },
              "values": {
                "type": "object",
                "description": "The form's figures, each length with its unit: length, width, storeyHeight, eaveOverhang, rakeOverhang, slabThickness, footingWidth, footingDepth, trenchDepth, windowWidth, windowHeight, doorWidth, doorHeight (\"12 m\", \"40 ft\"); and the counts partitions, windows, outsideDoors, interiorDoors, iceDamEaves. Any left out opens where the page opens it.",
                "maxProperties": 30,
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 200
                    },
                    {
                      "type": "object",
                      "required": [
                        "value"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "example": {
                "type": "string",
                "maxLength": 120,
                "description": "Start from one of the site's example houses (its slug) in place of the estimator's opening house."
              },
              "storeys": {
                "enum": [
                  1,
                  2
                ],
                "type": "integer"
              },
              "selection": {
                "type": "object",
                "description": "The exterior wall's build-up choices.",
                "maxProperties": 20,
                "additionalProperties": {
                  "type": "string",
                  "maxLength": 80
                }
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              },
              "roofFamily": {
                "enum": [
                  "roof.asphalt-shingle",
                  "roof.tile-slate"
                ],
                "type": "string"
              },
              "roofSelection": {
                "type": "object",
                "maxProperties": 20,
                "additionalProperties": {
                  "type": "string",
                  "maxLength": 80
                }
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "house",
                  "system",
                  "values",
                  "rows",
                  "counts",
                  "unplaced",
                  "raised",
                  "assumptions",
                  "omitted",
                  "plans",
                  "labour",
                  "sources",
                  "citation",
                  "links",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "rows": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "key",
                        "section",
                        "label",
                        "where",
                        "quantity",
                        "unit",
                        "otherSystem",
                        "calculator"
                      ],
                      "properties": {
                        "key": {
                          "type": "string"
                        },
                        "note": {
                          "type": "string"
                        },
                        "unit": {
                          "type": "string"
                        },
                        "label": {
                          "type": "string"
                        },
                        "order": {
                          "type": "object",
                          "required": [
                            "quantity",
                            "unit"
                          ]
                        },
                        "where": {
                          "type": "string"
                        },
                        "section": {
                          "type": "string"
                        },
                        "quantity": {
                          "type": "number"
                        },
                        "calculator": {
                          "type": "object",
                          "required": [
                            "slug",
                            "title"
                          ]
                        },
                        "otherSystem": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "quantity",
                                "unit"
                              ]
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      }
                    }
                  },
                  "house": {
                    "type": "object",
                    "required": [
                      "storeys",
                      "family",
                      "selection",
                      "pitch",
                      "roofFamily",
                      "roofSelection"
                    ]
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "page"
                    ]
                  },
                  "plans": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "level",
                        "name",
                        "unit",
                        "walls",
                        "openings",
                        "box"
                      ]
                    }
                  },
                  "counts": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "key",
                        "label",
                        "quantity"
                      ]
                    }
                  },
                  "engine": {
                    "type": "object"
                  },
                  "labour": {
                    "type": "object",
                    "required": [
                      "rows",
                      "totalHours",
                      "programme",
                      "likelyDays",
                      "note"
                    ]
                  },
                  "notice": {
                    "type": "string"
                  },
                  "raised": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "system": {
                    "enum": [
                      "metric",
                      "imperial"
                    ]
                  },
                  "values": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "label",
                        "value",
                        "source"
                      ]
                    }
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "omitted": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "assembly",
                        "step",
                        "why"
                      ]
                    }
                  },
                  "sources": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "calculator",
                        "title",
                        "version",
                        "sources"
                      ]
                    }
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "unplaced": {
                    "type": "object"
                  },
                  "assumptions": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Estimate the materials to build a house",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_planner",
          "title": "Get the planner's fields for one kind of space",
          "description": "Returns the room planner's fields for one kind of space: its figures, surfaces and finish ids, scope questions and rows, with their ids.",
          "inputSchema": {
            "type": "object",
            "required": [
              "kind"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "room",
                  "bathroom",
                  "slab",
                  "deck",
                  "driveway",
                  "fence",
                  "loft",
                  "retaining-wall",
                  "exterior-wall",
                  "stair",
                  "patio",
                  "lawn",
                  "garden-bed",
                  "pergola",
                  "garden-wall",
                  "shed",
                  "gutter",
                  "partition-wall",
                  "basement-wall",
                  "kitchen",
                  "pitched-roof",
                  "garage-floor",
                  "closet",
                  "strip-footing",
                  "pond",
                  "pool"
                ],
                "type": "string",
                "description": "The kind of space: a room or a bathroom (from its size, doors and windows), or a slab, deck, driveway, fence, loft, retaining wall, exterior wall, stair, patio, lawn, raised bed (garden-bed), pergola, garden wall, shed, gutter run, partition wall, basement wall, kitchen run, pitched roof, garage floor, closet, strip footing, pond or swimming pool (pool)."
              },
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "kind",
                  "modelSchemaVersion",
                  "url",
                  "figures",
                  "surfaces",
                  "scope",
                  "intents",
                  "branches",
                  "decisions",
                  "licence"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "kind": {
                    "type": "string"
                  },
                  "scope": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "label",
                        "answers",
                        "help"
                      ]
                    }
                  },
                  "figures": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "label",
                        "dimension",
                        "required"
                      ]
                    }
                  },
                  "intents": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "branches": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "label",
                        "trade",
                        "surface",
                        "role"
                      ]
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "openings": {
                    "type": "array"
                  },
                  "surfaces": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "role",
                        "label",
                        "finishes"
                      ]
                    }
                  },
                  "decisions": {
                    "type": "object"
                  },
                  "modelSchemaVersion": {
                    "type": "integer"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Get the planner's fields for one kind of space",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "plan_room",
          "title": "Plan the materials for one room or space",
          "description": "Plans one space, such as a room or a bathroom, from its size, openings and the finishes chosen, as the site's room planner does, and returns its materials list: each row with its quantity, what it still needs, what is not built and why, and labour hours. Quantities only; it does not size structure.",
          "inputSchema": {
            "type": "object",
            "required": [
              "kind",
              "figures"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "room",
                  "bathroom",
                  "slab",
                  "deck",
                  "driveway",
                  "fence",
                  "loft",
                  "retaining-wall",
                  "exterior-wall",
                  "stair",
                  "patio",
                  "lawn",
                  "garden-bed",
                  "pergola",
                  "garden-wall",
                  "shed",
                  "gutter",
                  "partition-wall",
                  "basement-wall",
                  "kitchen",
                  "pitched-roof",
                  "garage-floor",
                  "closet",
                  "strip-footing",
                  "pond",
                  "pool"
                ],
                "type": "string",
                "description": "The kind of space: a room or a bathroom (from its size, doors and windows), or a slab, deck, driveway, fence, loft, retaining wall, exterior wall, stair, patio, lawn, raised bed (garden-bed), pergola, garden wall, shed, gutter run, partition wall, basement wall, kitchen run, pitched roof, garage floor, closet, strip footing, pond or swimming pool (pool)."
              },
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "name": {
                "type": "string",
                "maxLength": 120
              },
              "doors": {
                "type": "object",
                "properties": {
                  "count": {
                    "type": "integer",
                    "maximum": 20,
                    "minimum": 0
                  },
                  "width": {
                    "oneOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "maxLength": 200
                      },
                      {
                        "type": "object",
                        "required": [
                          "value"
                        ],
                        "properties": {
                          "unit": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "value": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      }
                    ]
                  },
                  "height": {
                    "oneOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "maxLength": 200
                      },
                      {
                        "type": "object",
                        "required": [
                          "value"
                        ],
                        "properties": {
                          "unit": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "value": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "scope": {
                "type": "object",
                "description": "Scope question name → answer value, by the planner's ids.",
                "maxProperties": 30,
                "additionalProperties": {
                  "type": [
                    "string",
                    "number",
                    "boolean"
                  ]
                }
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "inputs": {
                "type": "object",
                "description": "Branch id → { calculator input id: value in its base unit }.",
                "maxProperties": 50,
                "additionalProperties": {
                  "type": "object",
                  "maxProperties": 30
                }
              },
              "intent": {
                "type": "string",
                "maxLength": 40,
                "description": "A trade, or everything."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              },
              "figures": {
                "type": "object",
                "description": "The space's figures, by the planner's ids, each a length with its unit (a room: length, width, height, wallThickness; a fence: length, height; a stair: totalRise, width …).",
                "maxProperties": 10,
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 200
                    },
                    {
                      "type": "object",
                      "required": [
                        "value"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "windows": {
                "type": "object",
                "properties": {
                  "count": {
                    "type": "integer",
                    "maximum": 20,
                    "minimum": 0
                  },
                  "width": {
                    "oneOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "maxLength": 200
                      },
                      {
                        "type": "object",
                        "required": [
                          "value"
                        ],
                        "properties": {
                          "unit": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "value": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      }
                    ]
                  },
                  "height": {
                    "oneOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "maxLength": 200
                      },
                      {
                        "type": "object",
                        "required": [
                          "value"
                        ],
                        "properties": {
                          "unit": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "value": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "finishes": {
                "type": "object",
                "description": "Surface role → finish id, by the planner's ids.",
                "maxProperties": 10,
                "additionalProperties": {
                  "type": "string",
                  "maxLength": 80
                }
              },
              "leaveOut": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 120
                },
                "maxItems": 100,
                "description": "Branch ids to leave out."
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "space",
                  "system",
                  "outcomes",
                  "lines",
                  "labour",
                  "assumptions",
                  "model",
                  "sources",
                  "citation",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "label",
                        "quantity",
                        "unit",
                        "branch",
                        "zone"
                      ]
                    }
                  },
                  "model": {
                    "type": "object"
                  },
                  "space": {
                    "type": "object",
                    "required": [
                      "id",
                      "kind",
                      "name",
                      "url"
                    ]
                  },
                  "engine": {
                    "type": "object"
                  },
                  "labour": {
                    "type": "object",
                    "required": [
                      "rows",
                      "totalHours",
                      "programme",
                      "likelyDays",
                      "note"
                    ]
                  },
                  "notice": {
                    "type": "string"
                  },
                  "system": {
                    "enum": [
                      "metric",
                      "imperial"
                    ]
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "sources": {
                    "type": "array"
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "outcomes": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "branch",
                        "label",
                        "trade",
                        "status",
                        "comparison"
                      ],
                      "properties": {
                        "label": {
                          "type": "string"
                        },
                        "trade": {
                          "type": "string"
                        },
                        "branch": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "ready",
                            "needs",
                            "loading",
                            "did-not-load",
                            "no-answer",
                            "gap",
                            "left-out",
                            "not-applicable"
                          ]
                        },
                        "comparison": {
                          "type": "boolean"
                        }
                      }
                    }
                  },
                  "assumptions": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field",
                        "reason"
                      ]
                    }
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Plan the materials for one room or space",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "plan_project",
          "title": "Plan the materials for several rooms",
          "description": "Plans several spaces together, with an optional roof over them, as one project in the site's room planner, and returns each space's rows, every line together, labour hours and the plan. Quantities only; it does not size structure.",
          "inputSchema": {
            "type": "object",
            "required": [
              "spaces"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "roof": {
                "type": "object",
                "properties": {
                  "pitch": {
                    "type": "number",
                    "maximum": 24,
                    "minimum": 0,
                    "description": "The rise per 12 of run (6 = 6 in 12). Left out, each roof row says it waits for the pitch."
                  },
                  "scope": {
                    "type": "object",
                    "description": "Scope question name → answer value, by the planner's ids.",
                    "maxProperties": 30,
                    "additionalProperties": {
                      "type": [
                        "string",
                        "number",
                        "boolean"
                      ]
                    }
                  },
                  "inputs": {
                    "type": "object",
                    "description": "Branch id → { calculator input id: value in its base unit }.",
                    "maxProperties": 50,
                    "additionalProperties": {
                      "type": "object",
                      "maxProperties": 30
                    }
                  },
                  "intent": {
                    "type": "string",
                    "maxLength": 40,
                    "description": "A trade, or everything."
                  },
                  "finishes": {
                    "type": "object",
                    "description": "Surface role → finish id, by the planner's ids.",
                    "maxProperties": 10,
                    "additionalProperties": {
                      "type": "string",
                      "maxLength": 80
                    }
                  },
                  "leaveOut": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 120
                    },
                    "maxItems": 100,
                    "description": "Branch ids to leave out."
                  }
                },
                "additionalProperties": false
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "spaces": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "kind",
                    "figures"
                  ],
                  "properties": {
                    "kind": {
                      "enum": [
                        "room",
                        "bathroom",
                        "slab",
                        "deck",
                        "driveway",
                        "fence",
                        "loft",
                        "retaining-wall",
                        "exterior-wall",
                        "stair",
                        "patio",
                        "lawn",
                        "garden-bed",
                        "pergola",
                        "garden-wall",
                        "shed",
                        "gutter",
                        "partition-wall",
                        "basement-wall",
                        "kitchen",
                        "pitched-roof",
                        "garage-floor",
                        "closet",
                        "strip-footing",
                        "pond",
                        "pool"
                      ],
                      "type": "string",
                      "description": "The kind of space: a room or a bathroom (from its size, doors and windows), or a slab, deck, driveway, fence, loft, retaining wall, exterior wall, stair, patio, lawn, raised bed (garden-bed), pergola, garden wall, shed, gutter run, partition wall, basement wall, kitchen run, pitched roof, garage floor, closet, strip footing, pond or swimming pool (pool)."
                    },
                    "name": {
                      "type": "string",
                      "maxLength": 120
                    },
                    "doors": {
                      "type": "object",
                      "properties": {
                        "count": {
                          "type": "integer",
                          "maximum": 20,
                          "minimum": 0
                        },
                        "width": {
                          "oneOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "string",
                              "maxLength": 200
                            },
                            {
                              "type": "object",
                              "required": [
                                "value"
                              ],
                              "properties": {
                                "unit": {
                                  "type": "string",
                                  "maxLength": 40
                                },
                                "value": {
                                  "type": "number"
                                }
                              },
                              "additionalProperties": false
                            }
                          ]
                        },
                        "height": {
                          "oneOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "string",
                              "maxLength": 200
                            },
                            {
                              "type": "object",
                              "required": [
                                "value"
                              ],
                              "properties": {
                                "unit": {
                                  "type": "string",
                                  "maxLength": 40
                                },
                                "value": {
                                  "type": "number"
                                }
                              },
                              "additionalProperties": false
                            }
                          ]
                        }
                      },
                      "additionalProperties": false
                    },
                    "scope": {
                      "type": "object",
                      "description": "Scope question name → answer value, by the planner's ids.",
                      "maxProperties": 30,
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "boolean"
                        ]
                      }
                    },
                    "inputs": {
                      "type": "object",
                      "description": "Branch id → { calculator input id: value in its base unit }.",
                      "maxProperties": 50,
                      "additionalProperties": {
                        "type": "object",
                        "maxProperties": 30
                      }
                    },
                    "intent": {
                      "type": "string",
                      "maxLength": 40,
                      "description": "A trade, or everything."
                    },
                    "figures": {
                      "type": "object",
                      "description": "The space's figures, by the planner's ids, each a length with its unit (a room: length, width, height, wallThickness; a fence: length, height; a stair: totalRise, width …).",
                      "maxProperties": 10,
                      "additionalProperties": {
                        "oneOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "string",
                            "maxLength": 200
                          },
                          {
                            "type": "object",
                            "required": [
                              "value"
                            ],
                            "properties": {
                              "unit": {
                                "type": "string",
                                "maxLength": 40
                              },
                              "value": {
                                "type": "number"
                              }
                            },
                            "additionalProperties": false
                          }
                        ]
                      }
                    },
                    "windows": {
                      "type": "object",
                      "properties": {
                        "count": {
                          "type": "integer",
                          "maximum": 20,
                          "minimum": 0
                        },
                        "width": {
                          "oneOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "string",
                              "maxLength": 200
                            },
                            {
                              "type": "object",
                              "required": [
                                "value"
                              ],
                              "properties": {
                                "unit": {
                                  "type": "string",
                                  "maxLength": 40
                                },
                                "value": {
                                  "type": "number"
                                }
                              },
                              "additionalProperties": false
                            }
                          ]
                        },
                        "height": {
                          "oneOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "string",
                              "maxLength": 200
                            },
                            {
                              "type": "object",
                              "required": [
                                "value"
                              ],
                              "properties": {
                                "unit": {
                                  "type": "string",
                                  "maxLength": 40
                                },
                                "value": {
                                  "type": "number"
                                }
                              },
                              "additionalProperties": false
                            }
                          ]
                        }
                      },
                      "additionalProperties": false
                    },
                    "finishes": {
                      "type": "object",
                      "description": "Surface role → finish id, by the planner's ids.",
                      "maxProperties": 10,
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 80
                      }
                    },
                    "leaveOut": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "maxLength": 120
                      },
                      "maxItems": 100,
                      "description": "Branch ids to leave out."
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 12,
                "minItems": 1,
                "description": "The spaces, in order, each one planned space."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "system",
                  "spaces",
                  "lines",
                  "labour",
                  "assumptions",
                  "model",
                  "sources",
                  "citation",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "label",
                        "quantity",
                        "unit",
                        "branch",
                        "zone"
                      ]
                    }
                  },
                  "model": {
                    "type": "object"
                  },
                  "engine": {
                    "type": "object"
                  },
                  "labour": {
                    "type": "object",
                    "required": [
                      "rows",
                      "totalHours",
                      "programme",
                      "likelyDays",
                      "note"
                    ]
                  },
                  "notice": {
                    "type": "string"
                  },
                  "spaces": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "space",
                        "outcomes",
                        "lines"
                      ],
                      "properties": {
                        "lines": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "label",
                              "quantity",
                              "unit",
                              "branch",
                              "zone"
                            ]
                          }
                        },
                        "space": {
                          "type": "object",
                          "required": [
                            "id",
                            "kind",
                            "name",
                            "url"
                          ]
                        },
                        "outcomes": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "branch",
                              "label",
                              "trade",
                              "status",
                              "comparison"
                            ],
                            "properties": {
                              "label": {
                                "type": "string"
                              },
                              "trade": {
                                "type": "string"
                              },
                              "branch": {
                                "type": "string"
                              },
                              "status": {
                                "enum": [
                                  "ready",
                                  "needs",
                                  "loading",
                                  "did-not-load",
                                  "no-answer",
                                  "gap",
                                  "left-out",
                                  "not-applicable"
                                ]
                              },
                              "comparison": {
                                "type": "boolean"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "system": {
                    "enum": [
                      "metric",
                      "imperial"
                    ]
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "sources": {
                    "type": "array"
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "assumptions": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field",
                        "reason"
                      ]
                    }
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Plan the materials for several rooms",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create_drawing",
          "title": "Draw a plan and list its materials",
          "description": "Draws one plan on the Construction Canvas from the shapes, rooms laid out by adjacency on a grid, house figures, drawing commands, canvas document or template given, and returns its materials list, a plan of each level, labour hours, a link that opens the drawing on the canvas, and a file. It does not size structure.",
          "inputSchema": {
            "truncated": true,
            "chars": 20873
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "system",
                  "from",
                  "document",
                  "counts",
                  "rows",
                  "objects",
                  "lines",
                  "assumptions",
                  "omitted",
                  "plans",
                  "labour",
                  "sources",
                  "file",
                  "links",
                  "howToOpen",
                  "citation",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "file": {
                    "type": "object",
                    "required": [
                      "filename",
                      "mediaType",
                      "content"
                    ],
                    "properties": {
                      "content": {
                        "type": "object",
                        "required": [
                          "magic",
                          "v",
                          "exportedAt",
                          "stores"
                        ],
                        "properties": {
                          "v": {
                            "type": "integer"
                          },
                          "magic": {
                            "const": "craftquantities.backup"
                          },
                          "stores": {
                            "type": "object"
                          },
                          "exportedAt": {
                            "type": "string"
                          }
                        }
                      },
                      "filename": {
                        "type": "string"
                      },
                      "mediaType": {
                        "const": "application/json"
                      }
                    }
                  },
                  "from": {
                    "enum": [
                      "house",
                      "commands",
                      "document",
                      "shapes",
                      "template",
                      "layout"
                    ]
                  },
                  "rows": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "key",
                        "section",
                        "label",
                        "where",
                        "quantity",
                        "unit",
                        "otherSystem",
                        "calculator"
                      ],
                      "properties": {
                        "key": {
                          "type": "string"
                        },
                        "note": {
                          "type": "string"
                        },
                        "unit": {
                          "type": "string"
                        },
                        "label": {
                          "type": "string"
                        },
                        "order": {
                          "type": "object",
                          "required": [
                            "quantity",
                            "unit"
                          ]
                        },
                        "where": {
                          "type": "string"
                        },
                        "section": {
                          "type": "string"
                        },
                        "quantity": {
                          "type": "number"
                        },
                        "calculator": {
                          "type": "object",
                          "required": [
                            "slug",
                            "title"
                          ]
                        },
                        "otherSystem": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "quantity",
                                "unit"
                              ]
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      }
                    }
                  },
                  "doors": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "wall",
                        "hinge",
                        "swing",
                        "stored"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "wall": {
                          "type": "string"
                        },
                        "hinge": {
                          "enum": [
                            "start",
                            "end"
                          ]
                        },
                        "swing": {
                          "enum": [
                            "left",
                            "right"
                          ]
                        },
                        "stored": {
                          "type": "boolean"
                        }
                      }
                    },
                    "description": "Every door's hand: the wall end its leaf hangs at (start or end, from the wall's start) and the face it opens toward (left or right going start to end, y up on plan). stored false: the drawing holds no hand for it, and the canvas draws it hinged at its start, opening left."
                  },
                  "house": {
                    "type": "object"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "label",
                        "quantity",
                        "unit",
                        "zone"
                      ]
                    }
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "canvas",
                      "drawing"
                    ],
                    "properties": {
                      "canvas": {
                        "type": "string"
                      },
                      "drawing": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "Opens this drawing on the canvas as a new project's: the drawing rides in the fragment, so nothing is uploaded. Null when the drawing is too large for a link."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "template": {
                        "type": "string",
                        "description": "The template's page, when the drawing is a template's: cite it beside the drawing's link."
                      },
                      "estimator": {
                        "type": "string"
                      }
                    }
                  },
                  "plans": {
                    "type": "array"
                  },
                  "counts": {
                    "type": "object",
                    "required": [
                      "walls",
                      "openings",
                      "levels"
                    ]
                  },
                  "engine": {
                    "type": "object"
                  },
                  "labour": {
                    "type": "object",
                    "required": [
                      "rows",
                      "totalHours",
                      "programme",
                      "likelyDays",
                      "note"
                    ]
                  },
                  "layout": {
                    "type": "object",
                    "required": [
                      "grid",
                      "rooms",
                      "walls",
                      "adjustments",
                      "checks"
                    ],
                    "description": "The rooms as laid out (both unit systems), the walls drawn, every figure snapped or room moved, and the closure check."
                  },
                  "notice": {
                    "type": "string"
                  },
                  "shapes": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "shape",
                        "ref",
                        "made",
                        "figures"
                      ]
                    }
                  },
                  "system": {
                    "enum": [
                      "metric",
                      "imperial"
                    ]
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "objects": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "key",
                        "label",
                        "quantity"
                      ]
                    }
                  },
                  "omitted": {
                    "type": "array"
                  },
                  "sources": {
                    "type": "array"
                  },
                  "builtIns": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "key",
                        "label",
                        "figure"
                      ],
                      "properties": {
                        "key": {
                          "type": "string"
                        },
                        "label": {
                          "type": "string"
                        },
                        "detail": {
                          "type": "string"
                        },
                        "figure": {
                          "type": "string"
                        }
                      }
                    },
                    "description": "The drawing's built-ins (base or tall units, a wardrobe, a low built-in) as the canvas's dock lists them: each run along the wall by kind, its depth and height, in both unit systems; quantities only, not sized or priced."
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "document": {
                    "type": "object",
                    "required": [
                      "schema",
                      "units",
                      "counters",
                      "levels",
                      "types",
                      "entities",
                      "assumed",
                      "updatedAt"
                    ]
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "template": {
                    "type": "object",
                    "required": [
                      "slug",
                      "name",
                      "page",
                      "variant",
                      "variants"
                    ],
                    "description": "The template it was drawn from: its page, the variant drawn (null: as the page shows it) and its variants."
                  },
                  "worktops": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "key",
                        "label",
                        "figure"
                      ],
                      "properties": {
                        "key": {
                          "type": "string"
                        },
                        "label": {
                          "type": "string"
                        },
                        "detail": {
                          "type": "string"
                        },
                        "figure": {
                          "type": "string"
                        }
                      }
                    },
                    "description": "The drawing's worktops as the canvas's dock lists them: each fitted piece's true lengths, the worktop lengths to buy and the edge banding, in both unit systems."
                  },
                  "howToOpen": {
                    "type": "string"
                  },
                  "shapeNotes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "assumptions": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field",
                        "reason"
                      ]
                    }
                  },
                  "drawingLink": {
                    "type": "string"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Draw a plan and list its materials",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "import_quote",
          "title": "Turn my quote into an estimate",
          "description": "Turns a supplier's or builder's quote the reader has, prices and all, into a My Project file, as the site's Quote to Estimate does, and checks its own arithmetic. The prices are the reader's figures from their document, not the site's.",
          "inputSchema": {
            "type": "object",
            "required": [
              "quote"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "name": {
                "type": "string",
                "maxLength": 120
              },
              "quote": {
                "type": "string",
                "maxLength": 20000,
                "minLength": 1,
                "description": "The quote's text, one item to a line, with its prices."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "market": {
                "enum": [
                  "US",
                  "CA",
                  "UK",
                  "AU",
                  "INTL"
                ],
                "type": "string",
                "description": "Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures."
              },
              "currency": {
                "type": "string",
                "maxLength": 8,
                "description": "The quote's currency symbol, where the quote does not show it."
              },
              "supplier": {
                "type": "string",
                "maxLength": 120
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "pricesAreTheReaders",
                  "currency",
                  "lines",
                  "declared",
                  "totals",
                  "arithmetic",
                  "skipped",
                  "file",
                  "howToImport",
                  "licence"
                ],
                "properties": {
                  "file": {
                    "type": "object",
                    "required": [
                      "filename",
                      "mediaType",
                      "content"
                    ]
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "section",
                        "text",
                        "unit",
                        "kind",
                        "doubts",
                        "source"
                      ]
                    }
                  },
                  "engine": {
                    "type": "object"
                  },
                  "totals": {
                    "type": "object",
                    "required": [
                      "subtotal",
                      "tax",
                      "total",
                      "unpriced"
                    ]
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "skipped": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "currency": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "declared": {
                    "type": "object"
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "arithmetic": {
                    "type": "array"
                  },
                  "howToImport": {
                    "type": "string"
                  },
                  "pricesAreTheReaders": {
                    "type": "string"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Turn my quote into an estimate",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "diagnose_symptom",
          "title": "Diagnose a building defect (crack, damp, leak)",
          "description": "Matches one building defect described in plain words, such as a crack, a damp patch, a water leak or a tripping breaker, to the site's diagnosis pages, and returns the candidate causes, what tells them apart, the checks in order and when to call a professional; ambiguous words return candidates. It does not say which cause it is.",
          "inputSchema": {
            "type": "object",
            "required": [
              "symptom"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "limit": {
                "type": "integer",
                "maximum": 3,
                "minimum": 1,
                "description": "How many diagnoses at most. Left out: one when the match is clear, up to three when it is not."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "market": {
                "enum": [
                  "US",
                  "CA",
                  "UK",
                  "AU",
                  "INTL"
                ],
                "type": "string",
                "description": "Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures."
              },
              "symptom": {
                "type": "string",
                "maxLength": 300,
                "minLength": 3,
                "description": "What the reader sees, hears or smells, in their own words: \"my breaker keeps tripping when the kettle is on\"."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "symptom",
                  "match",
                  "matchedBy",
                  "note",
                  "diagnoses",
                  "alsoConsider",
                  "links",
                  "citation",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "note": {
                    "type": "string"
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "hub",
                      "structural"
                    ]
                  },
                  "match": {
                    "enum": [
                      "clear",
                      "ambiguous",
                      "none"
                    ]
                  },
                  "engine": {
                    "type": "object"
                  },
                  "market": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "notice": {
                    "type": "string"
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "symptom": {
                    "type": "string"
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "diagnoses": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "kind",
                        "slug",
                        "symptom",
                        "url",
                        "callAProfessional"
                      ],
                      "properties": {
                        "url": {
                          "type": "string"
                        },
                        "kind": {
                          "enum": [
                            "diagnosis",
                            "structural"
                          ]
                        },
                        "slug": {
                          "type": "string"
                        },
                        "causes": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "cause",
                              "likelihood",
                              "distinguishedBy",
                              "check"
                            ],
                            "properties": {
                              "cause": {
                                "type": "string"
                              },
                              "check": {
                                "type": "string",
                                "description": "The one thing to look at to confirm or rule it out."
                              },
                              "likelihood": {
                                "enum": [
                                  "most common",
                                  "common",
                                  "less common",
                                  "uncommon"
                                ]
                              },
                              "distinguishedBy": {
                                "type": "string",
                                "description": "What tells this cause apart from the others."
                              }
                            }
                          }
                        },
                        "checks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "step",
                              "why"
                            ],
                            "properties": {
                              "why": {
                                "type": "string"
                              },
                              "step": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "family": {
                          "type": "string"
                        },
                        "related": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "slug",
                              "url"
                            ]
                          }
                        },
                        "symptom": {
                          "type": "string"
                        },
                        "urgency": {
                          "type": "string"
                        },
                        "verdict": {
                          "type": "string",
                          "description": "The page's first line: what to act on before reading further. Not a diagnosis."
                        },
                        "looksLike": {
                          "type": "string"
                        },
                        "calculators": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "slug",
                              "title",
                              "url"
                            ],
                            "properties": {
                              "url": {
                                "type": "string"
                              },
                              "slug": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "whyStructural": {
                          "type": "string"
                        },
                        "callAProfessional": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  },
                  "matchedBy": {
                    "enum": [
                      "site-search",
                      "shared-words"
                    ]
                  },
                  "alsoConsider": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "slug",
                        "symptom"
                      ]
                    }
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Diagnose a building defect (crack, damp, leak)",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "solve_backwards",
          "title": "How far a material goes",
          "description": "Works out how far one amount of material goes, such as 40 bags of concrete or 24 gallons of paint: the area it covers and the size of slab, room, deck or wall that is, as the site's Solve Backwards page works it, waste taken off. It does not size structure.",
          "inputSchema": {
            "type": "object",
            "required": [
              "have"
            ],
            "properties": {
              "have": {
                "oneOf": [
                  {
                    "type": "number",
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "maxLength": 60
                  },
                  {
                    "type": "object",
                    "required": [
                      "value",
                      "unit"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 20
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "How much the reader has: a count for counted things (20, \"20 sheets\"); a measure with its unit for paint, concrete, soil (\"24 gal\", \"2 m3\", {\"value\": 90, \"unit\": \"L\"})."
              },
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "page": {
                "type": "string",
                "pattern": "^[a-z0-9][a-z0-9-]{1,80}$",
                "description": "A Solve Backwards page's slug, such as wall-paint, drywall-sheets, bricks, concrete-bags, ready-mix-concrete."
              },
              "query": {
                "type": "string",
                "maxLength": 200,
                "minLength": 2,
                "description": "Or what the reader has, in words (\"sheets of drywall\", \"bags of concrete\"), when the slug is not known."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "description": "The page's system; it sets the market's product (a 4 × 8 ft sheet in imperial). Left out: the unit's system, else metric."
              },
              "settings": {
                "type": "object",
                "description": "Optional: another calculator input, with its unit (a slab's thickness \"4 in\", coats 3). The inputs the page grows cannot be set.",
                "maxProperties": 20,
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 60
                    },
                    {
                      "type": "object",
                      "required": [
                        "value",
                        "unit"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string"
                        },
                        "value": {
                          "type": "number"
                        }
                      }
                    }
                  ]
                }
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "page",
                  "calculator",
                  "system",
                  "have",
                  "status",
                  "answer",
                  "area",
                  "size",
                  "typical",
                  "chain",
                  "forwards",
                  "assumptions",
                  "settings",
                  "links",
                  "citation",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "area": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "noun",
                          "exact",
                          "metric",
                          "imperial"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "have": {
                    "type": "object",
                    "required": [
                      "amount",
                      "unit",
                      "inCalculatorUnit"
                    ]
                  },
                  "note": {
                    "type": "string"
                  },
                  "page": {
                    "type": "object",
                    "required": [
                      "slug",
                      "question",
                      "material",
                      "url"
                    ]
                  },
                  "size": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "metres",
                          "feet"
                        ],
                        "properties": {
                          "feet": {
                            "type": "object",
                            "additionalProperties": {
                              "type": "number"
                            }
                          },
                          "metres": {
                            "type": "object",
                            "additionalProperties": {
                              "type": "number"
                            }
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "chain": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "page",
                      "openInSite",
                      "calculator"
                    ]
                  },
                  "answer": {
                    "type": "string",
                    "description": "The page's own answer line."
                  },
                  "engine": {
                    "type": "object"
                  },
                  "notice": {
                    "type": "string"
                  },
                  "status": {
                    "enum": [
                      "reached",
                      "capped",
                      "too-little"
                    ],
                    "description": "reached: the largest size whose requirement fits; capped: more than the calculator's largest job; too-little: less than its smallest."
                  },
                  "system": {
                    "enum": [
                      "metric",
                      "imperial"
                    ]
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "typical": {
                    "type": "object",
                    "required": [
                      "count",
                      "each",
                      "size"
                    ]
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "forwards": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "inputs",
                          "asks",
                          "left"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "settings": {
                    "type": "array"
                  },
                  "calculator": {
                    "type": "object",
                    "required": [
                      "slug",
                      "title",
                      "version",
                      "url"
                    ]
                  },
                  "otherPages": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "slug",
                        "question",
                        "url"
                      ]
                    }
                  },
                  "assumptions": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "label",
                        "value"
                      ]
                    }
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "How far a material goes",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "market_documents",
          "title": "Find the building code for a kind of work",
          "description": "Finds which family of building codes or standards governs one kind of work in one market (US, Canada, UK or Australia, or a country mapped to one), who publishes it and the site's standards page. It does not say which edition is in force: adoption is local, and the answer names who decides.",
          "inputSchema": {
            "type": "object",
            "required": [
              "market"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "market": {
                "type": "string",
                "maxLength": 60,
                "description": "US, CA, UK, AU or INTL — or a country's name (\"England\", \"Canada\"); a country the site has no market for answers as INTL."
              },
              "subject": {
                "type": "string",
                "maxLength": 200,
                "description": "The work, in words: \"kitchen wiring\", \"stair handrails\", \"gas boiler flue\"."
              },
              "calculator": {
                "type": "string",
                "pattern": "^[a-z0-9][a-z0-9-]{1,119}$",
                "description": "Or a calculator's slug: the subjects its own sources name."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "market",
                  "place",
                  "asked",
                  "matchedFrom",
                  "subjects",
                  "adoption",
                  "decidedBy",
                  "notice",
                  "links",
                  "citation",
                  "licence"
                ],
                "properties": {
                  "none": {
                    "type": "string"
                  },
                  "asked": {
                    "type": "object"
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "standards"
                    ]
                  },
                  "place": {
                    "type": "string"
                  },
                  "engine": {
                    "type": "object"
                  },
                  "market": {
                    "enum": [
                      "US",
                      "CA",
                      "UK",
                      "AU",
                      "INTL"
                    ]
                  },
                  "notice": {
                    "type": "string"
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "adoption": {
                    "type": "string",
                    "description": "The market's fixed sentence: adoption, edition and amendments are decided locally."
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "subjects": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "topic",
                        "subject",
                        "documents"
                      ],
                      "properties": {
                        "none": {
                          "type": "string"
                        },
                        "topic": {
                          "type": "string"
                        },
                        "subject": {
                          "type": "string"
                        },
                        "byMarket": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "market",
                              "place",
                              "documents"
                            ],
                            "properties": {
                              "place": {
                                "type": "string"
                              },
                              "market": {
                                "type": "string"
                              },
                              "documents": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "required": [
                                    "document",
                                    "publishers",
                                    "standardsPages"
                                  ],
                                  "properties": {
                                    "document": {
                                      "type": "string",
                                      "description": "The document family, as the site names it — not an edition."
                                    },
                                    "publishers": {
                                      "type": "array",
                                      "items": {
                                        "type": "string"
                                      }
                                    },
                                    "standardsPages": {
                                      "type": "array",
                                      "items": {
                                        "type": "string"
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        "documents": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "document",
                              "publishers",
                              "standardsPages"
                            ],
                            "properties": {
                              "document": {
                                "type": "string",
                                "description": "The document family, as the site names it — not an edition."
                              },
                              "publishers": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "standardsPages": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "decidedBy": {
                    "type": "string"
                  },
                  "calculator": {
                    "type": "object"
                  },
                  "marketNote": {
                    "type": "string"
                  },
                  "matchedFrom": {
                    "enum": [
                      "subject",
                      "calculator-sources",
                      "calculator-title"
                    ]
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Find the building code for a kind of work",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "translate_term",
          "title": "Translate or match a trade word between markets",
          "description": "Says one building-trade word in US, Canadian, UK and Australian usage, such as plasterboard (drywall in the US) or skirting (baseboard): each market's word, how close each is, false-friend warnings, unit traps such as US and imperial gallons or short and metric tons with their conversions, and the market's document family. Brand names, plurals and misspellings match too.",
          "inputSchema": {
            "type": "object",
            "required": [
              "term"
            ],
            "properties": {
              "to": {
                "enum": [
                  "US",
                  "CA",
                  "UK",
                  "AU"
                ],
                "type": "string",
                "description": "The market to say it in."
              },
              "from": {
                "enum": [
                  "US",
                  "CA",
                  "UK",
                  "AU"
                ],
                "type": "string",
                "description": "The market whose word it is, where known."
              },
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "term": {
                "type": "string",
                "maxLength": 80,
                "minLength": 2,
                "description": "A trade word or phrase as one market says it, a brand name said for the product, or a misspelling: \"plasterboard\", \"gyprock\", \"casing\", \"skirting\", \"eavestrough\", \"a yard of concrete\"."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "term",
                  "matchedBy",
                  "concepts",
                  "links",
                  "citation",
                  "licence"
                ],
                "properties": {
                  "to": {
                    "type": "string"
                  },
                  "from": {
                    "type": "string"
                  },
                  "none": {
                    "type": "string"
                  },
                  "note": {
                    "type": "string"
                  },
                  "term": {
                    "type": "string"
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "glossary"
                    ]
                  },
                  "engine": {
                    "type": "object"
                  },
                  "readAs": {
                    "type": "string"
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "matched": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "concept",
                        "name",
                        "market",
                        "as"
                      ],
                      "properties": {
                        "as": {
                          "enum": [
                            "term",
                            "also called"
                          ]
                        },
                        "name": {
                          "type": "string",
                          "description": "The glossary's own name that matched."
                        },
                        "market": {
                          "type": "string"
                        },
                        "concept": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "concepts": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "slug",
                        "concept",
                        "url",
                        "definition",
                        "matchedAs",
                        "names",
                        "warnings",
                        "calculators",
                        "confusions"
                      ],
                      "properties": {
                        "url": {
                          "type": "string"
                        },
                        "slug": {
                          "type": "string"
                        },
                        "names": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "market",
                              "term",
                              "alsoCalled",
                              "exactness",
                              "note"
                            ],
                            "properties": {
                              "note": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "term": {
                                "type": "string"
                              },
                              "market": {
                                "type": "string"
                              },
                              "exactness": {
                                "enum": [
                                  "identical",
                                  "close",
                                  "false-friend",
                                  "absent"
                                ]
                              },
                              "alsoCalled": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        },
                        "concept": {
                          "type": "string"
                        },
                        "warnings": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "matchedAs": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "market",
                              "as"
                            ]
                          }
                        },
                        "confusions": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "definition": {
                          "type": "string"
                        },
                        "calculators": {
                          "type": "array"
                        },
                        "translation": {
                          "type": "object"
                        }
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "documents": {
                    "type": "object",
                    "required": [
                      "market",
                      "place",
                      "subjects",
                      "adoption",
                      "decidedBy",
                      "page"
                    ],
                    "properties": {
                      "for": {
                        "type": "string",
                        "description": "The calculator whose sources, or the document the glossary names for the concept, the subject was read from."
                      },
                      "page": {
                        "type": "string"
                      },
                      "place": {
                        "type": "string"
                      },
                      "market": {
                        "type": "string"
                      },
                      "adoption": {
                        "type": "string"
                      },
                      "subjects": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "subject",
                            "documents"
                          ],
                          "properties": {
                            "subject": {
                              "type": "string"
                            },
                            "documents": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      },
                      "decidedBy": {
                        "type": "string"
                      }
                    },
                    "description": "The family of documents that governs the concept's subject in the named market. No edition, and no claim that it matches another market's document."
                  },
                  "matchedBy": {
                    "enum": [
                      "term",
                      "variant",
                      "within",
                      "fuzzy",
                      "search"
                    ],
                    "description": "How the word was matched: a glossary name exactly; the same name spaced, hyphenated or plural; a phrase holding a name; a misspelling of one name; or the site's ranking of the definitions."
                  },
                  "unitTraps": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "title",
                        "says",
                        "markets",
                        "conversions",
                        "page"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "bags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "calculator",
                              "input",
                              "metric",
                              "imperial"
                            ],
                            "properties": {
                              "input": {
                                "type": "string"
                              },
                              "metric": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "imperial": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "calculator": {
                                "type": "object"
                              }
                            }
                          }
                        },
                        "page": {
                          "type": "string"
                        },
                        "says": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "markets": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "conversions": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "value",
                              "from",
                              "to",
                              "result",
                              "by"
                            ],
                            "properties": {
                              "by": {
                                "type": "string",
                                "description": "The engine's unit conversion that gave the result."
                              },
                              "to": {
                                "type": "string"
                              },
                              "from": {
                                "type": "string"
                              },
                              "value": {
                                "type": "number"
                              },
                              "factor": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "result": {
                                "type": "number"
                              },
                              "definition": {
                                "type": "string",
                                "description": "The defining relation, where one side is not a unit of the conversion table."
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "unitSystems": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "market",
                        "system"
                      ],
                      "properties": {
                        "market": {
                          "type": "string"
                        },
                        "system": {
                          "enum": [
                            "metric",
                            "imperial"
                          ]
                        }
                      }
                    },
                    "description": "Each named market's primary measurement system, as the site's market registry holds it."
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Translate or match a trade word between markets",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create_supplier_quote_request",
          "title": "Create a request for quote to suppliers",
          "description": "Creates a request for quote from a materials list or bill of materials (the lines of a takeoff, house, plan or calculation, or the reader's own): Markdown to paste, a CSV, the site's link a merchant opens to price it, and a My Project file. It carries no price and sends nothing to anyone.",
          "inputSchema": {
            "type": "object",
            "required": [
              "items"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "note": {
                "type": "string",
                "maxLength": 600,
                "description": "A note to the merchants: delivery address area, dates, access."
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "unit": {
                      "type": "string",
                      "maxLength": 24
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "notes": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "order": {
                      "type": "object",
                      "properties": {
                        "unit": {
                          "type": "string"
                        },
                        "quantity": {
                          "type": "number"
                        }
                      }
                    },
                    "packs": {
                      "type": "number",
                      "minimum": 0
                    },
                    "packName": {
                      "type": "string",
                      "maxLength": 120
                    },
                    "packSize": {
                      "type": "number",
                      "exclusiveMinimum": 0
                    },
                    "quantity": {
                      "type": "number",
                      "exclusiveMinimum": 0
                    },
                    "description": {
                      "type": "string",
                      "maxLength": 160
                    }
                  },
                  "description": "A bill line: as a takeoff, house, plan or calculation answer gives it (label or name, quantity, unit, and order where it says what to buy), or the reader's own."
                },
                "maxItems": 400,
                "minItems": 1
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "market": {
                "enum": [
                  "US",
                  "CA",
                  "UK",
                  "AU",
                  "INTL"
                ],
                "type": "string",
                "description": "Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures."
              },
              "project": {
                "type": "string",
                "maxLength": 120,
                "description": "The project's name, as the merchants will see it."
              },
              "currency": {
                "type": "string",
                "maxLength": 8,
                "description": "The currency prices are asked in; left out, the market's."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "project",
                  "currency",
                  "rows",
                  "markdown",
                  "csv",
                  "link",
                  "howToSend",
                  "requestFile",
                  "file",
                  "howToImport",
                  "links",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "csv": {
                    "type": "object",
                    "required": [
                      "filename",
                      "mediaType",
                      "content"
                    ]
                  },
                  "file": {
                    "type": "object",
                    "required": [
                      "filename",
                      "mediaType",
                      "content"
                    ]
                  },
                  "link": {
                    "type": "string",
                    "description": "The site's request link: the merchant opens it, prices it in their own browser and sends a reply link back."
                  },
                  "rows": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "label",
                        "quantity",
                        "unit"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string"
                        },
                        "label": {
                          "type": "string"
                        },
                        "packs": {
                          "type": "number"
                        },
                        "packName": {
                          "type": "string"
                        },
                        "packSize": {
                          "type": "number"
                        },
                        "quantity": {
                          "type": "number"
                        }
                      }
                    }
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "rfq",
                      "project"
                    ]
                  },
                  "engine": {
                    "type": "object"
                  },
                  "notice": {
                    "type": "string"
                  },
                  "dropped": {
                    "type": "integer"
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "project": {
                    "type": "string"
                  },
                  "currency": {
                    "type": "string"
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "markdown": {
                    "type": "string",
                    "description": "The request, to paste into a message."
                  },
                  "howToSend": {
                    "type": "string"
                  },
                  "howToImport": {
                    "type": "string"
                  },
                  "requestFile": {
                    "type": "object",
                    "required": [
                      "filename",
                      "mediaType",
                      "content"
                    ],
                    "properties": {
                      "schema": {
                        "type": "string",
                        "description": "The open JSON Schema the request file follows, for a supplier's own software."
                      }
                    }
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Create a request for quote to suppliers",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_benchmark",
          "title": "Get the Construction Quantities Benchmark",
          "description": "Returns items of the Construction Quantities Benchmark, a CC BY 4.0 dataset of construction quantity questions built from the site's calculator test vectors: each with its inputs and a prompt in metric and US units, the expected answer in each system with its tolerance, and the worked steps. A page of calculators at a time or one calculator's items, with the download link and how to cite it.",
          "inputSchema": {
            "type": "object",
            "required": [],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "page": {
                "type": "integer",
                "minimum": 1,
                "description": "Which page of the benchmark, from 1: each page holds the items of a few calculators, in slug order. 1 when left out."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "calculator": {
                "type": "string",
                "pattern": "^[a-z0-9][a-z0-9-]{1,119}$",
                "description": "One calculator's items only, by its slug, such as concrete-calculator."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "dataset",
                  "items",
                  "excluded"
                ],
                "properties": {
                  "none": {
                    "type": "string"
                  },
                  "page": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "dataset",
                        "calculator",
                        "case",
                        "task",
                        "inputs",
                        "prompt",
                        "answer",
                        "steps",
                        "allowance",
                        "confidence"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "The calculator's slug and the vector's position among its test cases, such as concrete-calculator/1."
                        },
                        "case": {
                          "type": "string",
                          "description": "The test vector's own name."
                        },
                        "task": {
                          "type": "string",
                          "description": "What is worked out: the calculator's result label."
                        },
                        "steps": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "label",
                              "value",
                              "unit"
                            ],
                            "properties": {
                              "unit": {
                                "type": "string"
                              },
                              "label": {
                                "type": "string"
                              },
                              "value": {
                                "type": "number"
                              }
                            }
                          }
                        },
                        "answer": {
                          "type": "object",
                          "required": [
                            "canonical",
                            "metric",
                            "imperial"
                          ],
                          "properties": {
                            "metric": {
                              "type": "object",
                              "required": [
                                "value",
                                "unit",
                                "printed",
                                "tolerance"
                              ],
                              "properties": {
                                "unit": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "number"
                                },
                                "printed": {
                                  "type": "string",
                                  "description": "The figure as the page prints it."
                                },
                                "tolerance": {
                                  "type": "number",
                                  "description": "An answer in this unit is right when it is within this of the value."
                                }
                              }
                            },
                            "imperial": {
                              "type": "object",
                              "required": [
                                "value",
                                "unit",
                                "printed",
                                "tolerance"
                              ],
                              "properties": {
                                "unit": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "number"
                                },
                                "printed": {
                                  "type": "string",
                                  "description": "The figure as the page prints it."
                                },
                                "tolerance": {
                                  "type": "number",
                                  "description": "An answer in this unit is right when it is within this of the value."
                                }
                              }
                            },
                            "canonical": {
                              "type": "object",
                              "required": [
                                "value",
                                "unit",
                                "toleranceDecimalPlaces"
                              ],
                              "properties": {
                                "unit": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "number"
                                },
                                "toleranceDecimalPlaces": {
                                  "type": "number"
                                }
                              },
                              "description": "What the test vector pins, in the calculator's own unit: met when |x − value| < 0.5 × 10^−toleranceDecimalPlaces."
                            }
                          }
                        },
                        "inputs": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "id",
                              "label",
                              "value",
                              "fromVector",
                              "metric",
                              "imperial"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "label": {
                                "type": "string"
                              },
                              "value": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string"
                                  }
                                ],
                                "description": "In the base unit for a dimension (metres, m², litres, kg), the option value for a select."
                              },
                              "metric": {
                                "type": "object",
                                "required": [
                                  "value",
                                  "unit"
                                ],
                                "properties": {
                                  "unit": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "value": {
                                    "anyOf": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "string"
                                      }
                                    ]
                                  }
                                }
                              },
                              "baseUnit": {
                                "type": "string"
                              },
                              "imperial": {
                                "type": "object",
                                "required": [
                                  "value",
                                  "unit"
                                ],
                                "properties": {
                                  "unit": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "value": {
                                    "anyOf": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "string"
                                      }
                                    ]
                                  }
                                }
                              },
                              "fromVector": {
                                "type": "boolean",
                                "description": "False where the vector leaves the input out and it takes the value the page opens on."
                              }
                            }
                          }
                        },
                        "prompt": {
                          "type": "object",
                          "required": [
                            "metric",
                            "imperial"
                          ],
                          "properties": {
                            "metric": {
                              "type": "string"
                            },
                            "imperial": {
                              "type": "string"
                            }
                          }
                        },
                        "dataset": {
                          "type": "string"
                        },
                        "allowance": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "label",
                                "percent"
                              ],
                              "properties": {
                                "label": {
                                  "type": "string"
                                },
                                "percent": {
                                  "type": "number"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "calculator": {
                          "type": "object",
                          "required": [
                            "slug",
                            "title",
                            "category",
                            "version",
                            "url"
                          ],
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "slug": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "version": {
                              "type": "string"
                            },
                            "category": {
                              "type": "string"
                            }
                          }
                        },
                        "confidence": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "engine": {
                    "type": "object"
                  },
                  "dataset": {
                    "type": "object",
                    "required": [
                      "name",
                      "id",
                      "version",
                      "edition",
                      "items",
                      "pages",
                      "download",
                      "method",
                      "scoring",
                      "licence",
                      "status",
                      "citation"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "items": {
                        "type": "number"
                      },
                      "pages": {
                        "type": "number"
                      },
                      "method": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "edition": {
                        "type": "string",
                        "description": "The first twelve hex digits of the JSONL file's SHA-256: which content a citation means."
                      },
                      "licence": {
                        "type": "object",
                        "required": [
                          "name",
                          "url",
                          "attribution"
                        ],
                        "properties": {
                          "url": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "attribution": {
                            "type": "string"
                          }
                        }
                      },
                      "scoring": {
                        "type": "string"
                      },
                      "vectors": {
                        "type": "number"
                      },
                      "version": {
                        "type": "string",
                        "description": "The method and fields version."
                      },
                      "citation": {
                        "type": "object",
                        "required": [
                          "author",
                          "title",
                          "url",
                          "formats",
                          "accessDate"
                        ],
                        "properties": {
                          "url": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "author": {
                            "type": "string"
                          },
                          "formats": {
                            "type": "object",
                            "required": [
                              "plain",
                              "apa",
                              "harvard",
                              "bibtex"
                            ],
                            "properties": {
                              "apa": {
                                "type": "string"
                              },
                              "plain": {
                                "type": "string"
                              },
                              "bibtex": {
                                "type": "string"
                              },
                              "harvard": {
                                "type": "string"
                              }
                            }
                          },
                          "version": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "accessDate": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourcesChecked": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      },
                      "download": {
                        "type": "object",
                        "required": [
                          "jsonl",
                          "manifest"
                        ],
                        "properties": {
                          "bytes": {
                            "type": "number"
                          },
                          "jsonl": {
                            "type": "string"
                          },
                          "sha256": {
                            "type": "string"
                          },
                          "manifest": {
                            "type": "string"
                          }
                        }
                      },
                      "excluded": {
                        "type": "object",
                        "properties": {
                          "money": {
                            "type": "number"
                          },
                          "refused": {
                            "type": "number"
                          },
                          "no-figure": {
                            "type": "number"
                          },
                          "partial-vector": {
                            "type": "number"
                          }
                        },
                        "description": "Vectors left out, by reason: money (the calculator takes or returns a price), partial-vector (its figure needs an input left undefined), refused, no-figure."
                      },
                      "pageSize": {
                        "type": "string"
                      },
                      "currentTo": {
                        "type": "string"
                      },
                      "calculators": {
                        "type": "number"
                      }
                    }
                  },
                  "excluded": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "reason"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "reason": {
                          "enum": [
                            "money",
                            "partial-vector",
                            "refused",
                            "no-figure"
                          ]
                        }
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "nextPage": {
                    "type": "integer"
                  },
                  "calculator": {
                    "type": "string"
                  },
                  "calculators": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Get the Construction Quantities Benchmark",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "measure_sketch",
          "title": "Measure a plan, sketch or photo from its points",
          "description": "Measures areas, perimeters and lengths from points read off a floor plan, sketch or photo (pixel coordinates) and one known reference (a figured dimension, an ID-1 card or an A4 or Letter sheet): scaled figures in metric and US units with an uncertainty band, closure and crossing checks, and a canvas link. It receives no image.",
          "inputSchema": {
            "type": "object",
            "required": [
              "shapes",
              "reference"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "shapes": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "kind",
                    "points"
                  ],
                  "properties": {
                    "as": {
                      "enum": [
                        "measure",
                        "room",
                        "slab",
                        "floor",
                        "patio",
                        "deck",
                        "driveway",
                        "landscaping",
                        "roof",
                        "fence",
                        "footing",
                        "retaining-wall"
                      ],
                      "description": "What it is drawn as on the canvas: a kept measure (the default), or a room (walls round it), slab, floor, patio, deck, driveway, landscaping or roof outline; a fence, footing or retaining wall path. A component is listed with its materials."
                    },
                    "kind": {
                      "enum": [
                        "area",
                        "length"
                      ],
                      "description": "area: a closed outline (a floor, a slab, a roof plane on plan); length: a line or a path (a fence, a footing, a run)."
                    },
                    "name": {
                      "type": "string",
                      "maxLength": 60
                    },
                    "closed": {
                      "type": "boolean",
                      "description": "A length only: the path closes back to its first point."
                    },
                    "points": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "x",
                          "y"
                        ],
                        "properties": {
                          "x": {
                            "type": "number"
                          },
                          "y": {
                            "type": "number"
                          }
                        },
                        "description": "A point in the image's own pixels: x to the right, y down from the top-left corner.",
                        "additionalProperties": false
                      },
                      "maxItems": 501,
                      "minItems": 2,
                      "description": "In order round the outline or along the path."
                    },
                    "calculator": {
                      "type": "object",
                      "required": [
                        "slug",
                        "input"
                      ],
                      "properties": {
                        "slug": {
                          "type": "string",
                          "maxLength": 120
                        },
                        "input": {
                          "type": "string",
                          "maxLength": 80,
                          "description": "The id of the calculator's input that takes the figure."
                        },
                        "figure": {
                          "enum": [
                            "area",
                            "perimeter",
                            "length"
                          ]
                        },
                        "inputs": {
                          "type": "object",
                          "description": "The calculator's input values, by input id (an unknown id is refused with the accepted ids). A length, area, volume or other measured input takes \"12 ft\", \"3.5 m\", \"8' 3 1/2\\\"\" or {\"value\": 12, \"unit\": \"ft\"}; a count or percentage takes a number; a select takes one of its option values. Inputs left out take the value the calculator's page opens on.",
                          "maxProperties": 100,
                          "additionalProperties": {
                            "oneOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "string",
                                "maxLength": 200
                              },
                              {
                                "type": "object",
                                "required": [
                                  "value"
                                ],
                                "properties": {
                                  "unit": {
                                    "type": "string",
                                    "maxLength": 40
                                  },
                                  "value": {
                                    "type": "number"
                                  }
                                },
                                "additionalProperties": false
                              }
                            ]
                          }
                        }
                      },
                      "description": "A calculator the figure goes into, run on the figure and on both ends of its band (at most 10 per request).",
                      "additionalProperties": false
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 40,
                "minItems": 1,
                "description": "The outlines and lines read off the image, in its pixels."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              },
              "reference": {
                "type": "object",
                "properties": {
                  "width": {
                    "oneOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "maxLength": 200
                      },
                      {
                        "type": "object",
                        "required": [
                          "value"
                        ],
                        "properties": {
                          "unit": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "value": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      }
                    ]
                  },
                  "height": {
                    "oneOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "maxLength": 200
                      },
                      {
                        "type": "object",
                        "required": [
                          "value"
                        ],
                        "properties": {
                          "unit": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "value": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      }
                    ]
                  },
                  "object": {
                    "enum": [
                      "card",
                      "a4",
                      "letter",
                      "custom"
                    ],
                    "description": "card: ISO/IEC 7810 ID-1 (85.60 × 53.98 mm); a4: 210 × 297 mm; letter: 8.5 × 11 in; custom: width and height given."
                  },
                  "corners": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "x",
                        "y"
                      ],
                      "properties": {
                        "x": {
                          "type": "number"
                        },
                        "y": {
                          "type": "number"
                        }
                      },
                      "description": "A point in the image's own pixels: x to the right, y down from the top-left corner.",
                      "additionalProperties": false
                    },
                    "maxItems": 4,
                    "minItems": 4,
                    "description": "Top-left, top-right, bottom-right, bottom-left; the width runs from the first to the second."
                  },
                  "dimension": {
                    "type": "object",
                    "required": [
                      "from",
                      "to",
                      "length"
                    ],
                    "properties": {
                      "to": {
                        "type": "object",
                        "required": [
                          "x",
                          "y"
                        ],
                        "properties": {
                          "x": {
                            "type": "number"
                          },
                          "y": {
                            "type": "number"
                          }
                        },
                        "description": "A point in the image's own pixels: x to the right, y down from the top-left corner.",
                        "additionalProperties": false
                      },
                      "from": {
                        "type": "object",
                        "required": [
                          "x",
                          "y"
                        ],
                        "properties": {
                          "x": {
                            "type": "number"
                          },
                          "y": {
                            "type": "number"
                          }
                        },
                        "description": "A point in the image's own pixels: x to the right, y down from the top-left corner.",
                        "additionalProperties": false
                      },
                      "length": {
                        "oneOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "string",
                            "maxLength": 200
                          },
                          {
                            "type": "object",
                            "required": [
                              "value"
                            ],
                            "properties": {
                              "unit": {
                                "type": "string",
                                "maxLength": 40
                              },
                              "value": {
                                "type": "number"
                              }
                            },
                            "additionalProperties": false
                          }
                        ]
                      },
                      "tolerance": {
                        "oneOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "string",
                            "maxLength": 200
                          },
                          {
                            "type": "object",
                            "required": [
                              "value"
                            ],
                            "properties": {
                              "unit": {
                                "type": "string",
                                "maxLength": 40
                              },
                              "value": {
                                "type": "number"
                              }
                            },
                            "additionalProperties": false
                          }
                        ],
                        "description": "How far the figure itself may be off (a dimension rounded to the nearest 10 mm: 5 mm)."
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "description": "ONE known size in the same image: a figured dimension, or an object of known size by its four corners.",
                "additionalProperties": false
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              },
              "pixelError": {
                "type": "number",
                "default": 2,
                "maximum": 50,
                "minimum": 0.1,
                "description": "How far any point may be off, in pixels: it sets the band."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "system",
                  "scale",
                  "shapes",
                  "document",
                  "links",
                  "drawingLink",
                  "accuracy",
                  "privacy",
                  "citation",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "rows": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "key",
                        "label",
                        "quantity",
                        "unit",
                        "calculator"
                      ]
                    }
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "canvas",
                      "drawing",
                      "page"
                    ],
                    "properties": {
                      "page": {
                        "type": "string",
                        "description": "The site's Photo Takeoff page, whose geometry this is."
                      },
                      "canvas": {
                        "type": "string"
                      },
                      "drawing": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "Opens the scaled shapes on the canvas; the drawing rides in the fragment, so nothing is uploaded."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "scale": {
                    "type": "object",
                    "required": [
                      "pixelsPerMm",
                      "perPixel",
                      "reference",
                      "pixelError",
                      "scaleUncertaintyPercent"
                    ]
                  },
                  "engine": {
                    "type": "object"
                  },
                  "notice": {
                    "type": "string"
                  },
                  "shapes": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "kind",
                        "as",
                        "points",
                        "closed",
                        "uncertaintyPercent"
                      ],
                      "properties": {
                        "as": {
                          "type": "string"
                        },
                        "area": {
                          "type": "object",
                          "required": [
                            "m2",
                            "ft2",
                            "low",
                            "high",
                            "text"
                          ],
                          "properties": {
                            "m2": {
                              "type": "number"
                            },
                            "ft2": {
                              "type": "number"
                            },
                            "low": {
                              "type": "object"
                            },
                            "high": {
                              "type": "object"
                            },
                            "text": {
                              "type": "string"
                            }
                          }
                        },
                        "kind": {
                          "enum": [
                            "area",
                            "length"
                          ]
                        },
                        "name": {
                          "type": "string"
                        },
                        "closed": {
                          "type": "boolean"
                        },
                        "length": {
                          "type": "object",
                          "required": [
                            "m",
                            "ft",
                            "low",
                            "high",
                            "text"
                          ],
                          "properties": {
                            "m": {
                              "type": "number"
                            },
                            "ft": {
                              "type": "number"
                            },
                            "low": {
                              "type": "object"
                            },
                            "high": {
                              "type": "object"
                            },
                            "text": {
                              "type": "string"
                            }
                          }
                        },
                        "points": {
                          "type": "integer"
                        },
                        "closure": {
                          "type": "string"
                        },
                        "perimeter": {
                          "type": "object",
                          "required": [
                            "m",
                            "ft",
                            "low",
                            "high",
                            "text"
                          ],
                          "properties": {
                            "m": {
                              "type": "number"
                            },
                            "ft": {
                              "type": "number"
                            },
                            "low": {
                              "type": "object"
                            },
                            "high": {
                              "type": "object"
                            },
                            "text": {
                              "type": "string"
                            }
                          }
                        },
                        "calculator": {
                          "type": "object"
                        },
                        "uncertaintyPercent": {
                          "type": "object"
                        }
                      }
                    }
                  },
                  "system": {
                    "enum": [
                      "metric",
                      "imperial"
                    ]
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "privacy": {
                    "type": "string"
                  },
                  "accuracy": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "document": {
                    "type": "object",
                    "required": [
                      "schema",
                      "levels",
                      "entities"
                    ]
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "drawingLink": {
                    "type": "string"
                  },
                  "notMeasured": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What the canvas could not measure among the components drawn, and why (a patio, deck or driveway outline that is not square-cornered is drawn, not measured)."
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Measure a plan, sketch or photo from its points",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "export_drawing",
          "title": "Export a drawing as DXF, SVG or IFC (CAD and BIM files)",
          "description": "Exports a Construction Canvas drawing (a template, shapes, a room layout, drawing commands, house figures or a canvas document) as DXF for CAD, with the site's CQ-* layers, and as SVG, one plan per level in millimetres, or as one openBIM IFC4 model with quantity sets, as the canvas's own download writes them; a file too large to return is rebuilt from the drawing's link.",
          "inputSchema": {
            "truncated": true,
            "chars": 21156
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "system",
                  "from",
                  "levels",
                  "files",
                  "units",
                  "layers",
                  "links",
                  "rebuild",
                  "citation",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "from": {
                    "type": "string"
                  },
                  "files": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "format",
                        "filename",
                        "mediaType",
                        "bytes",
                        "content"
                      ],
                      "properties": {
                        "note": {
                          "type": "string"
                        },
                        "bytes": {
                          "type": "integer"
                        },
                        "level": {
                          "type": "object"
                        },
                        "format": {
                          "enum": [
                            "dxf",
                            "svg",
                            "ifc"
                          ]
                        },
                        "layers": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "content": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The file's text."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "filename": {
                          "type": "string"
                        },
                        "mediaType": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "canvas",
                      "drawing"
                    ],
                    "properties": {
                      "canvas": {
                        "type": "string"
                      },
                      "drawing": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "units": {
                    "type": "string"
                  },
                  "engine": {
                    "type": "object"
                  },
                  "layers": {
                    "type": "string"
                  },
                  "levels": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name"
                      ]
                    }
                  },
                  "notice": {
                    "type": "string"
                  },
                  "system": {
                    "enum": [
                      "metric",
                      "imperial"
                    ]
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "rebuild": {
                    "type": "string"
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "document": {
                    "type": "object"
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "template": {
                    "type": "object"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Export a drawing as DXF, SVG or IFC (CAD and BIM files)",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "layout_reinforcement",
          "title": "Rebar layout drawing and bar counts for a slab or footing",
          "description": "Lays out reinforcing bars in a rectangular slab or footing from the bar size, spacing and cover the engineer gives: bars each way, lengths, total with lap, stock sticks, a bar schedule (marks, counts, lengths with laps, weight) with the stock to buy, and the layout as SVG and DXF. A quantity layout, not a design: it does not size structure or check a code.",
          "inputSchema": {
            "type": "object",
            "required": [
              "length",
              "width",
              "cover",
              "barSize"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "mats": {
                "enum": [
                  1,
                  2
                ],
                "default": 1,
                "description": "One mat, or two (top and bottom) laid out alike."
              },
              "cover": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "The cover to the bars on plan, as the engineer gives it."
              },
              "width": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Along y, with its unit."
              },
              "chairs": {
                "type": "object",
                "required": [
                  "supportSpacing"
                ],
                "properties": {
                  "supportSpacing": {
                    "oneOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "maxLength": 200
                      },
                      {
                        "type": "object",
                        "required": [
                          "value"
                        ],
                        "properties": {
                          "unit": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "value": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      }
                    ],
                    "description": "The bar-support supplier's rated spacing."
                  },
                  "supportEveryNth": {
                    "enum": [
                      "1",
                      "2",
                      "3"
                    ]
                  }
                },
                "description": "Count the bar supports too, from the supplier's support spacing.",
                "additionalProperties": false
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "length": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Along x, with its unit."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              },
              "barSize": {
                "type": "string",
                "maxLength": 12,
                "minLength": 2,
                "description": "As the engineer gives it: #4, 15M, N12, H12, T12 or 12 mm."
              },
              "element": {
                "enum": [
                  "slab",
                  "footing"
                ],
                "default": "slab",
                "description": "A slab, or a pad or strip footing, as a rectangle on plan."
              },
              "formats": {
                "type": "array",
                "items": {
                  "enum": [
                    "svg",
                    "dxf"
                  ]
                },
                "maxItems": 2,
                "minItems": 1,
                "description": "The drawing's files: svg, dxf or both (the default)."
              },
              "spacing": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "The spacing both ways, as the engineer gives it."
              },
              "lapLength": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "The lap length at each splice, as the engineer gives it, for the bar schedule's laps bar by bar (a bar longer than the stock length is joined). Left out, the schedule counts the laps but adds no length for them."
              },
              "widthwise": {
                "type": "object",
                "properties": {
                  "count": {
                    "type": "integer",
                    "maximum": 1000,
                    "minimum": 0,
                    "description": "A number of bars spread evenly from cover to cover; 0 leaves this direction out."
                  },
                  "spacing": {
                    "oneOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "maxLength": 200
                      },
                      {
                        "type": "object",
                        "required": [
                          "value"
                        ],
                        "properties": {
                          "unit": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "value": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      }
                    ]
                  }
                },
                "description": "The bars running along the width (spaced along the length): a spacing of their own, or a count.",
                "additionalProperties": false
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              },
              "lapPercent": {
                "type": "number",
                "maximum": 40,
                "minimum": 0,
                "description": "The lap-splice allowance on the total; left out, the Rebar Calculator's own default."
              },
              "lengthwise": {
                "type": "object",
                "properties": {
                  "count": {
                    "type": "integer",
                    "maximum": 1000,
                    "minimum": 0,
                    "description": "A number of bars spread evenly from cover to cover; 0 leaves this direction out."
                  },
                  "spacing": {
                    "oneOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "maxLength": 200
                      },
                      {
                        "type": "object",
                        "required": [
                          "value"
                        ],
                        "properties": {
                          "unit": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "value": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      }
                    ]
                  }
                },
                "description": "The bars running along the length (spaced across the width): a spacing of their own, or a count.",
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "system",
                  "element",
                  "given",
                  "clear",
                  "bars",
                  "totals",
                  "calculatorCheck",
                  "weight",
                  "schedule",
                  "chairs",
                  "files",
                  "method",
                  "leftOut",
                  "notDesign",
                  "citation",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "bars": {
                    "type": "object",
                    "required": [
                      "lengthwise",
                      "widthwise",
                      "totalBars"
                    ]
                  },
                  "clear": {
                    "type": "object",
                    "required": [
                      "length",
                      "width"
                    ],
                    "properties": {
                      "width": {
                        "type": "object",
                        "required": [
                          "m",
                          "ft",
                          "text"
                        ],
                        "properties": {
                          "m": {
                            "type": "number"
                          },
                          "ft": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string"
                          }
                        }
                      },
                      "length": {
                        "type": "object",
                        "required": [
                          "m",
                          "ft",
                          "text"
                        ],
                        "properties": {
                          "m": {
                            "type": "number"
                          },
                          "ft": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  },
                  "files": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "format",
                        "filename",
                        "mediaType",
                        "bytes",
                        "content"
                      ],
                      "properties": {
                        "note": {
                          "type": "string"
                        },
                        "bytes": {
                          "type": "integer"
                        },
                        "level": {
                          "type": "object"
                        },
                        "format": {
                          "enum": [
                            "dxf",
                            "svg",
                            "ifc"
                          ]
                        },
                        "layers": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "content": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The file's text."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "filename": {
                          "type": "string"
                        },
                        "mediaType": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "given": {
                    "type": "object",
                    "required": [
                      "length",
                      "width",
                      "cover",
                      "barSize",
                      "mats",
                      "lapPercent"
                    ]
                  },
                  "chairs": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "value",
                          "unit",
                          "calculator"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "engine": {
                    "type": "object"
                  },
                  "method": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "notice": {
                    "type": "string"
                  },
                  "system": {
                    "enum": [
                      "metric",
                      "imperial"
                    ]
                  },
                  "totals": {
                    "type": "object",
                    "required": [
                      "barLength",
                      "withLap",
                      "lapPercent",
                      "stockLength",
                      "sticks",
                      "sticksUnit"
                    ]
                  },
                  "weight": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "metric",
                          "imperial",
                          "calculator"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "element": {
                    "enum": [
                      "slab",
                      "footing"
                    ]
                  },
                  "leftOut": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "schedule": {
                    "type": "object",
                    "required": [
                      "rows",
                      "totals",
                      "stockToBuy",
                      "lapLength"
                    ],
                    "properties": {
                      "rows": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "mark",
                            "bars",
                            "barSize",
                            "count",
                            "lengthEach",
                            "lapsPerBar",
                            "totalLength",
                            "weight"
                          ]
                        }
                      },
                      "totals": {
                        "type": "object",
                        "required": [
                          "bars",
                          "laps",
                          "length",
                          "weight"
                        ]
                      },
                      "stockToBuy": {
                        "type": "object",
                        "required": [
                          "stockLength",
                          "bars",
                          "whole",
                          "cut",
                          "wastePercent"
                        ]
                      }
                    }
                  },
                  "notDesign": {
                    "type": "string"
                  },
                  "weightNote": {
                    "type": "string"
                  },
                  "calculatorCheck": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "calculator",
                          "sticksOneMat",
                          "barsLengthwise",
                          "barsWidthwise",
                          "agrees"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Rebar layout drawing and bar counts for a slab or footing",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "calculate_batch",
          "title": "Run several calculators in one request",
          "description": "Runs up to 25 construction calculator calculations in one request, each a calculator slug or permanent id with its own input values, and returns each run's full answer in order (metric and US units, inputs used, sources, citation, page link) or that run's refusal; one refusal leaves the rest answered. No prices.",
          "inputSchema": {
            "type": "object",
            "required": [
              "items"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "slug"
                  ],
                  "properties": {
                    "ref": {
                      "type": "string",
                      "maxLength": 80,
                      "description": "The caller's own label for this run, returned with its result."
                    },
                    "slug": {
                      "type": "string",
                      "pattern": "^[a-z0-9][a-z0-9-]{1,119}$",
                      "description": "The calculator's slug or permanent id, such as concrete-calculator or cq-c0201."
                    },
                    "inputs": {
                      "type": "object",
                      "description": "The calculator's input values, by input id (an unknown id is refused with the accepted ids). A length, area, volume or other measured input takes \"12 ft\", \"3.5 m\", \"8' 3 1/2\\\"\" or {\"value\": 12, \"unit\": \"ft\"}; a count or percentage takes a number; a select takes one of its option values. Inputs left out take the value the calculator's page opens on.",
                      "maxProperties": 100,
                      "additionalProperties": {
                        "oneOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "string",
                            "maxLength": 200
                          },
                          {
                            "type": "object",
                            "required": [
                              "value"
                            ],
                            "properties": {
                              "unit": {
                                "type": "string",
                                "maxLength": 40
                              },
                              "value": {
                                "type": "number"
                              }
                            },
                            "additionalProperties": false
                          }
                        ]
                      }
                    },
                    "market": {
                      "enum": [
                        "US",
                        "CA",
                        "UK",
                        "AU",
                        "INTL"
                      ],
                      "type": "string",
                      "description": "Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures."
                    },
                    "system": {
                      "enum": [
                        "metric",
                        "imperial"
                      ],
                      "type": "string",
                      "default": "metric",
                      "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
                    },
                    "inputUnits": {
                      "enum": [
                        "base"
                      ],
                      "type": "string",
                      "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 25,
                "minItems": 1,
                "description": "The runs, 1 to 25, each one calculator and its inputs; answered in the same order."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "market": {
                "enum": [
                  "US",
                  "CA",
                  "UK",
                  "AU",
                  "INTL"
                ],
                "type": "string",
                "description": "The market for every run that does not name its own."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system for every run that does not name its own."
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "counts",
                  "results",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "counts": {
                    "type": "object",
                    "required": [
                      "asked",
                      "answered",
                      "refused"
                    ],
                    "properties": {
                      "asked": {
                        "type": "integer"
                      },
                      "refused": {
                        "type": "integer"
                      },
                      "answered": {
                        "type": "integer"
                      }
                    }
                  },
                  "engine": {
                    "type": "object"
                  },
                  "notice": {
                    "type": "string"
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "results": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "index",
                            "ok",
                            "result"
                          ],
                          "properties": {
                            "ok": {
                              "const": true
                            },
                            "ref": {
                              "type": "string"
                            },
                            "index": {
                              "type": "integer"
                            },
                            "result": {
                              "type": "object",
                              "required": [
                                "engine",
                                "calculator",
                                "system",
                                "inputs",
                                "result",
                                "sources",
                                "citation",
                                "links",
                                "licence",
                                "notice"
                              ],
                              "properties": {
                                "links": {
                                  "type": "object",
                                  "required": [
                                    "page",
                                    "open"
                                  ],
                                  "properties": {
                                    "open": {
                                      "type": "string",
                                      "description": "Opens the page on these inputs."
                                    },
                                    "page": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "engine": {
                                  "type": "object",
                                  "required": [
                                    "name",
                                    "version",
                                    "api"
                                  ],
                                  "properties": {
                                    "api": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "version": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "inputs": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "required": [
                                      "id",
                                      "label",
                                      "type",
                                      "value",
                                      "source"
                                    ],
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "read": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "enum": [
                                          "number",
                                          "select"
                                        ]
                                      },
                                      "label": {
                                        "type": "string"
                                      },
                                      "value": {
                                        "type": [
                                          "number",
                                          "string"
                                        ]
                                      },
                                      "metric": {
                                        "type": "object",
                                        "required": [
                                          "value",
                                          "unit"
                                        ],
                                        "properties": {
                                          "unit": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          }
                                        }
                                      },
                                      "option": {
                                        "type": "string"
                                      },
                                      "source": {
                                        "enum": [
                                          "caller",
                                          "default"
                                        ]
                                      },
                                      "baseUnit": {
                                        "type": "string"
                                      },
                                      "imperial": {
                                        "type": "object",
                                        "required": [
                                          "value",
                                          "unit"
                                        ],
                                        "properties": {
                                          "unit": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          }
                                        }
                                      },
                                      "dimension": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  "description": "Every input the calculation ran on, and where each came from."
                                },
                                "market": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "notice": {
                                  "type": "string"
                                },
                                "result": {
                                  "type": "object",
                                  "required": [
                                    "label",
                                    "metric",
                                    "imperial"
                                  ],
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "metric": {
                                      "type": "object",
                                      "required": [
                                        "value",
                                        "unit",
                                        "printed",
                                        "breakdown",
                                        "confidence",
                                        "isComparison",
                                        "canonical"
                                      ],
                                      "properties": {
                                        "unit": {
                                          "type": "string"
                                        },
                                        "value": {
                                          "anyOf": [
                                            {
                                              "type": "number",
                                              "description": "The headline in this system; null where a rate it needs is not given."
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "printed": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "description": "The headline exactly as the page prints it."
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "withheld": {
                                          "anyOf": [
                                            {
                                              "type": "object",
                                              "properties": {
                                                "missingRates": {
                                                  "type": "array",
                                                  "items": {
                                                    "type": "object",
                                                    "properties": {
                                                      "input": {
                                                        "type": "string"
                                                      },
                                                      "label": {
                                                        "type": "string"
                                                      }
                                                    }
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "allowance": {
                                          "anyOf": [
                                            {
                                              "type": "object",
                                              "properties": {
                                                "base": {
                                                  "type": "number"
                                                },
                                                "label": {
                                                  "type": "string"
                                                },
                                                "percent": {
                                                  "type": "number"
                                                }
                                              }
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "breakdown": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "required": [
                                              "label",
                                              "value",
                                              "unit",
                                              "printed"
                                            ],
                                            "properties": {
                                              "unit": {
                                                "type": "string"
                                              },
                                              "label": {
                                                "type": "string"
                                              },
                                              "value": {
                                                "anyOf": [
                                                  {
                                                    "type": "number"
                                                  },
                                                  {
                                                    "type": "null"
                                                  }
                                                ]
                                              },
                                              "printed": {
                                                "type": "string"
                                              }
                                            }
                                          }
                                        },
                                        "canonical": {
                                          "type": "object",
                                          "required": [
                                            "value",
                                            "unit"
                                          ],
                                          "properties": {
                                            "unit": {
                                              "type": "string"
                                            },
                                            "value": {
                                              "anyOf": [
                                                {
                                                  "type": "number"
                                                },
                                                {
                                                  "type": "null"
                                                }
                                              ]
                                            }
                                          },
                                          "description": "The figure in the calculator's own unit, before the display adapter: what its test vectors pin."
                                        },
                                        "confidence": {
                                          "enum": [
                                            "high",
                                            "medium",
                                            "low"
                                          ]
                                        },
                                        "limitations": {
                                          "type": "array",
                                          "items": {
                                            "type": "string"
                                          }
                                        },
                                        "isComparison": {
                                          "type": "boolean",
                                          "description": "The figure is set against a limit. It is not an approval."
                                        },
                                        "confidenceNote": {
                                          "anyOf": [
                                            {
                                              "type": "string"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        }
                                      }
                                    },
                                    "imperial": {
                                      "type": "object",
                                      "required": [
                                        "value",
                                        "unit",
                                        "printed",
                                        "breakdown",
                                        "confidence",
                                        "isComparison",
                                        "canonical"
                                      ],
                                      "properties": {
                                        "unit": {
                                          "type": "string"
                                        },
                                        "value": {
                                          "anyOf": [
                                            {
                                              "type": "number",
                                              "description": "The headline in this system; null where a rate it needs is not given."
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "printed": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "description": "The headline exactly as the page prints it."
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "withheld": {
                                          "anyOf": [
                                            {
                                              "type": "object",
                                              "properties": {
                                                "missingRates": {
                                                  "type": "array",
                                                  "items": {
                                                    "type": "object",
                                                    "properties": {
                                                      "input": {
                                                        "type": "string"
                                                      },
                                                      "label": {
                                                        "type": "string"
                                                      }
                                                    }
                                                  }
                                                }
                                              }
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "allowance": {
                                          "anyOf": [
                                            {
                                              "type": "object",
                                              "properties": {
                                                "base": {
                                                  "type": "number"
                                                },
                                                "label": {
                                                  "type": "string"
                                                },
                                                "percent": {
                                                  "type": "number"
                                                }
                                              }
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "breakdown": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "required": [
                                              "label",
                                              "value",
                                              "unit",
                                              "printed"
                                            ],
                                            "properties": {
                                              "unit": {
                                                "type": "string"
                                              },
                                              "label": {
                                                "type": "string"
                                              },
                                              "value": {
                                                "anyOf": [
                                                  {
                                                    "type": "number"
                                                  },
                                                  {
                                                    "type": "null"
                                                  }
                                                ]
                                              },
                                              "printed": {
                                                "type": "string"
                                              }
                                            }
                                          }
                                        },
                                        "canonical": {
                                          "type": "object",
                                          "required": [
                                            "value",
                                            "unit"
                                          ],
                                          "properties": {
                                            "unit": {
                                              "type": "string"
                                            },
                                            "value": {
                                              "anyOf": [
                                                {
                                                  "type": "number"
                                                },
                                                {
                                                  "type": "null"
                                                }
                                              ]
                                            }
                                          },
                                          "description": "The figure in the calculator's own unit, before the display adapter: what its test vectors pin."
                                        },
                                        "confidence": {
                                          "enum": [
                                            "high",
                                            "medium",
                                            "low"
                                          ]
                                        },
                                        "limitations": {
                                          "type": "array",
                                          "items": {
                                            "type": "string"
                                          }
                                        },
                                        "isComparison": {
                                          "type": "boolean",
                                          "description": "The figure is set against a limit. It is not an approval."
                                        },
                                        "confidenceNote": {
                                          "anyOf": [
                                            {
                                              "type": "string"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        }
                                      }
                                    }
                                  }
                                },
                                "system": {
                                  "enum": [
                                    "metric",
                                    "imperial"
                                  ]
                                },
                                "drawing": {
                                  "type": "object",
                                  "required": [
                                    "kind",
                                    "format",
                                    "title",
                                    "summary",
                                    "svg",
                                    "system",
                                    "scale",
                                    "counts",
                                    "notice"
                                  ],
                                  "properties": {
                                    "svg": {
                                      "type": "string",
                                      "description": "A standalone SVG (light colours), 640 units wide."
                                    },
                                    "kind": {
                                      "enum": [
                                        "tile",
                                        "deck",
                                        "brick",
                                        "block",
                                        "drywall",
                                        "framing",
                                        "siding",
                                        "gutter",
                                        "fence"
                                      ]
                                    },
                                    "scale": {
                                      "type": "object",
                                      "required": [
                                        "unitsPerMetre",
                                        "extent"
                                      ],
                                      "properties": {
                                        "extent": {
                                          "type": "object",
                                          "required": [
                                            "width",
                                            "height"
                                          ],
                                          "properties": {
                                            "width": {
                                              "type": "number"
                                            },
                                            "height": {
                                              "type": "number"
                                            }
                                          }
                                        },
                                        "unitsPerMetre": {
                                          "type": "number"
                                        }
                                      },
                                      "description": "SVG units per metre of the drawn element, and its extent in metres, to print it to a scale."
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "counts": {
                                      "type": "object",
                                      "description": "What the drawing lays: tiles full and cut; joists, rows, fasteners and hangers; courses, whole and cut units and openings; boards whole and cut; studs and plate pieces; trim runs; gutter sections and downspouts; fence bays, posts and pickets.",
                                      "additionalProperties": {
                                        "type": "number"
                                      }
                                    },
                                    "format": {
                                      "const": "svg"
                                    },
                                    "notice": {
                                      "type": "string"
                                    },
                                    "system": {
                                      "enum": [
                                        "metric",
                                        "imperial"
                                      ]
                                    },
                                    "summary": {
                                      "type": "string",
                                      "description": "One sentence describing the drawing, in the system asked for."
                                    }
                                  },
                                  "description": "Only when drawing is true. The SVG is the page's own drawing from the same model the answer counts from."
                                },
                                "explain": {
                                  "type": "object",
                                  "required": [
                                    "about",
                                    "coverage",
                                    "steps",
                                    "final",
                                    "limits"
                                  ],
                                  "properties": {
                                    "about": {
                                      "type": "string"
                                    },
                                    "final": {
                                      "type": "object",
                                      "required": [
                                        "metric",
                                        "imperial"
                                      ],
                                      "properties": {
                                        "metric": {
                                          "type": "object",
                                          "required": [
                                            "value",
                                            "unit",
                                            "printed"
                                          ],
                                          "properties": {
                                            "unit": {
                                              "type": "string"
                                            },
                                            "value": {
                                              "anyOf": [
                                                {
                                                  "type": "number"
                                                },
                                                {
                                                  "type": "null"
                                                }
                                              ]
                                            },
                                            "printed": {
                                              "anyOf": [
                                                {
                                                  "type": "string"
                                                },
                                                {
                                                  "type": "null"
                                                }
                                              ]
                                            }
                                          }
                                        },
                                        "imperial": {
                                          "type": "object",
                                          "required": [
                                            "value",
                                            "unit",
                                            "printed"
                                          ],
                                          "properties": {
                                            "unit": {
                                              "type": "string"
                                            },
                                            "value": {
                                              "anyOf": [
                                                {
                                                  "type": "number"
                                                },
                                                {
                                                  "type": "null"
                                                }
                                              ]
                                            },
                                            "printed": {
                                              "anyOf": [
                                                {
                                                  "type": "string"
                                                },
                                                {
                                                  "type": "null"
                                                }
                                              ]
                                            }
                                          }
                                        }
                                      },
                                      "description": "The figures the answer returns, copied from it."
                                    },
                                    "steps": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "required": [
                                          "n",
                                          "kind",
                                          "system",
                                          "label",
                                          "text"
                                        ],
                                        "properties": {
                                          "n": {
                                            "type": "integer"
                                          },
                                          "kind": {
                                            "enum": [
                                              "input",
                                              "intermediate",
                                              "result",
                                              "allowance",
                                              "range",
                                              "rates",
                                              "display"
                                            ]
                                          },
                                          "text": {
                                            "type": "string",
                                            "description": "The step in words."
                                          },
                                          "unit": {
                                            "type": "string",
                                            "description": "The calculator's own (base) unit for the value."
                                          },
                                          "label": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "anyOf": [
                                              {
                                                "type": "number"
                                              },
                                              {
                                                "type": "string"
                                              },
                                              {
                                                "type": "null"
                                              }
                                            ]
                                          },
                                          "metric": {
                                            "type": "object",
                                            "required": [
                                              "value",
                                              "unit"
                                            ],
                                            "properties": {
                                              "unit": {
                                                "type": "string"
                                              },
                                              "value": {
                                                "anyOf": [
                                                  {
                                                    "type": "number"
                                                  },
                                                  {
                                                    "type": "null"
                                                  }
                                                ]
                                              }
                                            }
                                          },
                                          "source": {
                                            "enum": [
                                              "caller",
                                              "default"
                                            ]
                                          },
                                          "system": {
                                            "enum": [
                                              "metric",
                                              "imperial",
                                              "both"
                                            ]
                                          },
                                          "movedBy": {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            },
                                            "description": "Input ids whose change moved this figure, measured by running compute again."
                                          },
                                          "imperial": {
                                            "type": "object",
                                            "required": [
                                              "value",
                                              "unit"
                                            ],
                                            "properties": {
                                              "unit": {
                                                "type": "string"
                                              },
                                              "value": {
                                                "anyOf": [
                                                  {
                                                    "type": "number"
                                                  },
                                                  {
                                                    "type": "null"
                                                  }
                                                ]
                                              }
                                            }
                                          }
                                        }
                                      }
                                    },
                                    "limits": {
                                      "type": "array",
                                      "items": {
                                        "type": "string"
                                      },
                                      "description": "What the trace does not show, and why."
                                    },
                                    "coverage": {
                                      "enum": [
                                        "intermediates",
                                        "result-only"
                                      ],
                                      "description": "result-only: the calculator reports no figures between its inputs and its result."
                                    }
                                  },
                                  "description": "Only when explain is true. Each figure is the calculator's own; no step is a formula written for the engine."
                                },
                                "licence": {
                                  "type": "object",
                                  "required": [
                                    "name",
                                    "url",
                                    "attribution"
                                  ],
                                  "properties": {
                                    "url": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "attribution": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "sources": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "required": [
                                      "label"
                                    ],
                                    "properties": {
                                      "url": {
                                        "type": "string",
                                        "description": "Only where the calculator gives one; none is invented."
                                      },
                                      "label": {
                                        "type": "string",
                                        "description": "The source as the calculator cites it."
                                      },
                                      "references": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "required": [
                                            "kind",
                                            "document"
                                          ],
                                          "properties": {
                                            "body": {
                                              "type": "string"
                                            },
                                            "kind": {
                                              "enum": [
                                                "code",
                                                "standard"
                                              ]
                                            },
                                            "edition": {
                                              "type": "string"
                                            },
                                            "section": {
                                              "type": "string"
                                            },
                                            "document": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                },
                                "citation": {
                                  "type": "object",
                                  "required": [
                                    "author",
                                    "title",
                                    "url",
                                    "formats",
                                    "accessDate"
                                  ],
                                  "properties": {
                                    "url": {
                                      "type": "string"
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "author": {
                                      "type": "string"
                                    },
                                    "formats": {
                                      "type": "object",
                                      "required": [
                                        "plain",
                                        "apa",
                                        "harvard",
                                        "bibtex"
                                      ],
                                      "properties": {
                                        "apa": {
                                          "type": "string"
                                        },
                                        "plain": {
                                          "type": "string"
                                        },
                                        "bibtex": {
                                          "type": "string"
                                        },
                                        "harvard": {
                                          "type": "string"
                                        }
                                      }
                                    },
                                    "version": {
                                      "anyOf": [
                                        {
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "accessDate": {
                                      "anyOf": [
                                        {
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "sourcesChecked": {
                                      "anyOf": [
                                        {
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    }
                                  }
                                },
                                "calculator": {
                                  "type": "object",
                                  "required": [
                                    "slug",
                                    "title",
                                    "category",
                                    "version",
                                    "lastVerified",
                                    "url",
                                    "json"
                                  ],
                                  "properties": {
                                    "url": {
                                      "type": "string",
                                      "description": "The calculator's page on craftquantities.com."
                                    },
                                    "json": {
                                      "type": "string",
                                      "description": "The calculator's static API document, with its test vectors."
                                    },
                                    "slug": {
                                      "type": "string"
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "version": {
                                      "type": "string",
                                      "description": "The calculator's own version; a result names the calculator that produced it."
                                    },
                                    "category": {
                                      "type": "string"
                                    },
                                    "description": {
                                      "type": "string"
                                    },
                                    "lastVerified": {
                                      "type": "string",
                                      "description": "The date the calculator's sources were last checked."
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        {
                          "type": "object",
                          "required": [
                            "index",
                            "ok",
                            "error"
                          ],
                          "properties": {
                            "ok": {
                              "const": false
                            },
                            "ref": {
                              "type": "string"
                            },
                            "error": {
                              "type": "object",
                              "required": [
                                "title",
                                "status",
                                "problems"
                              ],
                              "properties": {
                                "type": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "status": {
                                  "type": "integer"
                                },
                                "problems": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "required": [
                                      "input",
                                      "problem"
                                    ],
                                    "properties": {
                                      "input": {
                                        "type": "string"
                                      },
                                      "problem": {
                                        "type": "string"
                                      },
                                      "accepted": {
                                        "type": "array",
                                        "items": {
                                          "type": "string"
                                        }
                                      }
                                    }
                                  }
                                },
                                "didYouMean": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              }
                            },
                            "index": {
                              "type": "integer"
                            }
                          }
                        }
                      ]
                    },
                    "description": "One entry per run, in the order asked: the calculator's full answer, or why that run was refused. One refusal leaves the others answered."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Run several calculators in one request",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "update_project",
          "title": "Change a project held in a state token",
          "description": "Changes a My Project project carried in a state token (cqp1.…, from a project file answer): add or remove a room or space, change a dimension, add or remove a takeoff or calculator line, change a roof pitch, rename. Rebuilds every line and returns the new token, a short diff, the totals and a site link. The token is compressed, not encrypted; nothing is stored. No prices.",
          "inputSchema": {
            "type": "object",
            "required": [
              "token"
            ],
            "properties": {
              "file": {
                "type": "boolean",
                "default": false,
                "description": "true: the updated My Project file as well."
              },
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "token": {
                "type": "string",
                "maxLength": 16384,
                "minLength": 8,
                "description": "A project state token from a project-file answer or an earlier update."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "operations": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "op"
                  ],
                  "properties": {
                    "op": {
                      "enum": [
                        "add_space",
                        "remove_space",
                        "set_dimension",
                        "add_takeoff",
                        "remove_takeoff",
                        "add_calculator",
                        "remove_calculator",
                        "set_roof_pitch",
                        "rename"
                      ],
                      "description": "add_space (space) and remove_space (index) on a plan; set_dimension (target, index, field, value) on a space's figure, a calculator's input, a takeoff's measurement or a house's figure; add_takeoff (takeoff) and remove_takeoff (index or takeoff id); add_calculator (calculator) and remove_calculator (index); set_roof_pitch (pitch) on a plan's roof or a house; rename (name)."
                    },
                    "name": {
                      "type": "string",
                      "maxLength": 120
                    },
                    "field": {
                      "type": "string",
                      "maxLength": 60,
                      "description": "set_dimension: the figure's id (a space's figure, a calculator's input, a takeoff's measurement, a house's value)."
                    },
                    "index": {
                      "type": "integer",
                      "maximum": 49,
                      "minimum": 0,
                      "description": "Which space, calculator, takeoff or house, counting from 0 (default 0)."
                    },
                    "pitch": {
                      "anyOf": [
                        {
                          "type": "number",
                          "maximum": 24,
                          "minimum": 0
                        },
                        {
                          "type": "string",
                          "maxLength": 8
                        }
                      ],
                      "description": "set_roof_pitch: rise in 12 (a plan's roof takes 0 to 24; a house 4, 6, 8, 10 or 12)."
                    },
                    "space": {
                      "type": "object",
                      "description": "add_space: one space as a plan takes it (kind, figures, doors, windows, finishes …)."
                    },
                    "value": {
                      "oneOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "string",
                          "maxLength": 200
                        },
                        {
                          "type": "object",
                          "required": [
                            "value"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string",
                              "maxLength": 40
                            },
                            "value": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    },
                    "target": {
                      "enum": [
                        "space",
                        "calculator",
                        "takeoff",
                        "house"
                      ],
                      "description": "set_dimension: what the figure belongs to."
                    },
                    "takeoff": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "takeoff"
                          ],
                          "properties": {
                            "takeoff": {
                              "type": "string",
                              "pattern": "^[a-z0-9][a-z0-9-]{1,119}$"
                            },
                            "leaveOut": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "maxLength": 120
                              },
                              "maxItems": 100,
                              "description": "Rows the reader leaves out of the job: still worked and shown, not put in the project or counted in labour."
                            },
                            "selection": {
                              "type": "object",
                              "description": "Build-up choice id → option id, the takeoff's own (a stud size, an insulation, a cladding). Choices left out take the page's own for the system.",
                              "maxProperties": 20,
                              "additionalProperties": {
                                "type": "string",
                                "maxLength": 80
                              }
                            },
                            "allowances": {
                              "type": "object",
                              "description": "Row → an allowance the reader sets: a percentage (cutting waste, overlap), or the option an allowance follows (a lay pattern). Row names are the takeoff's steps (the calculator slug, or the step key where one runs twice).",
                              "maxProperties": 50,
                              "additionalProperties": {
                                "anyOf": [
                                  {
                                    "type": "number",
                                    "maximum": 100,
                                    "minimum": 0
                                  },
                                  {
                                    "type": "string",
                                    "maxLength": 80
                                  }
                                ]
                              }
                            },
                            "inputUnits": {
                              "enum": [
                                "base"
                              ],
                              "type": "string",
                              "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
                            },
                            "measurements": {
                              "type": "object",
                              "description": "Measurement id → value, each length, area or volume with its unit (\"12 ft\", {\"value\": 3.6, \"unit\": \"m\"}); counts as numbers. Ids are those of the takeoff; any left out opens at the page's own figure.",
                              "maxProperties": 50,
                              "additionalProperties": {
                                "oneOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "string",
                                    "maxLength": 200
                                  },
                                  {
                                    "type": "object",
                                    "required": [
                                      "value"
                                    ],
                                    "properties": {
                                      "unit": {
                                        "type": "string",
                                        "maxLength": 40
                                      },
                                      "value": {
                                        "type": "number"
                                      }
                                    },
                                    "additionalProperties": false
                                  }
                                ]
                              }
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "string",
                          "pattern": "^[a-z0-9][a-z0-9-]{1,119}$"
                        }
                      ],
                      "description": "add_takeoff: a takeoff and its measurements; remove_takeoff: a takeoff id."
                    },
                    "calculator": {
                      "type": "object",
                      "required": [
                        "slug"
                      ],
                      "properties": {
                        "slug": {
                          "type": "string",
                          "pattern": "^[a-z0-9][a-z0-9-]{1,119}$",
                          "description": "The calculator's slug, such as concrete-calculator."
                        },
                        "label": {
                          "type": "string",
                          "maxLength": 120,
                          "description": "The line's name in the project; the calculator's title when left out."
                        },
                        "inputs": {
                          "type": "object",
                          "description": "The calculator's input values, by input id (an unknown id is refused with the accepted ids). A length, area, volume or other measured input takes \"12 ft\", \"3.5 m\", \"8' 3 1/2\\\"\" or {\"value\": 12, \"unit\": \"ft\"}; a count or percentage takes a number; a select takes one of its option values. Inputs left out take the value the calculator's page opens on.",
                          "maxProperties": 100,
                          "additionalProperties": {
                            "oneOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "string",
                                "maxLength": 200
                              },
                              {
                                "type": "object",
                                "required": [
                                  "value"
                                ],
                                "properties": {
                                  "unit": {
                                    "type": "string",
                                    "maxLength": 40
                                  },
                                  "value": {
                                    "type": "number"
                                  }
                                },
                                "additionalProperties": false
                              }
                            ]
                          }
                        },
                        "inputUnits": {
                          "enum": [
                            "base"
                          ],
                          "type": "string",
                          "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 20,
                "description": "The changes, applied in order (0 to 20); none returns the project as the token holds it."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "kind",
                  "state",
                  "applied",
                  "project",
                  "diff",
                  "totals",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "diff": {
                    "type": "object",
                    "required": [
                      "added",
                      "removed",
                      "changed",
                      "unchanged"
                    ],
                    "properties": {
                      "more": {
                        "type": "integer"
                      },
                      "added": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "zone",
                            "label",
                            "unit",
                            "quantity"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string"
                            },
                            "zone": {
                              "type": "string"
                            },
                            "label": {
                              "type": "string"
                            },
                            "quantity": {
                              "type": "number"
                            }
                          }
                        }
                      },
                      "changed": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "zone",
                            "label",
                            "unit",
                            "from",
                            "to"
                          ],
                          "properties": {
                            "to": {
                              "type": "number"
                            },
                            "from": {
                              "type": "number"
                            },
                            "unit": {
                              "type": "string"
                            },
                            "zone": {
                              "type": "string"
                            },
                            "label": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "removed": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "zone",
                            "label",
                            "unit",
                            "quantity"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string"
                            },
                            "zone": {
                              "type": "string"
                            },
                            "label": {
                              "type": "string"
                            },
                            "quantity": {
                              "type": "number"
                            }
                          }
                        }
                      },
                      "unchanged": {
                        "type": "integer"
                      }
                    },
                    "description": "What the operations changed, line by line (lines that share a zone, a name and a unit are summed)."
                  },
                  "file": {
                    "type": "object",
                    "required": [
                      "filename",
                      "mediaType",
                      "content"
                    ],
                    "properties": {
                      "content": {
                        "type": "object",
                        "required": [
                          "magic",
                          "v",
                          "exportedAt",
                          "stores"
                        ],
                        "properties": {
                          "v": {
                            "type": "integer"
                          },
                          "magic": {
                            "const": "craftquantities.backup"
                          },
                          "stores": {
                            "type": "object"
                          },
                          "exportedAt": {
                            "type": "string"
                          }
                        }
                      },
                      "filename": {
                        "type": "string"
                      },
                      "mediaType": {
                        "const": "application/json"
                      }
                    }
                  },
                  "kind": {
                    "enum": [
                      "calculators",
                      "takeoffs",
                      "houses",
                      "plan",
                      "drawing"
                    ]
                  },
                  "state": {
                    "type": "object",
                    "required": [
                      "token",
                      "format",
                      "note"
                    ],
                    "properties": {
                      "link": {
                        "type": "string",
                        "description": "Opens the project on the site from the token, carried in the address fragment, which a browser does not send to any server."
                      },
                      "note": {
                        "type": "string"
                      },
                      "token": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The project's inputs, deflated and base64url-encoded with a format version and a CRC-32 check (cqp1.…). Compact, not encrypted: anyone who has it can read it."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "format": {
                        "type": "string",
                        "description": "The token's format and version."
                      },
                      "characters": {
                        "type": "integer"
                      }
                    }
                  },
                  "engine": {
                    "type": "object"
                  },
                  "notice": {
                    "type": "string"
                  },
                  "totals": {
                    "type": "object",
                    "required": [
                      "lines",
                      "byUnit",
                      "note"
                    ],
                    "properties": {
                      "note": {
                        "type": "string"
                      },
                      "lines": {
                        "type": "integer"
                      },
                      "byUnit": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "unit",
                            "quantity",
                            "lines"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string"
                            },
                            "lines": {
                              "type": "integer"
                            },
                            "quantity": {
                              "type": "number"
                            }
                          }
                        }
                      }
                    }
                  },
                  "applied": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Each operation as it was applied."
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "project": {
                    "type": "object",
                    "required": [
                      "name",
                      "system",
                      "lines"
                    ],
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "lines": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "label",
                            "quantity",
                            "unit",
                            "from"
                          ]
                        }
                      },
                      "system": {
                        "enum": [
                          "metric",
                          "imperial"
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "howToImport": {
                    "type": "string"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Change a project held in a state token",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "classify_items",
          "title": "Group a materials list by MasterFormat division",
          "description": "Groups a materials list, bill of materials, takeoff, plan or project (lines, calculator slugs or a project state token) by CSI MasterFormat 2018 division, by the site's own keyword rule over each line's calculator or words. A suggested grouping, not a specification; no Uniclass or NRM grouping is given. No prices.",
          "inputSchema": {
            "type": "object",
            "required": [],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "lines": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "from": {
                      "type": "string",
                      "maxLength": 160,
                      "description": "Where the line came from, as a project file names it (calculator:…, takeoff:…)."
                    },
                    "slug": {
                      "type": "string",
                      "maxLength": 120,
                      "description": "The calculator that made the line, where known."
                    },
                    "unit": {
                      "type": "string",
                      "maxLength": 40
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "quantity": {
                      "type": "number"
                    },
                    "calculator": {
                      "type": "string",
                      "maxLength": 120
                    },
                    "description": {
                      "type": "string",
                      "maxLength": 200
                    }
                  },
                  "additionalProperties": true
                },
                "maxItems": 400,
                "minItems": 1,
                "description": "Lines of a takeoff, plan, house, drawing or bill: each a label, and the calculator slug where known."
              },
              "token": {
                "type": "string",
                "maxLength": 16384,
                "minLength": 8,
                "description": "A project state token: its lines are grouped."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "calculators": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 120
                },
                "maxItems": 400,
                "minItems": 1,
                "description": "Calculator slugs or permanent ids."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "scheme",
                  "divisions",
                  "counts",
                  "note",
                  "licence"
                ],
                "properties": {
                  "note": {
                    "type": "string"
                  },
                  "counts": {
                    "type": "object",
                    "required": [
                      "lines",
                      "divisions",
                      "unassigned"
                    ],
                    "properties": {
                      "lines": {
                        "type": "integer"
                      },
                      "divisions": {
                        "type": "integer"
                      },
                      "unassigned": {
                        "type": "integer"
                      }
                    }
                  },
                  "scheme": {
                    "type": "object",
                    "required": [
                      "name",
                      "edition",
                      "level"
                    ],
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "level": {
                        "type": "string"
                      },
                      "edition": {
                        "type": "string"
                      }
                    }
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "divisions": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "code",
                        "name",
                        "lines"
                      ],
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "lines": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "label",
                              "basis"
                            ],
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "unit": {
                                "type": "string"
                              },
                              "basis": {
                                "enum": [
                                  "calculator",
                                  "words",
                                  "none"
                                ]
                              },
                              "label": {
                                "type": "string"
                              },
                              "quantity": {
                                "type": "number"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "otherSchemes": {
                    "type": "string"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Group a materials list by MasterFormat division",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "resolve_id",
          "title": "Find a page by its permanent id or old link",
          "description": "Resolves a permanent Craft Quantities id (such as cq-c0412), a current or earlier slug, or a craftquantities.com address to the page as it is today: its kind, current slug, slug history, page link and permanent /id/ link. Ids are assigned once and kept when a page is renamed or moved; a removed page names its replacement.",
          "inputSchema": {
            "type": "object",
            "required": [
              "ref"
            ],
            "properties": {
              "ref": {
                "type": "string",
                "maxLength": 300,
                "minLength": 2,
                "description": "A permanent id (cq-c0412), a current or earlier slug, or a craftquantities.com address."
              },
              "kind": {
                "enum": [
                  "calculator",
                  "takeoff",
                  "guide",
                  "example",
                  "term",
                  "diagnosis"
                ],
                "description": "Only pages of this kind."
              },
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "matches",
                  "licence"
                ],
                "properties": {
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "matches": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "kind",
                        "slug",
                        "history",
                        "url",
                        "permanentUrl"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "The permanent id: assigned once, kept whatever the page's slug or category becomes."
                        },
                        "url": {
                          "type": "string",
                          "description": "The page's address today."
                        },
                        "kind": {
                          "enum": [
                            "calculator",
                            "takeoff",
                            "guide",
                            "example",
                            "term",
                            "diagnosis"
                          ]
                        },
                        "slug": {
                          "type": "string",
                          "description": "The slug the page answers on today."
                        },
                        "history": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "Every slug the page has had, the current one last."
                        },
                        "retired": {
                          "type": "object",
                          "properties": {
                            "replacedBy": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          }
                        },
                        "permanentUrl": {
                          "type": "string",
                          "description": "The site's /id/ address for the page, which redirects to wherever the page is."
                        }
                      }
                    },
                    "description": "The pages the reference names: one for an id, more where pages of different kinds share a slug."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Find a page by its permanent id or old link",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "plan_programme",
          "title": "Build programme (construction schedule) from labour hours",
          "description": "Builds a construction programme (build schedule, Gantt) from a project's labour hours: tasks by trade, stage and level in the usual order of work, each its hours over the crew and working day given, with totals, a CSV and, with a start date, an iCalendar file. Reads a project state token, a My Project file, takeoffs or a drawing. Weather, inspections and lead times are not modelled. No prices.",
          "inputSchema": {
            "truncated": true,
            "chars": 24747
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "from",
                  "project",
                  "settings",
                  "tasks",
                  "totals",
                  "trades",
                  "leftOut",
                  "files",
                  "note",
                  "overlap",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "from": {
                    "enum": [
                      "token",
                      "file",
                      "takeoffs",
                      "drawing"
                    ]
                  },
                  "note": {
                    "type": "string"
                  },
                  "files": {
                    "type": "object",
                    "required": [
                      "csv"
                    ],
                    "properties": {
                      "csv": {
                        "type": "object",
                        "required": [
                          "filename",
                          "mediaType",
                          "content"
                        ],
                        "properties": {
                          "content": {
                            "type": "string"
                          },
                          "filename": {
                            "type": "string"
                          },
                          "mediaType": {
                            "type": "string"
                          }
                        }
                      },
                      "ics": {
                        "type": "object",
                        "required": [
                          "filename",
                          "mediaType",
                          "content"
                        ],
                        "properties": {
                          "content": {
                            "type": "string"
                          },
                          "filename": {
                            "type": "string"
                          },
                          "mediaType": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  },
                  "tasks": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "stage",
                        "stageName",
                        "trade",
                        "tradeName",
                        "level",
                        "items",
                        "hours",
                        "basis",
                        "crew",
                        "days",
                        "start",
                        "finish",
                        "dependsOn"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "crew": {
                          "type": "integer",
                          "description": "People."
                        },
                        "days": {
                          "type": "number",
                          "description": "Working days, in halves."
                        },
                        "basis": {
                          "enum": [
                            "site",
                            "yours",
                            "both"
                          ]
                        },
                        "hours": {
                          "type": "object",
                          "required": [
                            "low",
                            "likely",
                            "high"
                          ],
                          "properties": {
                            "low": {
                              "type": "number"
                            },
                            "high": {
                              "type": "number"
                            },
                            "likely": {
                              "type": "number"
                            }
                          },
                          "description": "Person-hours (h): the likely figure sets the duration."
                        },
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "level": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "required": [
                            "id",
                            "name"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            }
                          }
                        },
                        "stage": {
                          "type": "string"
                        },
                        "start": {
                          "type": "number",
                          "description": "Working days from the start, in halves."
                        },
                        "trade": {
                          "type": "string"
                        },
                        "finish": {
                          "type": "number",
                          "description": "Working days from the start, in halves."
                        },
                        "endDate": {
                          "type": "string",
                          "description": "Last working date (YYYY-MM-DD), with a start date."
                        },
                        "dependsOn": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "stageName": {
                          "type": "string"
                        },
                        "startDate": {
                          "type": "string",
                          "description": "First working date (YYYY-MM-DD), with a start date."
                        },
                        "tradeName": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "engine": {
                    "type": "object"
                  },
                  "levels": {
                    "type": "array",
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "required": [
                        "id",
                        "name"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "notice": {
                    "type": "string"
                  },
                  "totals": {
                    "type": "object",
                    "required": [
                      "hours",
                      "personDays",
                      "crewDays",
                      "elapsedDays",
                      "tasks"
                    ],
                    "properties": {
                      "hours": {
                        "type": "object",
                        "required": [
                          "low",
                          "likely",
                          "high"
                        ],
                        "properties": {
                          "low": {
                            "type": "number"
                          },
                          "high": {
                            "type": "number"
                          },
                          "likely": {
                            "type": "number"
                          }
                        }
                      },
                      "tasks": {
                        "type": "integer"
                      },
                      "endDate": {
                        "type": "string"
                      },
                      "crewDays": {
                        "type": "number",
                        "description": "Crew-days (d)."
                      },
                      "startDate": {
                        "type": "string"
                      },
                      "personDays": {
                        "type": "number",
                        "description": "Person-days (d)."
                      },
                      "elapsedDays": {
                        "type": "number",
                        "description": "Working days (d), first start to last finish."
                      }
                    }
                  },
                  "trades": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "crew"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "crew": {
                          "type": "integer"
                        },
                        "name": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "leftOut": {
                    "type": "object",
                    "required": [
                      "noHours",
                      "notATrade",
                      "items"
                    ],
                    "properties": {
                      "items": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "title",
                            "why"
                          ],
                          "properties": {
                            "why": {
                              "enum": [
                                "no-hours",
                                "not-a-trade"
                              ]
                            },
                            "title": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "noHours": {
                        "type": "integer"
                      },
                      "notATrade": {
                        "type": "integer"
                      }
                    }
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "overlap": {
                    "type": "string"
                  },
                  "project": {
                    "type": "object",
                    "required": [
                      "name",
                      "lines"
                    ],
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "lines": {
                        "type": "integer"
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "settings": {
                    "type": "object",
                    "required": [
                      "crew",
                      "crews",
                      "hoursPerDay",
                      "workDays"
                    ],
                    "properties": {
                      "crew": {
                        "type": "integer"
                      },
                      "crews": {
                        "type": "object"
                      },
                      "daysOff": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "workDays": {
                        "type": "array",
                        "items": {
                          "type": "integer"
                        }
                      },
                      "startDate": {
                        "type": "string"
                      },
                      "hoursPerDay": {
                        "type": "number"
                      }
                    }
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Build programme (construction schedule) from labour hours",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "optimise_cuts",
          "title": "Optimise a cut list: stock lengths and sheet layouts",
          "description": "Optimises a cut list: pieces of given lengths cut from the stock lengths a merchant sells (timber, studs, joists, rafters, rebar, trim), or rectangles nested on sheets (plasterboard, drywall, plywood, OSB, tiles) in straight edge-to-edge cuts. Gives the stock or sheets to buy, a cutting plan per bar or sheet, the real waste and a lower bound. Quantities only: no prices, no structural design.",
          "inputSchema": {
            "type": "object",
            "required": [
              "kind",
              "pieces"
            ],
            "properties": {
              "kerf": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "The saw's kerf, charged on every piece (both ways on a sheet). Left out, the material's: 3 mm or 1/8 in for a saw, none for a bar shear or a board knife."
              },
              "kind": {
                "enum": [
                  "linear",
                  "sheet"
                ],
                "description": "linear: lengths cut from stock lengths (studs, plates, joists, rafters, bars, trim, boards). sheet: rectangles nested on sheets (plasterboard or drywall, plywood, OSB, tiles)."
              },
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "mode": {
                "enum": [
                  "guillotine",
                  "free"
                ],
                "description": "sheet: guillotine (the default), every cut edge to edge for a panel or track saw, with the cuts in order; free, also layouts needing plunge cuts (CNC)."
              },
              "trim": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "sheet: cut off every sheet edge before nesting (a factory edge that is not clean). Left out, none."
              },
              "stock": {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 200
                    },
                    {
                      "type": "object",
                      "required": [
                        "value"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                },
                "maxItems": 12,
                "minItems": 1,
                "description": "linear: the stock lengths on offer, each in any number, with units (\"4.8 m\", \"16 ft\"). Left out, the market's usual lengths for the material in the system asked for."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "pieces": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "count"
                  ],
                  "properties": {
                    "band": {
                      "type": "object",
                      "properties": {
                        "long": {
                          "type": "integer",
                          "maximum": 2,
                          "minimum": 0
                        },
                        "short": {
                          "type": "integer",
                          "maximum": 2,
                          "minimum": 0
                        }
                      },
                      "description": "sheet: how many of the piece's long and short edges are edge-banded (0, 1 or 2 each).",
                      "additionalProperties": false
                    },
                    "join": {
                      "type": "boolean",
                      "description": "linear: a run that may be joined where a stock length runs out (a plate, a rim, trim, a board run). Left out, a piece longer than every stock length is listed, not split: a joint in a joist, a rafter or a bar is the designer's."
                    },
                    "count": {
                      "type": "integer",
                      "maximum": 3000,
                      "minimum": 1
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 60
                    },
                    "width": {
                      "oneOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "string",
                          "maxLength": 200
                        },
                        {
                          "type": "object",
                          "required": [
                            "value"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string",
                              "maxLength": 40
                            },
                            "value": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": false
                        }
                      ],
                      "description": "sheet: the piece's width, with its unit."
                    },
                    "height": {
                      "oneOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "string",
                          "maxLength": 200
                        },
                        {
                          "type": "object",
                          "required": [
                            "value"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string",
                              "maxLength": 40
                            },
                            "value": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": false
                        }
                      ],
                      "description": "sheet: the piece's height (along the grain), with its unit."
                    },
                    "length": {
                      "oneOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "string",
                          "maxLength": 200
                        },
                        {
                          "type": "object",
                          "required": [
                            "value"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string",
                              "maxLength": 40
                            },
                            "value": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": false
                        }
                      ],
                      "description": "linear: the finished length, with its unit."
                    },
                    "rotate": {
                      "type": "boolean",
                      "description": "sheet: whether this piece may turn a quarter; left out, as the request says. false holds its grain along its height."
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 200,
                "minItems": 1,
                "description": "The cut list: up to 200 lines and 3000 pieces (1500 for sheets) in all."
              },
              "rotate": {
                "type": "boolean",
                "description": "sheet: whether pieces may turn a quarter (no grain or strength axis to keep). Left out: yes for plasterboard and tiles, no for plywood and OSB."
              },
              "sheets": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "width",
                    "height"
                  ],
                  "properties": {
                    "width": {
                      "oneOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "string",
                          "maxLength": 200
                        },
                        {
                          "type": "object",
                          "required": [
                            "value"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string",
                              "maxLength": 40
                            },
                            "value": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    },
                    "height": {
                      "oneOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "string",
                          "maxLength": 200
                        },
                        {
                          "type": "object",
                          "required": [
                            "value"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string",
                              "maxLength": 40
                            },
                            "value": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 6,
                "minItems": 1,
                "description": "sheet: the sheet sizes on offer (the plan takes the one that buys the least area). Left out, the market's usual size for the material."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              },
              "material": {
                "enum": [
                  "timber",
                  "rebar",
                  "casing",
                  "plasterboard",
                  "plywood",
                  "osb",
                  "tile"
                ],
                "description": "What is cut, for the market's stock lengths or sheet sizes, saw kerf and grain when they are left out: timber (the default for linear), rebar or casing; plasterboard (the default for sheet), plywood, OSB or tile."
              },
              "minOffcut": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "linear: the shortest offcut worth keeping; shorter ones count as waste. sheet: the smallest offcut (either way round) listed for reuse; left out, 300 mm (12 in) square."
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              },
              "bandAllowance": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "sheet: tape added to every banded edge for trimming flush. Left out, none."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "system",
                  "kind",
                  "material",
                  "given",
                  "buy",
                  "waste",
                  "bound",
                  "proven",
                  "patterns",
                  "patternsTotal",
                  "notDesign",
                  "method",
                  "citation",
                  "licence",
                  "notice",
                  "links"
                ],
                "properties": {
                  "buy": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "count",
                        "text"
                      ],
                      "properties": {
                        "text": {
                          "type": "string"
                        },
                        "count": {
                          "type": "integer"
                        },
                        "sheet": {
                          "type": "object"
                        },
                        "stock": {
                          "type": "object",
                          "required": [
                            "m",
                            "ft",
                            "text"
                          ],
                          "properties": {
                            "m": {
                              "type": "number"
                            },
                            "ft": {
                              "type": "number"
                            },
                            "text": {
                              "type": "string",
                              "description": "In the system asked for, then the other."
                            }
                          }
                        }
                      }
                    },
                    "description": "What to buy: each stock length or the sheet size, and how many."
                  },
                  "kind": {
                    "enum": [
                      "linear",
                      "sheet"
                    ]
                  },
                  "bound": {
                    "type": "object",
                    "required": [
                      "wastePercent"
                    ],
                    "description": "The floor no plan can beat: the pieces with their kerf over the stock (with one stock length, at least one bar for each piece over half a bar; on sheets, one sheet for each piece too big to share one)."
                  },
                  "given": {
                    "type": "object",
                    "description": "What the plan was worked from, in both systems: the stock lengths or sheet sizes, the kerf, the minimum offcut, whether pieces turn."
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "page"
                    ],
                    "properties": {
                      "page": {
                        "type": "string"
                      }
                    }
                  },
                  "steps": {
                    "type": "integer",
                    "description": "Search steps spent (bounded)."
                  },
                  "waste": {
                    "type": "object",
                    "required": [
                      "percent"
                    ],
                    "properties": {
                      "percent": {
                        "type": "number"
                      },
                      "keptOffcut": {
                        "type": "object",
                        "required": [
                          "m",
                          "ft",
                          "text"
                        ],
                        "properties": {
                          "m": {
                            "type": "number"
                          },
                          "ft": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string",
                            "description": "In the system asked for, then the other."
                          }
                        }
                      },
                      "excludingKeptOffcutsPercent": {
                        "type": "number"
                      }
                    }
                  },
                  "bought": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "m",
                          "ft",
                          "text"
                        ],
                        "properties": {
                          "m": {
                            "type": "number"
                          },
                          "ft": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string",
                            "description": "In the system asked for, then the other."
                          }
                        }
                      },
                      {
                        "type": "object",
                        "required": [
                          "m2",
                          "ft2",
                          "text"
                        ],
                        "properties": {
                          "m2": {
                            "type": "number"
                          },
                          "ft2": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string"
                          }
                        }
                      }
                    ]
                  },
                  "engine": {
                    "type": "object"
                  },
                  "method": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "notice": {
                    "type": "string"
                  },
                  "pieces": {
                    "type": "integer"
                  },
                  "proven": {
                    "type": "boolean",
                    "description": "True when no plan buys less: the exact branch and bound finished, or the plan meets the bound."
                  },
                  "system": {
                    "enum": [
                      "metric",
                      "imperial"
                    ]
                  },
                  "banding": {
                    "type": "object",
                    "description": "sheet: edge banding per row of the list and the total, with any allowance."
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "tooLong": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    },
                    "description": "Pieces no stock length or sheet takes, listed rather than split."
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "material": {
                    "type": "string"
                  },
                  "patterns": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "times",
                            "stock",
                            "cuts",
                            "offcut",
                            "keep"
                          ],
                          "properties": {
                            "cuts": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "length"
                                ],
                                "properties": {
                                  "label": {
                                    "type": "string"
                                  },
                                  "joined": {
                                    "type": "boolean"
                                  },
                                  "length": {
                                    "type": "object",
                                    "required": [
                                      "m",
                                      "ft",
                                      "text"
                                    ],
                                    "properties": {
                                      "m": {
                                        "type": "number"
                                      },
                                      "ft": {
                                        "type": "number"
                                      },
                                      "text": {
                                        "type": "string",
                                        "description": "In the system asked for, then the other."
                                      }
                                    }
                                  }
                                }
                              }
                            },
                            "keep": {
                              "type": "boolean"
                            },
                            "stock": {
                              "type": "object",
                              "required": [
                                "m",
                                "ft",
                                "text"
                              ],
                              "properties": {
                                "m": {
                                  "type": "number"
                                },
                                "ft": {
                                  "type": "number"
                                },
                                "text": {
                                  "type": "string",
                                  "description": "In the system asked for, then the other."
                                }
                              }
                            },
                            "times": {
                              "type": "integer"
                            },
                            "offcut": {
                              "type": "object",
                              "required": [
                                "m",
                                "ft",
                                "text"
                              ],
                              "properties": {
                                "m": {
                                  "type": "number"
                                },
                                "ft": {
                                  "type": "number"
                                },
                                "text": {
                                  "type": "string",
                                  "description": "In the system asked for, then the other."
                                }
                              }
                            }
                          }
                        },
                        {
                          "type": "object",
                          "required": [
                            "times",
                            "placed"
                          ],
                          "properties": {
                            "cuts": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "order",
                                  "kind"
                                ],
                                "properties": {
                                  "to": {
                                    "type": "object"
                                  },
                                  "from": {
                                    "type": "object"
                                  },
                                  "kind": {
                                    "enum": [
                                      "trim",
                                      "rip",
                                      "cross"
                                    ]
                                  },
                                  "order": {
                                    "type": "integer"
                                  },
                                  "length": {
                                    "type": "object",
                                    "required": [
                                      "m",
                                      "ft",
                                      "text"
                                    ],
                                    "properties": {
                                      "m": {
                                        "type": "number"
                                      },
                                      "ft": {
                                        "type": "number"
                                      },
                                      "text": {
                                        "type": "string",
                                        "description": "In the system asked for, then the other."
                                      }
                                    }
                                  }
                                }
                              },
                              "description": "The saw cuts in the order to make them (edge trim, rips, cross cuts), on a guillotine layout."
                            },
                            "times": {
                              "type": "integer"
                            },
                            "placed": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "x",
                                  "y",
                                  "width",
                                  "height",
                                  "rotated"
                                ],
                                "properties": {
                                  "x": {
                                    "type": "object",
                                    "required": [
                                      "m",
                                      "ft",
                                      "text"
                                    ],
                                    "properties": {
                                      "m": {
                                        "type": "number"
                                      },
                                      "ft": {
                                        "type": "number"
                                      },
                                      "text": {
                                        "type": "string",
                                        "description": "In the system asked for, then the other."
                                      }
                                    }
                                  },
                                  "y": {
                                    "type": "object",
                                    "required": [
                                      "m",
                                      "ft",
                                      "text"
                                    ],
                                    "properties": {
                                      "m": {
                                        "type": "number"
                                      },
                                      "ft": {
                                        "type": "number"
                                      },
                                      "text": {
                                        "type": "string",
                                        "description": "In the system asked for, then the other."
                                      }
                                    }
                                  },
                                  "id": {
                                    "type": "string",
                                    "description": "The part's id to write on it: the row's letter and its number (A1, A2, B1 …)."
                                  },
                                  "label": {
                                    "type": "string"
                                  },
                                  "width": {
                                    "type": "object",
                                    "required": [
                                      "m",
                                      "ft",
                                      "text"
                                    ],
                                    "properties": {
                                      "m": {
                                        "type": "number"
                                      },
                                      "ft": {
                                        "type": "number"
                                      },
                                      "text": {
                                        "type": "string",
                                        "description": "In the system asked for, then the other."
                                      }
                                    }
                                  },
                                  "height": {
                                    "type": "object",
                                    "required": [
                                      "m",
                                      "ft",
                                      "text"
                                    ],
                                    "properties": {
                                      "m": {
                                        "type": "number"
                                      },
                                      "ft": {
                                        "type": "number"
                                      },
                                      "text": {
                                        "type": "string",
                                        "description": "In the system asked for, then the other."
                                      }
                                    }
                                  },
                                  "rotated": {
                                    "type": "boolean"
                                  },
                                  "grainLocked": {
                                    "type": "boolean"
                                  }
                                }
                              }
                            },
                            "offcuts": {
                              "type": "array",
                              "items": {
                                "type": "object"
                              },
                              "description": "Rectangles left whole at or above the minimum size, largest first."
                            },
                            "guillotine": {
                              "type": "boolean"
                            },
                            "largestOffcut": {
                              "type": "object"
                            }
                          }
                        }
                      ]
                    },
                    "description": "Each way a bar or sheet is cut, with how many are cut that way; up to 150, most used first."
                  },
                  "required": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "m",
                          "ft",
                          "text"
                        ],
                        "properties": {
                          "m": {
                            "type": "number"
                          },
                          "ft": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string",
                            "description": "In the system asked for, then the other."
                          }
                        }
                      },
                      {
                        "type": "object",
                        "required": [
                          "m2",
                          "ft2",
                          "text"
                        ],
                        "properties": {
                          "m2": {
                            "type": "number"
                          },
                          "ft2": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string"
                          }
                        }
                      }
                    ]
                  },
                  "notDesign": {
                    "type": "string"
                  },
                  "gapPercent": {
                    "type": "number",
                    "description": "How far this plan is above the bound, percent."
                  },
                  "joinedRuns": {
                    "type": "integer"
                  },
                  "yieldPercent": {
                    "type": "number",
                    "description": "sheet: the pieces' area over the area bought, percent."
                  },
                  "patternsTotal": {
                    "type": "integer"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Optimise a cut list: stock lengths and sheet layouts",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "estimate_hours",
          "title": "Estimated labour hours per line of a project",
          "description": "Estimated person-hours on each line of a project, as My Project shows them: hours typed on the line, else a production rate's band for its quantity, else the reason for none; with the project's crew-days. From a token, a file, calculators, takeoffs or a drawing. Hours only: no prices.",
          "inputSchema": {
            "truncated": true,
            "chars": 25279
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "from",
                  "system",
                  "project",
                  "settings",
                  "head",
                  "lines",
                  "totals",
                  "notPriced",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "from": {
                    "enum": [
                      "token",
                      "file",
                      "calculators",
                      "takeoffs",
                      "drawing"
                    ]
                  },
                  "head": {
                    "type": "string",
                    "description": "The estimated-hours column's heading as My Project prints it."
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "label",
                        "quantity",
                        "unit",
                        "calculator",
                        "counted",
                        "source",
                        "hours",
                        "text",
                        "rate",
                        "explain"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "rate": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "id",
                                "operation",
                                "personHoursPerUnit",
                                "per",
                                "quantityInRateUnit",
                                "basis",
                                "source"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "per": {
                                  "type": "object",
                                  "required": [
                                    "metric",
                                    "imperial"
                                  ],
                                  "properties": {
                                    "metric": {
                                      "type": "string"
                                    },
                                    "imperial": {
                                      "type": "string"
                                    }
                                  },
                                  "description": "The unit the rate is per, in each system."
                                },
                                "basis": {
                                  "enum": [
                                    "rule-of-thumb",
                                    "arithmetic"
                                  ]
                                },
                                "source": {
                                  "type": "string"
                                },
                                "operation": {
                                  "type": "string"
                                },
                                "whatMovesIt": {
                                  "type": "string"
                                },
                                "personHoursPerUnit": {
                                  "type": "object",
                                  "required": [
                                    "low",
                                    "likely",
                                    "high"
                                  ],
                                  "properties": {
                                    "low": {
                                      "type": "number"
                                    },
                                    "high": {
                                      "type": "number"
                                    },
                                    "likely": {
                                      "type": "number"
                                    }
                                  }
                                },
                                "quantityInRateUnit": {
                                  "type": "number"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "text": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "unit": {
                          "type": "string"
                        },
                        "hours": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "low",
                                "likely",
                                "high"
                              ],
                              "properties": {
                                "low": {
                                  "type": "number"
                                },
                                "high": {
                                  "type": "number"
                                },
                                "likely": {
                                  "type": "number"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "Person-hours (h)."
                        },
                        "label": {
                          "type": "string"
                        },
                        "reason": {
                          "type": "string"
                        },
                        "source": {
                          "enum": [
                            "entered",
                            "offered",
                            "part",
                            "none"
                          ],
                          "description": "entered: hours typed on the line; offered: a production rate's band; part: counted with another line's work; none: no rate measures it."
                        },
                        "counted": {
                          "type": "boolean",
                          "description": "In the crew's hours: not a reference figure, an unchosen alternate or a subcontractor's lump sum."
                        },
                        "explain": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [],
                              "properties": {
                                "metric": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "imperial": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "accepted": {
                          "type": "number",
                          "description": "Person-hours (h) an accepted estimate writes on the line: the middle of the band."
                        },
                        "quantity": {
                          "type": "number"
                        },
                        "operation": {
                          "type": "string"
                        },
                        "calculator": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "countedWith": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "project"
                    ],
                    "properties": {
                      "project": {
                        "type": "string"
                      }
                    }
                  },
                  "engine": {
                    "type": "object",
                    "required": [
                      "name",
                      "version",
                      "api"
                    ],
                    "properties": {
                      "api": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "version": {
                        "type": "string"
                      }
                    }
                  },
                  "notice": {
                    "type": "string"
                  },
                  "system": {
                    "type": "string"
                  },
                  "totals": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "hours",
                          "text",
                          "enteredHours",
                          "offeredLines",
                          "unratedLines",
                          "crewDays",
                          "crew",
                          "hoursPerDay"
                        ],
                        "properties": {
                          "crew": {
                            "type": "integer"
                          },
                          "text": {
                            "type": "string"
                          },
                          "hours": {
                            "type": "object",
                            "required": [
                              "low",
                              "likely",
                              "high"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              },
                              "likely": {
                                "type": "number"
                              }
                            }
                          },
                          "crewDays": {
                            "type": "object",
                            "required": [
                              "low",
                              "likely",
                              "high"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              },
                              "likely": {
                                "type": "number"
                              }
                            }
                          },
                          "hoursPerDay": {
                            "type": "number"
                          },
                          "crewDaysText": {
                            "type": "string"
                          },
                          "enteredHours": {
                            "type": "number"
                          },
                          "offeredLines": {
                            "type": "integer"
                          },
                          "unratedLines": {
                            "type": "integer"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "project": {
                    "type": "object",
                    "required": [
                      "name",
                      "lines"
                    ],
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "lines": {
                        "type": "integer"
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "settings": {
                    "type": "object",
                    "required": [
                      "crew",
                      "hoursPerDay"
                    ],
                    "properties": {
                      "crew": {
                        "type": "integer"
                      },
                      "hoursPerDay": {
                        "type": "number"
                      }
                    }
                  },
                  "notPriced": {
                    "type": "string"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Estimated labour hours per line of a project",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "compare_on_job",
          "title": "Compare two options on one job, with the crossover",
          "description": "Works both sides of a comparison page (LVP vs tile, paint vs wallpaper …) on one job: each side's quantity in both unit systems, allowance, weight and person-hours, the difference, and the crossover as one job figure is swept. Each calculator runs as its page runs it. No prices.",
          "inputSchema": {
            "type": "object",
            "required": [
              "comparison"
            ],
            "properties": {
              "job": {
                "type": "object",
                "description": "The job's figures by field id, each length or area with its unit (\"14 ft\", {\"value\": 4.2, \"unit\": \"m\"}), a count or pitch as a number, a choice as its option value. Fields left out open at the page's own figure.",
                "maxProperties": 20,
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 200
                    },
                    {
                      "type": "object",
                      "required": [
                        "value"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "sweep": {
                "type": "string",
                "maxLength": 60,
                "description": "The job field the crossover chart sweeps; the page's own when left out."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "market": {
                "enum": [
                  "US",
                  "CA",
                  "UK",
                  "AU",
                  "INTL"
                ],
                "type": "string",
                "description": "Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures."
              },
              "points": {
                "type": "integer",
                "default": 25,
                "maximum": 41,
                "minimum": 3,
                "description": "Sample points across the swept field's range."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              },
              "comparison": {
                "type": "string",
                "pattern": "^[a-z0-9][a-z0-9-]{1,119}$",
                "description": "A comparison page's slug, such as lvp-vs-tile or paint-vs-wallpaper."
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "comparison",
                  "system",
                  "job",
                  "sides",
                  "measure",
                  "delta",
                  "flip",
                  "notPriced",
                  "links",
                  "citation",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "job": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "key",
                        "label",
                        "value",
                        "source"
                      ],
                      "properties": {
                        "key": {
                          "type": "string"
                        },
                        "label": {
                          "type": "string"
                        },
                        "value": {
                          "type": [
                            "number",
                            "string"
                          ]
                        },
                        "metric": {
                          "type": "object",
                          "required": [
                            "value",
                            "unit"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string"
                            },
                            "value": {
                              "type": "number"
                            }
                          }
                        },
                        "source": {
                          "enum": [
                            "caller",
                            "default"
                          ]
                        },
                        "options": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "imperial": {
                          "type": "object",
                          "required": [
                            "value",
                            "unit"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string"
                            },
                            "value": {
                              "type": "number"
                            }
                          }
                        },
                        "dimension": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "flip": {
                    "type": "object",
                    "required": [
                      "field",
                      "label",
                      "range",
                      "measure",
                      "shapesOnly",
                      "points",
                      "crossings"
                    ],
                    "properties": {
                      "note": {
                        "type": "string"
                      },
                      "field": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "range": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        },
                        "maxItems": 2,
                        "minItems": 2,
                        "description": "Base units (m, m²) or the field's own number."
                      },
                      "points": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "x",
                            "a",
                            "b"
                          ],
                          "properties": {
                            "a": {
                              "anyOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "b": {
                              "anyOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "x": {
                              "type": "number"
                            }
                          }
                        }
                      },
                      "measure": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "crossings": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "x",
                            "lowerBefore"
                          ],
                          "properties": {
                            "x": {
                              "type": "number"
                            },
                            "metric": {
                              "type": "object",
                              "required": [
                                "value",
                                "unit"
                              ],
                              "properties": {
                                "unit": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "number"
                                }
                              }
                            },
                            "imperial": {
                              "type": "object",
                              "required": [
                                "value",
                                "unit"
                              ],
                              "properties": {
                                "unit": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "number"
                                }
                              }
                            },
                            "lowerBefore": {
                              "enum": [
                                "a",
                                "b"
                              ]
                            }
                          }
                        }
                      },
                      "dimension": {
                        "type": "string"
                      },
                      "shapesOnly": {
                        "type": "boolean",
                        "description": "True when the sides share no measure: each series is a share of its own figure at the job, and no crossing is claimed."
                      }
                    }
                  },
                  "delta": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "a",
                          "b",
                          "unit",
                          "diff",
                          "pct"
                        ],
                        "properties": {
                          "a": {
                            "type": "number"
                          },
                          "b": {
                            "type": "number"
                          },
                          "pct": {
                            "anyOf": [
                              {
                                "type": "number",
                                "description": "A against B, in percent."
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "diff": {
                            "type": "number",
                            "description": "A less B, in the measure's unit."
                          },
                          "unit": {
                            "type": "string"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "page",
                      "open"
                    ],
                    "properties": {
                      "open": {
                        "type": "string"
                      },
                      "page": {
                        "type": "string"
                      }
                    }
                  },
                  "sides": {
                    "type": "object",
                    "required": [
                      "a",
                      "b"
                    ],
                    "properties": {
                      "a": {
                        "type": "object",
                        "required": [
                          "label",
                          "calculator",
                          "answer",
                          "otherSystem",
                          "allowance",
                          "weightKg",
                          "hours",
                          "inputs",
                          "open"
                        ],
                        "properties": {
                          "open": {
                            "type": "string",
                            "description": "The calculator's page opened on this side's inputs."
                          },
                          "hours": {
                            "anyOf": [
                              {
                                "type": "object",
                                "required": [
                                  "low",
                                  "likely",
                                  "high"
                                ],
                                "properties": {
                                  "low": {
                                    "type": "number"
                                  },
                                  "high": {
                                    "type": "number"
                                  },
                                  "likely": {
                                    "type": "number"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Person-hours (h) from the operation's production rate."
                          },
                          "label": {
                            "type": "string"
                          },
                          "answer": {
                            "anyOf": [
                              {
                                "type": "object",
                                "required": [
                                  "value",
                                  "unit"
                                ],
                                "properties": {
                                  "unit": {
                                    "type": "string"
                                  },
                                  "value": {
                                    "type": "number"
                                  },
                                  "printed": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "inputs": {
                            "type": "object"
                          },
                          "hoursFor": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "hoursWhy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "weightKg": {
                            "anyOf": [
                              {
                                "type": "number",
                                "description": "Kilograms."
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "allowance": {
                            "anyOf": [
                              {
                                "type": "object",
                                "required": [
                                  "percent",
                                  "label"
                                ],
                                "properties": {
                                  "label": {
                                    "type": "string"
                                  },
                                  "percent": {
                                    "type": "number"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "calculator": {
                            "type": "object",
                            "required": [
                              "slug",
                              "title",
                              "version",
                              "url"
                            ],
                            "properties": {
                              "url": {
                                "type": "string"
                              },
                              "slug": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "version": {
                                "type": "string"
                              }
                            }
                          },
                          "confidence": {
                            "type": "string"
                          },
                          "otherSystem": {
                            "anyOf": [
                              {
                                "type": "object",
                                "required": [
                                  "value",
                                  "unit"
                                ],
                                "properties": {
                                  "unit": {
                                    "type": "string"
                                  },
                                  "value": {
                                    "type": "number"
                                  },
                                  "printed": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      },
                      "b": {
                        "type": "object",
                        "required": [
                          "label",
                          "calculator",
                          "answer",
                          "otherSystem",
                          "allowance",
                          "weightKg",
                          "hours",
                          "inputs",
                          "open"
                        ],
                        "properties": {
                          "open": {
                            "type": "string",
                            "description": "The calculator's page opened on this side's inputs."
                          },
                          "hours": {
                            "anyOf": [
                              {
                                "type": "object",
                                "required": [
                                  "low",
                                  "likely",
                                  "high"
                                ],
                                "properties": {
                                  "low": {
                                    "type": "number"
                                  },
                                  "high": {
                                    "type": "number"
                                  },
                                  "likely": {
                                    "type": "number"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Person-hours (h) from the operation's production rate."
                          },
                          "label": {
                            "type": "string"
                          },
                          "answer": {
                            "anyOf": [
                              {
                                "type": "object",
                                "required": [
                                  "value",
                                  "unit"
                                ],
                                "properties": {
                                  "unit": {
                                    "type": "string"
                                  },
                                  "value": {
                                    "type": "number"
                                  },
                                  "printed": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "inputs": {
                            "type": "object"
                          },
                          "hoursFor": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "hoursWhy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "weightKg": {
                            "anyOf": [
                              {
                                "type": "number",
                                "description": "Kilograms."
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "allowance": {
                            "anyOf": [
                              {
                                "type": "object",
                                "required": [
                                  "percent",
                                  "label"
                                ],
                                "properties": {
                                  "label": {
                                    "type": "string"
                                  },
                                  "percent": {
                                    "type": "number"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "calculator": {
                            "type": "object",
                            "required": [
                              "slug",
                              "title",
                              "version",
                              "url"
                            ],
                            "properties": {
                              "url": {
                                "type": "string"
                              },
                              "slug": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "version": {
                                "type": "string"
                              }
                            }
                          },
                          "confidence": {
                            "type": "string"
                          },
                          "otherSystem": {
                            "anyOf": [
                              {
                                "type": "object",
                                "required": [
                                  "value",
                                  "unit"
                                ],
                                "properties": {
                                  "unit": {
                                    "type": "string"
                                  },
                                  "value": {
                                    "type": "number"
                                  },
                                  "printed": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      }
                    }
                  },
                  "engine": {
                    "type": "object",
                    "required": [
                      "name",
                      "version",
                      "api"
                    ],
                    "properties": {
                      "api": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "version": {
                        "type": "string"
                      }
                    }
                  },
                  "market": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "notice": {
                    "type": "string"
                  },
                  "system": {
                    "type": "string"
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "measure": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "id",
                          "words",
                          "unit"
                        ],
                        "properties": {
                          "id": {
                            "enum": [
                              "hours",
                              "answer",
                              "weight",
                              "cost"
                            ]
                          },
                          "unit": {
                            "type": "string"
                          },
                          "words": {
                            "type": "string"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "notPriced": {
                    "type": "string"
                  },
                  "comparison": {
                    "type": "object",
                    "required": [
                      "slug",
                      "title",
                      "url",
                      "kind"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "kind": {
                        "enum": [
                          "shared",
                          "rule"
                        ]
                      },
                      "rule": {
                        "type": "string"
                      },
                      "slug": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      }
                    }
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Compare two options on one job, with the crossover",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "run_guide_chain",
          "title": "Run a guide's \"Try the calculation\" with your figures",
          "description": "Runs a how-to guide's \"Try the calculation\" block on the figures given: each step's calculator in the guide's order, what to buy with waste and order quantities, both unit systems, person-hours, and the guide's link opening the block on these figures. No prices; nothing sized.",
          "inputSchema": {
            "type": "object",
            "required": [
              "guide"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "guide": {
                "type": "string",
                "pattern": "^[a-z0-9][a-z0-9-]{1,119}$",
                "description": "A guide's slug whose page has a \"Try the calculation\" block, such as how-to-board-a-loft-over-insulation."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "market": {
                "enum": [
                  "US",
                  "CA",
                  "UK",
                  "AU",
                  "INTL"
                ],
                "type": "string",
                "description": "Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              },
              "measurements": {
                "type": "object",
                "description": "Measurement id → value, each length, area or volume with its unit; counts as numbers. Any left out opens at the guide's own figure.",
                "maxProperties": 50,
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 200
                    },
                    {
                      "type": "object",
                      "required": [
                        "value"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                }
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "guide",
                  "system",
                  "measurements",
                  "rows",
                  "labour",
                  "notPriced",
                  "links",
                  "citation",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "rows": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "key",
                        "name",
                        "calculator",
                        "state",
                        "quantity",
                        "unit",
                        "role"
                      ],
                      "properties": {
                        "key": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "role": {
                          "enum": [
                            "material",
                            "figure"
                          ],
                          "description": "material: an amount bought, with waste and an order quantity; figure: a check, a count of work or a dimension the next step reads."
                        },
                        "unit": {
                          "type": "string"
                        },
                        "order": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "quantity",
                                "unit",
                                "rule"
                              ],
                              "properties": {
                                "rule": {
                                  "type": "string"
                                },
                                "unit": {
                                  "type": "string"
                                },
                                "quantity": {
                                  "type": "number"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "state": {
                          "type": "string"
                        },
                        "inputs": {
                          "type": "array"
                        },
                        "printed": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "quantity": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "calculator": {
                          "type": "object",
                          "required": [
                            "slug",
                            "title",
                            "url"
                          ],
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "slug": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "version": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          }
                        },
                        "labourHours": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "low",
                                "likely",
                                "high"
                              ],
                              "properties": {
                                "low": {
                                  "type": "number"
                                },
                                "high": {
                                  "type": "number"
                                },
                                "likely": {
                                  "type": "number"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "Person-hours (h)."
                        },
                        "otherSystem": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "quantity",
                                "unit"
                              ],
                              "properties": {
                                "unit": {
                                  "type": "string"
                                },
                                "quantity": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      }
                    }
                  },
                  "guide": {
                    "type": "object",
                    "required": [
                      "slug",
                      "name",
                      "url"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "slug": {
                        "type": "string"
                      }
                    }
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "page",
                      "open"
                    ],
                    "properties": {
                      "open": {
                        "type": "string"
                      },
                      "page": {
                        "type": "string"
                      }
                    }
                  },
                  "engine": {
                    "type": "object",
                    "required": [
                      "name",
                      "version",
                      "api"
                    ],
                    "properties": {
                      "api": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "version": {
                        "type": "string"
                      }
                    }
                  },
                  "labour": {
                    "type": "object"
                  },
                  "market": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "notice": {
                    "type": "string"
                  },
                  "system": {
                    "type": "string"
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "sources": {
                    "type": "array"
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "notPriced": {
                    "type": "string"
                  },
                  "measurements": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "label",
                        "value",
                        "source"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "label": {
                          "type": "string"
                        },
                        "value": {
                          "type": "number"
                        },
                        "metric": {
                          "type": "object",
                          "required": [
                            "value",
                            "unit"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string"
                            },
                            "value": {
                              "type": "number"
                            }
                          }
                        },
                        "source": {
                          "type": "string"
                        },
                        "imperial": {
                          "type": "object",
                          "required": [
                            "value",
                            "unit"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string"
                            },
                            "value": {
                              "type": "number"
                            }
                          }
                        },
                        "dimension": {
                          "type": "string"
                        },
                        "openingFrom": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "sizingWithheld": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Run a guide's \"Try the calculation\" with your figures",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "run_example_live",
          "title": "Re-run a worked example with changed figures",
          "description": "Re-runs a worked example with the job's figures changed: each change follows down every step that reads it, each step beside its published figure with the difference, both unit systems, the project lines with offered hours, and a link reopening it. A modelled job; no prices.",
          "inputSchema": {
            "type": "object",
            "required": [
              "example"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "inputs": {
                "type": "object",
                "description": "One step's own input, keyed \"<step index>.<input id>\" (\"3.wastePercent\"), each with its unit where it has one.",
                "maxProperties": 60,
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 200
                    },
                    {
                      "type": "object",
                      "required": [
                        "value"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "example": {
                "type": "string",
                "pattern": "^[a-z0-9][a-z0-9-]{1,119}$",
                "description": "A worked example's slug, such as attached-deck-built."
              },
              "figures": {
                "type": "object",
                "description": "The job's own figures by id (a deck's length, a room's height), each length or area with its unit; a count as a number. They follow down every step that reads them.",
                "maxProperties": 20,
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 200
                    },
                    {
                      "type": "object",
                      "required": [
                        "value"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "example",
                  "figures",
                  "steps",
                  "changed",
                  "lines",
                  "notPriced",
                  "links",
                  "citation",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "kept": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "label",
                        "quantity",
                        "unit"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string"
                        },
                        "label": {
                          "type": "string"
                        },
                        "quantity": {
                          "type": "number"
                        },
                        "calculator": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "labourHours": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "labourHoursFrom": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      }
                    }
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "page",
                      "open"
                    ],
                    "properties": {
                      "open": {
                        "type": "string"
                      },
                      "page": {
                        "type": "string"
                      }
                    }
                  },
                  "steps": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "index",
                        "title",
                        "calculator",
                        "kind",
                        "state",
                        "published",
                        "answer",
                        "difference"
                      ],
                      "properties": {
                        "kind": {
                          "enum": [
                            "line",
                            "measure"
                          ]
                        },
                        "index": {
                          "type": "integer"
                        },
                        "moved": {
                          "type": "object"
                        },
                        "state": {
                          "enum": [
                            "ok",
                            "missing",
                            "error"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "answer": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "value",
                                "unit"
                              ],
                              "properties": {
                                "unit": {
                                  "type": "string"
                                },
                                "other": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "value": {
                                  "type": "number"
                                },
                                "printed": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "inputs": {
                          "type": "object"
                        },
                        "published": {
                          "type": "object",
                          "required": [
                            "printed"
                          ],
                          "properties": {
                            "other": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "printed": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          }
                        },
                        "calculator": {
                          "type": "object",
                          "required": [
                            "slug",
                            "title",
                            "url"
                          ],
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "slug": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "version": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          }
                        },
                        "difference": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "direction",
                                "text",
                                "percent"
                              ],
                              "properties": {
                                "text": {
                                  "type": "string"
                                },
                                "percent": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "direction": {
                                  "enum": [
                                    "up",
                                    "down",
                                    "same"
                                  ]
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      }
                    }
                  },
                  "engine": {
                    "type": "object",
                    "required": [
                      "name",
                      "version",
                      "api"
                    ],
                    "properties": {
                      "api": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "version": {
                        "type": "string"
                      }
                    }
                  },
                  "notice": {
                    "type": "string"
                  },
                  "changed": {
                    "type": "boolean"
                  },
                  "example": {
                    "type": "object",
                    "required": [
                      "slug",
                      "title",
                      "name",
                      "system",
                      "url"
                    ],
                    "properties": {
                      "job": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "slug": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "system": {
                        "type": "string"
                      },
                      "takeoff": {
                        "type": "string"
                      }
                    }
                  },
                  "figures": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "label",
                        "value",
                        "published",
                        "changed",
                        "metric",
                        "imperial"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "label": {
                          "type": "string"
                        },
                        "value": {
                          "type": "number"
                        },
                        "metric": {
                          "type": "string"
                        },
                        "changed": {
                          "type": "boolean"
                        },
                        "imperial": {
                          "type": "string"
                        },
                        "dimension": {
                          "type": "string"
                        },
                        "published": {
                          "type": "number"
                        }
                      }
                    }
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "missing": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "drawable": {
                    "type": "boolean"
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "notPriced": {
                    "type": "string"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Re-run a worked example with changed figures",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "stair_flight",
          "title": "Stair layout: straight, turned, concrete or steel",
          "description": "Lays out a flight as built: risers, goings, pitch, 2R+G, the floor opening for a headroom, the stringer as cut, timber and fixings (straight, landing or winders), or concrete and bars, or steel mass; both systems, limits read against a named code, a canvas link. Not sized.",
          "inputSchema": {
            "type": "object",
            "required": [
              "kind"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "straight",
                  "turned",
                  "concrete",
                  "steel"
                ],
                "description": "straight: one timber flight; turned: an L or U on a landing or winders; concrete: a cast flight; steel: steel stringers with treads."
              },
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "inputs": {
                "type": "object",
                "description": "The stair page's inputs by id (totalRise, targetRiser, going, buildingCode …), each length with its unit; any left out opens at the page's own figure.",
                "maxProperties": 100,
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 200
                    },
                    {
                      "type": "object",
                      "required": [
                        "value"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "market": {
                "enum": [
                  "US",
                  "CA",
                  "UK",
                  "AU",
                  "INTL"
                ],
                "type": "string",
                "description": "Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "kind",
                  "calculator",
                  "system",
                  "inputs",
                  "result",
                  "plan",
                  "canvas",
                  "notSized",
                  "citation",
                  "links",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "kind": {
                    "enum": [
                      "straight",
                      "turned",
                      "concrete",
                      "steel"
                    ]
                  },
                  "plan": {
                    "type": "object",
                    "required": [
                      "metric",
                      "imperial"
                    ],
                    "properties": {
                      "metric": {
                        "type": "object",
                        "description": "The plan the page draws, in one system's stock lengths: every length in mm with both systems' readings; problems when the figures cannot be laid out."
                      },
                      "imperial": {
                        "type": "object",
                        "description": "The plan the page draws, in one system's stock lengths: every length in mm with both systems' readings; problems when the figures cannot be laid out."
                      }
                    }
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "page",
                      "open"
                    ],
                    "properties": {
                      "open": {
                        "type": "string"
                      },
                      "page": {
                        "type": "string"
                      }
                    }
                  },
                  "canvas": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "link",
                          "notes"
                        ],
                        "properties": {
                          "link": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "notes": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "engine": {
                    "type": "object",
                    "required": [
                      "name",
                      "version",
                      "api"
                    ],
                    "properties": {
                      "api": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "version": {
                        "type": "string"
                      }
                    }
                  },
                  "inputs": {
                    "type": "array"
                  },
                  "market": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "notice": {
                    "type": "string"
                  },
                  "result": {
                    "type": "object",
                    "required": [
                      "label",
                      "metric",
                      "imperial"
                    ],
                    "properties": {
                      "label": {
                        "type": "string"
                      },
                      "metric": {
                        "type": "object"
                      },
                      "imperial": {
                        "type": "object"
                      }
                    }
                  },
                  "system": {
                    "type": "string"
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "sources": {
                    "type": "array"
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "notSized": {
                    "type": "string"
                  },
                  "calculator": {
                    "type": "object"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Stair layout: straight, turned, concrete or steel",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "level_quotes",
          "title": "Level two to six quotes for one job, line by line",
          "description": "Levels two to six contractors' quotes for one job against the job's own lines: per line, whether each includes it (its quantity against the job's range, both systems), leaves it out, excludes it or offers an alternative; what each adds; questions to ask. Money is taken out: no total, no ranking.",
          "inputSchema": {
            "type": "object",
            "required": [
              "job",
              "quotes"
            ],
            "properties": {
              "job": {
                "type": "string",
                "maxLength": 120,
                "description": "The job the quotes are for: a quote check (bathroom-quote, plastering-quote, concrete-slab-quote …) or a takeoff id that has one."
              },
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "market": {
                "enum": [
                  "US",
                  "CA",
                  "UK",
                  "AU",
                  "INTL"
                ],
                "type": "string",
                "description": "Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures."
              },
              "quotes": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "text"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "maxLength": 80,
                      "description": "The contractor's name or \"Quote A\"."
                    },
                    "text": {
                      "type": "string",
                      "maxLength": 20000,
                      "minLength": 1,
                      "description": "The quote's lines, one item to a line."
                    },
                    "total": {
                      "type": "string",
                      "maxLength": 60,
                      "description": "The reader's own note of the total: echoed as typed, not read."
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 6,
                "minItems": 2,
                "description": "Two to six quotes for the same job. Money in them is taken out before reading."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              },
              "selection": {
                "type": "object",
                "description": "Build-up choice id → option id, the takeoff's own (a stud size, an insulation, a cladding). Choices left out take the page's own for the system.",
                "maxProperties": 20,
                "additionalProperties": {
                  "type": "string",
                  "maxLength": 80
                }
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              },
              "measurements": {
                "type": "object",
                "description": "Measurement id → value, each length, area or volume with its unit (\"12 ft\", {\"value\": 3.6, \"unit\": \"m\"}); counts as numbers. Ids are those of the takeoff; any left out opens at the page's own figure.",
                "maxProperties": 50,
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 200
                    },
                    {
                      "type": "object",
                      "required": [
                        "value"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                }
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "check",
                  "system",
                  "quotes",
                  "rows",
                  "extras",
                  "scopes",
                  "read",
                  "files",
                  "pricesIgnored",
                  "citation",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "read": {
                    "type": "integer",
                    "description": "Quotes with at least one row read."
                  },
                  "rows": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "key",
                        "name",
                        "unit",
                        "job",
                        "cells"
                      ],
                      "properties": {
                        "job": {
                          "type": "object",
                          "required": [
                            "live"
                          ],
                          "properties": {
                            "live": {
                              "type": "string"
                            },
                            "other": {
                              "type": "string"
                            }
                          }
                        },
                        "key": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "unit": {
                          "type": "string"
                        },
                        "cells": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "state",
                              "rows",
                              "text"
                            ],
                            "properties": {
                              "rows": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "text": {
                                "type": "string"
                              },
                              "state": {
                                "enum": [
                                  "included",
                                  "missing",
                                  "excluded",
                                  "alternative"
                                ]
                              }
                            }
                          }
                        },
                        "calculator": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "check": {
                    "type": "object",
                    "required": [
                      "slug",
                      "job",
                      "url"
                    ],
                    "properties": {
                      "job": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      },
                      "slug": {
                        "type": "string"
                      },
                      "takeoff": {
                        "type": "object"
                      }
                    }
                  },
                  "files": {
                    "type": "object",
                    "required": [
                      "csv",
                      "questions"
                    ],
                    "properties": {
                      "csv": {
                        "type": "object",
                        "required": [
                          "filename",
                          "mediaType",
                          "content"
                        ],
                        "properties": {
                          "content": {
                            "type": "string"
                          },
                          "filename": {
                            "type": "string"
                          },
                          "mediaType": {
                            "type": "string"
                          }
                        }
                      },
                      "questions": {
                        "type": "object",
                        "required": [
                          "filename",
                          "mediaType",
                          "content"
                        ],
                        "properties": {
                          "content": {
                            "type": "string"
                          },
                          "filename": {
                            "type": "string"
                          },
                          "mediaType": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "page"
                    ],
                    "properties": {
                      "page": {
                        "type": "string"
                      }
                    }
                  },
                  "engine": {
                    "type": "object",
                    "required": [
                      "name",
                      "version",
                      "api"
                    ],
                    "properties": {
                      "api": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "version": {
                        "type": "string"
                      }
                    }
                  },
                  "extras": {
                    "type": "array"
                  },
                  "market": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "notice": {
                    "type": "string"
                  },
                  "quotes": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "rowsRead",
                        "included",
                        "missing",
                        "excluded",
                        "alternative",
                        "summary"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "total": {
                          "type": "string"
                        },
                        "extras": {
                          "type": "integer"
                        },
                        "missing": {
                          "type": "integer"
                        },
                        "outside": {
                          "type": "integer"
                        },
                        "summary": {
                          "type": "string"
                        },
                        "excluded": {
                          "type": "integer"
                        },
                        "included": {
                          "type": "integer"
                        },
                        "rowsRead": {
                          "type": "integer"
                        },
                        "questions": {
                          "type": "array"
                        },
                        "alternative": {
                          "type": "integer"
                        },
                        "notComparable": {
                          "type": "integer"
                        },
                        "statedExclusions": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  },
                  "scopes": {
                    "type": "array"
                  },
                  "system": {
                    "type": "string"
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "excludes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "measurements": {
                    "type": "array"
                  },
                  "pricesIgnored": {
                    "type": "string"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Level two to six quotes for one job, line by line",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "write_variation",
          "title": "Variation (change order) between two versions of a project",
          "description": "Writes the variation (change order) between an agreed and a proposed version of a project: each line added, removed or changed, its quantity in metric and imperial, the labour hours, and the signed document as My Project prints it. Money only from the reader's own rates; with none, unpriced.",
          "inputSchema": {
            "truncated": true,
            "chars": 50921
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "system",
                  "currency",
                  "priced",
                  "counts",
                  "rows",
                  "labour",
                  "money",
                  "document",
                  "disclaimer",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "rows": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "key",
                        "effect",
                        "label",
                        "before",
                        "after",
                        "fields",
                        "valueDelta"
                      ],
                      "properties": {
                        "key": {
                          "type": "string"
                        },
                        "after": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "quantity",
                                "unit",
                                "metric",
                                "imperial",
                                "rate",
                                "total",
                                "labourHours",
                                "text"
                              ],
                              "properties": {
                                "rate": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "required": [
                                        "low",
                                        "high"
                                      ],
                                      "properties": {
                                        "low": {
                                          "type": "number"
                                        },
                                        "high": {
                                          "type": "number"
                                        }
                                      }
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "text": {
                                  "type": "string"
                                },
                                "unit": {
                                  "type": "string"
                                },
                                "total": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "required": [
                                        "low",
                                        "high"
                                      ],
                                      "properties": {
                                        "low": {
                                          "type": "number"
                                        },
                                        "high": {
                                          "type": "number"
                                        }
                                      }
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "metric": {
                                  "type": "string"
                                },
                                "imperial": {
                                  "type": "string"
                                },
                                "quantity": {
                                  "type": "number"
                                },
                                "labourHours": {
                                  "type": "number",
                                  "description": "Hours (h)."
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "label": {
                          "type": "string"
                        },
                        "before": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "quantity",
                                "unit",
                                "metric",
                                "imperial",
                                "rate",
                                "total",
                                "labourHours",
                                "text"
                              ],
                              "properties": {
                                "rate": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "required": [
                                        "low",
                                        "high"
                                      ],
                                      "properties": {
                                        "low": {
                                          "type": "number"
                                        },
                                        "high": {
                                          "type": "number"
                                        }
                                      }
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "text": {
                                  "type": "string"
                                },
                                "unit": {
                                  "type": "string"
                                },
                                "total": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "required": [
                                        "low",
                                        "high"
                                      ],
                                      "properties": {
                                        "low": {
                                          "type": "number"
                                        },
                                        "high": {
                                          "type": "number"
                                        }
                                      }
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "metric": {
                                  "type": "string"
                                },
                                "imperial": {
                                  "type": "string"
                                },
                                "quantity": {
                                  "type": "number"
                                },
                                "labourHours": {
                                  "type": "number",
                                  "description": "Hours (h)."
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "effect": {
                          "enum": [
                            "added",
                            "changed",
                            "removed"
                          ]
                        },
                        "fields": {
                          "type": "array"
                        },
                        "valueDelta": {
                          "type": "object",
                          "required": [
                            "low",
                            "high"
                          ],
                          "properties": {
                            "low": {
                              "type": "number"
                            },
                            "high": {
                              "type": "number"
                            }
                          }
                        },
                        "optionGroup": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "project"
                    ],
                    "properties": {
                      "project": {
                        "type": "string"
                      }
                    }
                  },
                  "money": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "priceBefore",
                          "priceAfter",
                          "delta"
                        ],
                        "properties": {
                          "delta": {
                            "type": "object",
                            "required": [
                              "low",
                              "high"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            }
                          },
                          "priceAfter": {
                            "type": "object",
                            "required": [
                              "low",
                              "high"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            }
                          },
                          "priceBefore": {
                            "type": "object",
                            "required": [
                              "low",
                              "high"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            }
                          },
                          "unallocated": {
                            "type": "object",
                            "required": [
                              "low",
                              "high"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            }
                          },
                          "materialAfter": {
                            "type": "object",
                            "required": [
                              "low",
                              "high"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            }
                          },
                          "materialBefore": {
                            "type": "object",
                            "required": [
                              "low",
                              "high"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              }
                            }
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "counts": {
                    "type": "object",
                    "required": [
                      "added",
                      "changed",
                      "removed"
                    ],
                    "properties": {
                      "added": {
                        "type": "integer"
                      },
                      "changed": {
                        "type": "integer"
                      },
                      "removed": {
                        "type": "integer"
                      }
                    }
                  },
                  "engine": {
                    "type": "object",
                    "required": [
                      "name",
                      "version",
                      "api"
                    ],
                    "properties": {
                      "api": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "version": {
                        "type": "string"
                      }
                    }
                  },
                  "labour": {
                    "type": "object",
                    "required": [
                      "before",
                      "after",
                      "delta"
                    ],
                    "properties": {
                      "after": {
                        "type": "number"
                      },
                      "delta": {
                        "type": "number"
                      },
                      "before": {
                        "type": "number"
                      }
                    },
                    "description": "Labour hours (h) typed or accepted on the lines."
                  },
                  "market": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "notice": {
                    "type": "string"
                  },
                  "priced": {
                    "type": "boolean",
                    "description": "True when any line carries the reader's own rate."
                  },
                  "system": {
                    "type": "string"
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "currency": {
                    "type": "string"
                  },
                  "document": {
                    "type": "object",
                    "required": [
                      "title",
                      "projectName",
                      "groups",
                      "totalLabel",
                      "totalValue",
                      "disclaimer"
                    ],
                    "properties": {
                      "title": {
                        "type": "string"
                      },
                      "groups": {
                        "type": "array"
                      },
                      "totalRows": {
                        "type": "array"
                      },
                      "disclaimer": {
                        "type": "string"
                      },
                      "totalLabel": {
                        "type": "string"
                      },
                      "totalValue": {
                        "type": "string"
                      },
                      "assumptions": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "projectName": {
                        "type": "string"
                      }
                    },
                    "description": "The document as the site prints it: every word and figure, already formatted."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "versions": {
                    "type": "object"
                  },
                  "identical": {
                    "type": "boolean"
                  },
                  "notPriced": {
                    "type": "string"
                  },
                  "disclaimer": {
                    "type": "string"
                  },
                  "ratesApplied": {
                    "type": "object",
                    "required": [
                      "before",
                      "after"
                    ],
                    "properties": {
                      "after": {
                        "type": "integer"
                      },
                      "before": {
                        "type": "integer"
                      }
                    }
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Variation (change order) between two versions of a project",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "write_proposal",
          "title": "Client proposal from a project, unpriced unless rates given",
          "description": "Writes the client proposal My Project prints: scope by line or trade division, quantities in metric and imperial, assumptions, exclusions, terms, payment stages and the signature block. From a token, a file, calculators, takeoffs or a drawing. \"Not priced\" unless the reader's own rates are given.",
          "inputSchema": {
            "truncated": true,
            "chars": 26889
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "from",
                  "system",
                  "currency",
                  "priced",
                  "project",
                  "document",
                  "disclaimer",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "from": {
                    "enum": [
                      "token",
                      "file",
                      "calculators",
                      "takeoffs",
                      "drawing"
                    ]
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "project"
                    ],
                    "properties": {
                      "project": {
                        "type": "string"
                      }
                    }
                  },
                  "engine": {
                    "type": "object",
                    "required": [
                      "name",
                      "version",
                      "api"
                    ],
                    "properties": {
                      "api": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "version": {
                        "type": "string"
                      }
                    }
                  },
                  "market": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "notice": {
                    "type": "string"
                  },
                  "priced": {
                    "type": "boolean",
                    "description": "True when any line carries the reader's own rate; otherwise every line reads \"Not priced\" and no total is given."
                  },
                  "system": {
                    "type": "string"
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "project": {
                    "type": "object",
                    "required": [
                      "name",
                      "lines"
                    ],
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "lines": {
                        "type": "integer"
                      }
                    }
                  },
                  "currency": {
                    "type": "string"
                  },
                  "document": {
                    "type": "object",
                    "required": [
                      "title",
                      "sections",
                      "groups",
                      "quantities",
                      "totalValue",
                      "disclaimer"
                    ],
                    "properties": {
                      "title": {
                        "type": "string"
                      },
                      "groups": {
                        "type": "array"
                      },
                      "sections": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "disclaimer": {
                        "type": "string"
                      },
                      "quantities": {
                        "type": "array"
                      },
                      "totalLabel": {
                        "type": "string"
                      },
                      "totalValue": {
                        "type": "string"
                      }
                    },
                    "description": "The proposal as the site prints it: every word and figure, already formatted."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "notPriced": {
                    "type": "string"
                  },
                  "disclaimer": {
                    "type": "string"
                  },
                  "ratesApplied": {
                    "type": "integer"
                  },
                  "notPricedLabel": {
                    "type": "string"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Client proposal from a project, unpriced unless rates given",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "make_job_sheet",
          "title": "One-page job sheet for the van",
          "description": "The one-page job sheet a takeoff page prints for the van: the job's picture as SVG, key dimensions in metric and imperial, the build-up, each line going in with what to buy, labour hours by trade, and the link reopening the page on these figures. Words and figures for the PDF; no prices.",
          "inputSchema": {
            "type": "object",
            "required": [
              "takeoff"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "paper": {
                "enum": [
                  "a4",
                  "letter"
                ],
                "description": "The sheet's paper; the market's when left out."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "market": {
                "enum": [
                  "US",
                  "CA",
                  "UK",
                  "AU",
                  "INTL"
                ],
                "type": "string",
                "description": "Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              },
              "takeoff": {
                "type": "string",
                "pattern": "^[a-z0-9][a-z0-9-]{1,119}$",
                "description": "The takeoff's id, such as concrete-slab or stud-wall."
              },
              "leaveOut": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 120
                },
                "maxItems": 100,
                "description": "Rows the reader leaves out of the job: still worked and shown, not put in the project or counted in labour."
              },
              "selection": {
                "type": "object",
                "description": "Build-up choice id → option id, the takeoff's own (a stud size, an insulation, a cladding). Choices left out take the page's own for the system.",
                "maxProperties": 20,
                "additionalProperties": {
                  "type": "string",
                  "maxLength": 80
                }
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              },
              "measurements": {
                "type": "object",
                "description": "Measurement id → value, each length, area or volume with its unit (\"12 ft\", {\"value\": 3.6, \"unit\": \"m\"}); counts as numbers. Ids are those of the takeoff; any left out opens at the page's own figure.",
                "maxProperties": 50,
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 200
                    },
                    {
                      "type": "object",
                      "required": [
                        "value"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                }
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "takeoff",
                  "system",
                  "sheet",
                  "note",
                  "notPriced",
                  "links",
                  "citation",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "note": {
                    "type": "string"
                  },
                  "rows": {
                    "type": "integer"
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "page",
                      "open"
                    ],
                    "properties": {
                      "open": {
                        "type": "string"
                      },
                      "page": {
                        "type": "string"
                      }
                    }
                  },
                  "sheet": {
                    "type": "object",
                    "required": [
                      "title",
                      "date",
                      "paper",
                      "link",
                      "picture",
                      "dimensions",
                      "buildUp",
                      "materials",
                      "labour"
                    ],
                    "properties": {
                      "date": {
                        "type": "string"
                      },
                      "link": {
                        "type": "string"
                      },
                      "site": {
                        "type": "string"
                      },
                      "paper": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "labour": {
                        "anyOf": [
                          {
                            "type": "object",
                            "required": [
                              "total",
                              "rows",
                              "note"
                            ],
                            "properties": {
                              "note": {
                                "type": "string"
                              },
                              "rows": {
                                "type": "array"
                              },
                              "total": {
                                "type": "string"
                              }
                            }
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "buildUp": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "axis",
                            "option"
                          ],
                          "properties": {
                            "axis": {
                              "type": "string"
                            },
                            "option": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "picture": {
                        "anyOf": [
                          {
                            "type": "object",
                            "required": [
                              "svg",
                              "caption"
                            ],
                            "properties": {
                              "svg": {
                                "type": "string",
                                "description": "The job's picture as SVG (light theme, literal colours)."
                              },
                              "caption": {
                                "type": "string"
                              }
                            }
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "materials": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "name",
                            "quantity",
                            "other",
                            "order"
                          ],
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "order": {
                              "type": "string"
                            },
                            "other": {
                              "type": "string"
                            },
                            "quantity": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "dimensions": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "label",
                            "metric",
                            "imperial"
                          ],
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "metric": {
                              "type": "string"
                            },
                            "imperial": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  },
                  "engine": {
                    "type": "object",
                    "required": [
                      "name",
                      "version",
                      "api"
                    ],
                    "properties": {
                      "api": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "version": {
                        "type": "string"
                      }
                    }
                  },
                  "market": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "notice": {
                    "type": "string"
                  },
                  "system": {
                    "type": "string"
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "takeoff": {
                    "type": "object",
                    "required": [
                      "id",
                      "name",
                      "url"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    }
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "notPriced": {
                    "type": "string"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "One-page job sheet for the van",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "make_canvas_link",
          "title": "Open a job or worked example on the Construction Canvas",
          "description": "Draws a whole-job takeoff or a worked example at the figures given as a Construction Canvas drawing and returns the link that opens it; the drawing rides in the link's fragment, so nothing is uploaded. Says what the drawing cannot carry. For quantities, not a construction drawing.",
          "inputSchema": {
            "type": "object",
            "required": [],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "inputs": {
                "type": "object",
                "description": "One step's own input, keyed \"<step index>.<input id>\" (\"3.wastePercent\"), each with its unit where it has one.",
                "maxProperties": 60,
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 200
                    },
                    {
                      "type": "object",
                      "required": [
                        "value"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "market": {
                "enum": [
                  "US",
                  "CA",
                  "UK",
                  "AU",
                  "INTL"
                ],
                "type": "string",
                "description": "Optional. A market whose own opening choice some inputs take (a UK reader's code, an IEC motor), and whose currency symbol prints the caller's own money figures."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              },
              "example": {
                "type": "string",
                "pattern": "^[a-z0-9][a-z0-9-]{1,119}$",
                "description": "Or a worked example the canvas draws, such as attached-deck-built."
              },
              "figures": {
                "type": "object",
                "description": "The job's own figures by id (a deck's length, a room's height), each length or area with its unit; a count as a number. They follow down every step that reads them.",
                "maxProperties": 20,
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 200
                    },
                    {
                      "type": "object",
                      "required": [
                        "value"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "takeoff": {
                "type": "string",
                "pattern": "^[a-z0-9][a-z0-9-]{1,119}$",
                "description": "A takeoff the canvas draws, such as concrete-slab, stud-wall or asphalt-shingle-roof."
              },
              "selection": {
                "type": "object",
                "description": "Build-up choice id → option id, the takeoff's own (a stud size, an insulation, a cladding). Choices left out take the page's own for the system.",
                "maxProperties": 20,
                "additionalProperties": {
                  "type": "string",
                  "maxLength": 80
                }
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              },
              "measurements": {
                "type": "object",
                "description": "Measurement id → value, each length, area or volume with its unit (\"12 ft\", {\"value\": 3.6, \"unit\": \"m\"}); counts as numbers. Ids are those of the takeoff; any left out opens at the page's own figure.",
                "maxProperties": 50,
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 200
                    },
                    {
                      "type": "object",
                      "required": [
                        "value"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "includeDocument": {
                "type": "boolean",
                "default": false,
                "description": "Also return the canvas document itself (JSON)."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "source",
                  "system",
                  "link",
                  "codeLength",
                  "drawing",
                  "notes",
                  "note",
                  "links",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "link": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The Construction Canvas address with the drawing in its fragment (#d=)."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "note": {
                    "type": "string"
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "canvas",
                      "page"
                    ],
                    "properties": {
                      "page": {
                        "type": "string"
                      },
                      "canvas": {
                        "type": "string"
                      }
                    }
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "engine": {
                    "type": "object",
                    "required": [
                      "name",
                      "version",
                      "api"
                    ],
                    "properties": {
                      "api": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "version": {
                        "type": "string"
                      }
                    }
                  },
                  "notice": {
                    "type": "string"
                  },
                  "source": {
                    "type": "object",
                    "required": [
                      "kind",
                      "id",
                      "name",
                      "url"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      },
                      "kind": {
                        "enum": [
                          "takeoff",
                          "example"
                        ]
                      },
                      "name": {
                        "type": "string"
                      }
                    }
                  },
                  "system": {
                    "type": "string"
                  },
                  "drawing": {
                    "type": "object",
                    "required": [
                      "levels",
                      "objects",
                      "assumed"
                    ],
                    "properties": {
                      "levels": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "assumed": {
                        "type": "integer"
                      },
                      "objects": {
                        "type": "object"
                      }
                    }
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "tooLong": {
                    "type": "string"
                  },
                  "document": {
                    "type": "object"
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "codeLength": {
                    "type": "integer"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Open a job or worked example on the Construction Canvas",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_illustration",
          "title": "Topic illustration (SVG) of a guide, comparison or page",
          "description": "Returns the topic illustration a page of the site carries: the SVG's address, its subject in words and its licence. One per guide, comparison, diagnosis, example, category, material and solve-backwards question; a shared plate for the glossary, methods, policies, standards and tools.",
          "inputSchema": {
            "type": "object",
            "required": [
              "family"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "slug": {
                "type": "string",
                "pattern": "^(_all|[a-z0-9][a-z0-9-]{0,119})$",
                "description": "The page's slug; left out, the family's own plate."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "family": {
                "enum": [
                  "guides",
                  "comparisons",
                  "diagnostics",
                  "worked-examples",
                  "calc-examples",
                  "categories",
                  "materials",
                  "solve-backwards",
                  "pages",
                  "glossary",
                  "methods",
                  "policies",
                  "standards",
                  "reference",
                  "tools"
                ],
                "description": "The kind of page the drawing belongs to."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "family",
                  "slug",
                  "perPage",
                  "shared",
                  "url",
                  "mediaType",
                  "alt",
                  "note",
                  "licence"
                ],
                "properties": {
                  "alt": {
                    "type": "string",
                    "description": "The drawing's subject in words: the file's own title."
                  },
                  "url": {
                    "type": "string",
                    "description": "The SVG's address on the site."
                  },
                  "note": {
                    "type": "string"
                  },
                  "slug": {
                    "type": "string"
                  },
                  "asked": {
                    "type": "string"
                  },
                  "scene": {
                    "type": "object",
                    "required": [
                      "id",
                      "variant"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "variant": {
                        "type": "string"
                      }
                    }
                  },
                  "engine": {
                    "type": "object",
                    "required": [
                      "name",
                      "version",
                      "api"
                    ],
                    "properties": {
                      "api": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "version": {
                        "type": "string"
                      }
                    }
                  },
                  "family": {
                    "type": "string"
                  },
                  "shared": {
                    "type": "boolean",
                    "description": "True when the drawing is the family's shared plate."
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "perPage": {
                    "type": "boolean"
                  },
                  "drawings": {
                    "type": "integer"
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "mediaType": {
                    "const": "image/svg+xml"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Topic illustration (SVG) of a guide, comparison or page",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "trim_corner",
          "title": "Corner trim on your saw: mitre, bevel, stops and the gap",
          "description": "Cuts one corner of skirting, casing or crown molding on a named saw: per piece the mitre and bevel as its dials read, the stop each sits on, how the piece lies, which side to keep, whether the saw can make it; cope or mitre, and the gap a 45° cut leaves. No sizing.",
          "inputSchema": {
            "type": "object",
            "required": [
              "trim"
            ],
            "properties": {
              "saw": {
                "enum": [
                  "double-bevel",
                  "slider-10",
                  "single-bevel",
                  "ninety-box",
                  "slot-box",
                  "table-sled",
                  "custom"
                ],
                "description": "The saw from the site's library (each with its scale, its stops and its capacity); custom with customSaw. Left out, the 12-in double-bevel slider (DWS779 figures)."
              },
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "trim": {
                "enum": [
                  "skirting",
                  "casing",
                  "crown"
                ],
                "description": "skirting (baseboard), casing (architrave, a frame corner) or crown (cornice)."
              },
              "depth": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "The depth the joint runs across in the plane of the turn: a skirting's thickness, a casing's face width, a crown's projection. Left out: 18 mm, 70 mm or 75 mm (3/4, 2 3/4 or 3 in)."
              },
              "corner": {
                "type": "object",
                "required": [
                  "kind",
                  "angle"
                ],
                "properties": {
                  "kind": {
                    "enum": [
                      "inside",
                      "outside"
                    ]
                  },
                  "angle": {
                    "type": "number",
                    "description": "θ, the angle the two faces include: the room's side inside, the solid's side outside; 90 is square.",
                    "exclusiveMaximum": 180,
                    "exclusiveMinimum": 0
                  }
                },
                "description": "The corner as measured. For casing, the frame corner (90 for a square opening); its kind is ignored.",
                "additionalProperties": false
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "height": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Skirting only: its height, for the saw's upright capacity. Left out, 120 mm (4 3/4 in)."
              },
              "method": {
                "enum": [
                  "upright",
                  "flat",
                  "nested"
                ],
                "description": "How the piece goes on the saw: skirting and casing upright (against the fence) or flat (on the table); crown nested (upside down against the fence) or flat. Left out, the trim's usual one."
              },
              "spring": {
                "type": "number",
                "maximum": 70,
                "minimum": 20,
                "description": "Crown only: its spring angle from the wall, degrees (38 for 38/52, 45 for 45/45). Left out, 38."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              },
              "buildUp": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Plaster or compound built up in the corner (it changes the angle the trim meets). Left out, none."
              },
              "feather": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "The distance that build-up is feathered over along each wall. Left out, 150 mm (6 in)."
              },
              "customSaw": {
                "type": "object",
                "required": [],
                "properties": {
                  "uprightMm": {
                    "type": "number",
                    "description": "The tallest piece stood against the fence, mm (10 to 400)."
                  },
                  "crossCutMm": {
                    "type": "number",
                    "description": "The blade's reach across the table at a square cut, mm (20 to 1200)."
                  },
                  "miterScale": {
                    "enum": [
                      "zero-square",
                      "ninety-square"
                    ]
                  },
                  "maxBevelLeft": {
                    "type": "number",
                    "description": "Degrees, 0 to 60 (0: it does not tilt that way)."
                  },
                  "maxMiterLeft": {
                    "type": "number",
                    "description": "Degrees, 0 to 70."
                  },
                  "maxBevelRight": {
                    "type": "number",
                    "description": "Degrees, 0 to 60."
                  },
                  "maxMiterRight": {
                    "type": "number",
                    "description": "Degrees, 0 to 70."
                  }
                },
                "description": "With saw custom: the saw's own limits.",
                "additionalProperties": false
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              },
              "throughRoom": {
                "type": "number",
                "maximum": 350,
                "minimum": 10,
                "description": "In place of corner: the angle read through the room (under 180 inside, over 180 outside), as the miter-angle calculator takes it."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "trim",
                  "corner",
                  "plainMitre",
                  "saw",
                  "method",
                  "pieces",
                  "joint",
                  "standardGap",
                  "correctedGap",
                  "engine",
                  "system",
                  "notDesign",
                  "citation",
                  "licence",
                  "notice",
                  "links"
                ],
                "properties": {
                  "saw": {
                    "type": "object",
                    "required": [
                      "id",
                      "label",
                      "source"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "source": {
                        "type": "string"
                      },
                      "typical": {
                        "type": "boolean"
                      }
                    }
                  },
                  "trim": {
                    "type": "string"
                  },
                  "joint": {
                    "type": "object",
                    "required": [
                      "method",
                      "why"
                    ],
                    "properties": {
                      "why": {
                        "type": "string"
                      },
                      "method": {
                        "enum": [
                          "cope",
                          "miter"
                        ]
                      }
                    }
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "page"
                    ],
                    "properties": {
                      "open": {
                        "type": "string",
                        "description": "The miter page's corner tool, opened on this corner and these settings."
                      },
                      "page": {
                        "type": "string"
                      }
                    }
                  },
                  "corner": {
                    "type": "object",
                    "required": [
                      "kind",
                      "angle",
                      "effectiveAngle",
                      "throughRoom"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string"
                      },
                      "angle": {
                        "type": "number"
                      },
                      "throughRoom": {
                        "type": "number"
                      },
                      "effectiveAngle": {
                        "type": "number",
                        "description": "After any build-up: the angle the trim actually meets."
                      }
                    }
                  },
                  "engine": {
                    "type": "object"
                  },
                  "method": {
                    "type": "string"
                  },
                  "notice": {
                    "type": "string"
                  },
                  "pieces": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "piece",
                        "placement",
                        "mitre",
                        "bevel",
                        "keep",
                        "endCut",
                        "fits",
                        "capacity"
                      ],
                      "properties": {
                        "fits": {
                          "type": "boolean"
                        },
                        "keep": {
                          "enum": [
                            "left",
                            "right"
                          ],
                          "description": "The side of the blade the piece to keep lies on."
                        },
                        "bevel": {
                          "type": "object",
                          "required": [
                            "degrees",
                            "hand",
                            "dial",
                            "stop",
                            "text"
                          ],
                          "properties": {
                            "dial": {
                              "type": "number",
                              "description": "What the saw's own scale reads."
                            },
                            "hand": {
                              "enum": [
                                "left",
                                "right",
                                "square"
                              ]
                            },
                            "stop": {
                              "type": "object",
                              "required": [
                                "on",
                                "nearest",
                                "off"
                              ],
                              "properties": {
                                "on": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "off": {
                                  "type": "number"
                                },
                                "nearest": {
                                  "type": "number"
                                }
                              },
                              "description": "The stop it sits on (null: between stops), the nearest stop on the saw's dial and how far off, degrees."
                            },
                            "text": {
                              "type": "string"
                            },
                            "degrees": {
                              "type": "number",
                              "description": "Off square (mitre) or off vertical (bevel), magnitude."
                            }
                          }
                        },
                        "mitre": {
                          "type": "object",
                          "required": [
                            "degrees",
                            "hand",
                            "dial",
                            "stop",
                            "text"
                          ],
                          "properties": {
                            "dial": {
                              "type": "number",
                              "description": "What the saw's own scale reads."
                            },
                            "hand": {
                              "enum": [
                                "left",
                                "right",
                                "square"
                              ]
                            },
                            "stop": {
                              "type": "object",
                              "required": [
                                "on",
                                "nearest",
                                "off"
                              ],
                              "properties": {
                                "on": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "off": {
                                  "type": "number"
                                },
                                "nearest": {
                                  "type": "number"
                                }
                              },
                              "description": "The stop it sits on (null: between stops), the nearest stop on the saw's dial and how far off, degrees."
                            },
                            "text": {
                              "type": "string"
                            },
                            "degrees": {
                              "type": "number",
                              "description": "Off square (mitre) or off vertical (bevel), magnitude."
                            }
                          }
                        },
                        "piece": {
                          "enum": [
                            "left",
                            "right"
                          ]
                        },
                        "endCut": {
                          "type": "string"
                        },
                        "capacity": {
                          "type": "object",
                          "required": [
                            "ok",
                            "problems",
                            "alternatives"
                          ],
                          "properties": {
                            "ok": {
                              "type": "boolean"
                            },
                            "problems": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "alternatives": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "id",
                                  "text"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "text": {
                                    "type": "string"
                                  }
                                }
                              }
                            }
                          }
                        },
                        "placement": {
                          "type": "object",
                          "required": [
                            "id",
                            "words"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "face": {
                              "type": "string"
                            },
                            "words": {
                              "type": "string"
                            },
                            "fenceEdge": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  },
                  "spring": {
                    "type": "number"
                  },
                  "system": {
                    "enum": [
                      "metric",
                      "imperial"
                    ]
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "notDesign": {
                    "type": "string"
                  },
                  "plainMitre": {
                    "type": "number",
                    "description": "The swing off square each of the two pieces needs, 90 − θ/2, degrees."
                  },
                  "standardGap": {
                    "type": "object",
                    "required": [
                      "gap",
                      "openAt",
                      "errorPerPiece",
                      "text"
                    ],
                    "properties": {
                      "gap": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string",
                            "description": "In the system asked for, then the other."
                          }
                        }
                      },
                      "text": {
                        "type": "string"
                      },
                      "openAt": {
                        "enum": [
                          "face",
                          "back",
                          "none"
                        ]
                      },
                      "errorPerPiece": {
                        "type": "number"
                      }
                    },
                    "description": "The joint a 45° cut (the \"square corner\" setting) leaves on this corner."
                  },
                  "correctedGap": {
                    "type": "object",
                    "required": [
                      "gap",
                      "openAt",
                      "errorPerPiece",
                      "text"
                    ],
                    "properties": {
                      "gap": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string",
                            "description": "In the system asked for, then the other."
                          }
                        }
                      },
                      "text": {
                        "type": "string"
                      },
                      "openAt": {
                        "enum": [
                          "face",
                          "back",
                          "none"
                        ]
                      },
                      "errorPerPiece": {
                        "type": "number"
                      }
                    },
                    "description": "The joint the corrected cut leaves: closed by construction."
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Corner trim on your saw: mitre, bevel, stops and the gap",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "plan_room_trim",
          "title": "Room trim plan: every piece, its ends and the stock",
          "description": "Plans trim round a room, piece by piece, from its corners, door openings and built-ins (or a drawn room): each piece in fitting order with its long and short point lengths, each end's cope, mitre, butt or scarf with its saw settings, the cut list and the trim lengths to buy.",
          "inputSchema": {
            "type": "object",
            "required": [],
            "properties": {
              "saw": {
                "enum": [
                  "double-bevel",
                  "single-bevel",
                  "ninety-box"
                ],
                "description": "The saw profile the room plan's settings are read on (as the plan on the page): a mitre saw that tilts both ways (the default), one that tilts left only, or a mitre box with 90° at square."
              },
              "kerf": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "The saw's kerf. Left out, 3 mm (1/8 in)."
              },
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "room": {
                "type": "string",
                "maxLength": 40,
                "description": "With drawing: the room's id (R1 …). Left out, the drawing's only room."
              },
              "trim": {
                "enum": [
                  "skirting",
                  "crown",
                  "picture-rail"
                ],
                "description": "Left out, skirting."
              },
              "depth": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "The trim's depth across the joint (skirting thickness, crown projection). Left out, 18 mm (3/4 in) or 75 mm (3 in) for crown."
              },
              "start": {
                "type": "integer",
                "maximum": 39,
                "minimum": 0,
                "description": "The wall fitted first (index). Left out, 0."
              },
              "stock": {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 200
                    },
                    {
                      "type": "object",
                      "required": [
                        "value"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                },
                "maxItems": 12,
                "minItems": 1,
                "description": "The stock lengths on offer, with units. Left out, the market's usual trim lengths."
              },
              "studs": {
                "type": "object",
                "required": [
                  "spacing",
                  "first"
                ],
                "properties": {
                  "first": {
                    "oneOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "maxLength": 200
                      },
                      {
                        "type": "object",
                        "required": [
                          "value"
                        ],
                        "properties": {
                          "unit": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "value": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      }
                    ],
                    "description": "The first stud's centre from each wall's LEFT corner as you face it."
                  },
                  "spacing": {
                    "oneOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "maxLength": 200
                      },
                      {
                        "type": "object",
                        "required": [
                          "value"
                        ],
                        "properties": {
                          "unit": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "value": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      }
                    ],
                    "description": "Stud centres."
                  }
                },
                "additionalProperties": false
              },
              "walls": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "length"
                  ],
                  "properties": {
                    "label": {
                      "type": "string",
                      "maxLength": 60
                    },
                    "length": {
                      "oneOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "string",
                          "maxLength": 200
                        },
                        {
                          "type": "object",
                          "required": [
                            "value"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string",
                              "maxLength": 40
                            },
                            "value": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": false
                        }
                      ],
                      "description": "Along the wall face, corner to corner."
                    },
                    "openings": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "kind",
                          "start",
                          "width"
                        ],
                        "properties": {
                          "kind": {
                            "enum": [
                              "door",
                              "built-in"
                            ]
                          },
                          "start": {
                            "oneOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "string",
                                "maxLength": 200
                              },
                              {
                                "type": "object",
                                "required": [
                                  "value"
                                ],
                                "properties": {
                                  "unit": {
                                    "type": "string",
                                    "maxLength": 40
                                  },
                                  "value": {
                                    "type": "number"
                                  }
                                },
                                "additionalProperties": false
                              }
                            ],
                            "description": "From the wall's start corner to the near side of the clear opening."
                          },
                          "width": {
                            "oneOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "string",
                                "maxLength": 200
                              },
                              {
                                "type": "object",
                                "required": [
                                  "value"
                                ],
                                "properties": {
                                  "unit": {
                                    "type": "string",
                                    "maxLength": 40
                                  },
                                  "value": {
                                    "type": "number"
                                  }
                                },
                                "additionalProperties": false
                              }
                            ],
                            "description": "The clear opening's width."
                          },
                          "fullHeight": {
                            "type": "boolean",
                            "description": "A built-in that runs to the ceiling: crown and picture rail stop at it too."
                          }
                        },
                        "additionalProperties": false
                      },
                      "maxItems": 12
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 40,
                "minItems": 1,
                "description": "The walls in order round the room, up to 40, each with its length along the wall face (corner to corner)."
              },
              "casing": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "The door casing's width a skirting butts to beside a door. Left out, none (it butts to the opening's edge)."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "method": {
                "enum": [
                  "upright",
                  "flat",
                  "nested"
                ],
                "description": "How the piece goes on the saw: skirting and casing upright (against the fence) or flat (on the table); crown nested (upside down against the fence) or flat. Left out, the trim's usual one."
              },
              "spring": {
                "type": "number",
                "maximum": 70,
                "minimum": 20,
                "description": "Crown only: its spring angle from the wall, degrees (38 for 38/52, 45 for 45/45). Left out, 38."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              },
              "buildUp": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Plaster built up in the corners. Left out, none."
              },
              "corners": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "kind"
                  ],
                  "properties": {
                    "kind": {
                      "enum": [
                        "inside",
                        "outside",
                        "straight"
                      ]
                    },
                    "angle": {
                      "type": "number",
                      "description": "θ (ignored for straight). Left out, 90.",
                      "exclusiveMaximum": 180,
                      "exclusiveMinimum": 0
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 40,
                "minItems": 1,
                "description": "corners[i] is at the end of walls[i], where it meets the next wall (one per wall; the last closes the room)."
              },
              "drawing": {
                "type": "object",
                "description": "In place of walls and corners: a Construction Canvas drawing in any form the drawing tool takes ({ document }, { commands }, { template }, { house }, { shapes }, { layout }); the room's inside faces, corners and doors are read from it as the canvas's Trim plan reads them."
              },
              "direction": {
                "enum": [
                  "cw",
                  "ccw"
                ],
                "description": "cw (the default): facing each wall from the room, working left to right. ccw: the canvas's order."
              },
              "minOffcut": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Offcuts at least this long are kept."
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              },
              "insideJoint": {
                "enum": [
                  "cope",
                  "miter"
                ],
                "description": "Inside corners coped (the default) or mitred."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "trim",
                  "pieces",
                  "buy",
                  "cutList",
                  "corners",
                  "turnSum",
                  "closes",
                  "warnings",
                  "summary",
                  "engine",
                  "system",
                  "notDesign",
                  "citation",
                  "licence",
                  "notice",
                  "links"
                ],
                "properties": {
                  "buy": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "count",
                        "text"
                      ],
                      "properties": {
                        "text": {
                          "type": "string"
                        },
                        "count": {
                          "type": "integer"
                        },
                        "stock": {
                          "type": "object",
                          "required": [
                            "mm",
                            "in",
                            "text"
                          ],
                          "properties": {
                            "in": {
                              "type": "number"
                            },
                            "mm": {
                              "type": "number"
                            },
                            "text": {
                              "type": "string",
                              "description": "In the system asked for, then the other."
                            }
                          }
                        }
                      }
                    }
                  },
                  "room": {
                    "type": "object",
                    "description": "With a drawing: the room read from it, its walls (faces) and their doors."
                  },
                  "trim": {
                    "type": "string"
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "page"
                    ],
                    "properties": {
                      "page": {
                        "type": "string"
                      }
                    }
                  },
                  "waste": {
                    "type": "object"
                  },
                  "closes": {
                    "type": "boolean"
                  },
                  "engine": {
                    "type": "object"
                  },
                  "notice": {
                    "type": "string"
                  },
                  "pieces": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "n",
                        "wall",
                        "wallLabel",
                        "long",
                        "short",
                        "ends"
                      ],
                      "properties": {
                        "n": {
                          "type": "integer"
                        },
                        "bar": {
                          "type": "integer"
                        },
                        "ends": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "side",
                              "joint",
                              "text"
                            ],
                            "properties": {
                              "side": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "joint": {
                                "type": "string"
                              },
                              "mitre": {
                                "type": "string"
                              },
                              "corner": {
                                "type": "integer"
                              },
                              "longAt": {
                                "type": "string"
                              },
                              "onStud": {
                                "type": "boolean"
                              }
                            }
                          }
                        },
                        "long": {
                          "type": "object",
                          "required": [
                            "mm",
                            "in",
                            "text"
                          ],
                          "properties": {
                            "in": {
                              "type": "number"
                            },
                            "mm": {
                              "type": "number"
                            },
                            "text": {
                              "type": "string",
                              "description": "In the system asked for, then the other."
                            }
                          }
                        },
                        "wall": {
                          "type": "integer"
                        },
                        "label": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "short": {
                          "type": "object",
                          "required": [
                            "mm",
                            "in",
                            "text"
                          ],
                          "properties": {
                            "in": {
                              "type": "number"
                            },
                            "mm": {
                              "type": "number"
                            },
                            "text": {
                              "type": "string",
                              "description": "In the system asked for, then the other."
                            }
                          }
                        },
                        "longPoint": {
                          "type": "string"
                        },
                        "wallLabel": {
                          "type": "string"
                        },
                        "fromOffcut": {
                          "type": "boolean"
                        }
                      }
                    },
                    "description": "Every piece in fitting order: its length at the long and the short point, and each end's joint and saw settings."
                  },
                  "system": {
                    "enum": [
                      "metric",
                      "imperial"
                    ]
                  },
                  "corners": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "cutList": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "times",
                        "stock",
                        "cuts"
                      ],
                      "properties": {
                        "cuts": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "keep": {
                          "type": "boolean"
                        },
                        "stock": {
                          "type": "object",
                          "required": [
                            "mm",
                            "in",
                            "text"
                          ],
                          "properties": {
                            "in": {
                              "type": "number"
                            },
                            "mm": {
                              "type": "number"
                            },
                            "text": {
                              "type": "string",
                              "description": "In the system asked for, then the other."
                            }
                          }
                        },
                        "times": {
                          "type": "integer"
                        },
                        "offcut": {
                          "type": "object",
                          "required": [
                            "mm",
                            "in",
                            "text"
                          ],
                          "properties": {
                            "in": {
                              "type": "number"
                            },
                            "mm": {
                              "type": "number"
                            },
                            "text": {
                              "type": "string",
                              "description": "In the system asked for, then the other."
                            }
                          }
                        }
                      }
                    },
                    "description": "Each stock length's cutting, with how many are cut that way."
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "summary": {
                    "type": "string"
                  },
                  "turnSum": {
                    "type": "number",
                    "description": "The turns round the room, degrees: 360 when it closes."
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "maxPiece": {
                    "type": "object",
                    "required": [
                      "mm",
                      "in",
                      "text"
                    ],
                    "properties": {
                      "in": {
                        "type": "number"
                      },
                      "mm": {
                        "type": "number"
                      },
                      "text": {
                        "type": "string",
                        "description": "In the system asked for, then the other."
                      }
                    }
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "notDesign": {
                    "type": "string"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Room trim plan: every piece, its ends and the stock",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "scribe_template",
          "title": "Scribe template: the scribe line full size, SVG and DXF",
          "description": "Turns gaps measured off a straight line into a scribe line for an uneven surface: the widest and narrowest gap, the width to start from, the strip to cut away, the line as full-size SVG and DXF, and its print layout on A4, Letter or a roll. A pattern, not a fit.",
          "inputSchema": {
            "type": "object",
            "required": [],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "paper": {
                "enum": [
                  "a4",
                  "a3",
                  "letter",
                  "tabloid",
                  "roll"
                ],
                "description": "The paper the full-size template is tiled on. Left out, A4 for metric and Letter for imperial."
              },
              "shape": {
                "type": "object",
                "required": [
                  "shape",
                  "length"
                ],
                "properties": {
                  "depth": {
                    "oneOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "maxLength": 200
                      },
                      {
                        "type": "object",
                        "required": [
                          "value"
                        ],
                        "properties": {
                          "unit": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "value": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      }
                    ],
                    "description": "How far the wall departs from straight."
                  },
                  "shape": {
                    "enum": [
                      "hollow",
                      "bulge",
                      "s-curve",
                      "taper"
                    ]
                  },
                  "length": {
                    "oneOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "maxLength": 200
                      },
                      {
                        "type": "object",
                        "required": [
                          "value"
                        ],
                        "properties": {
                          "unit": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "value": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      }
                    ],
                    "description": "The edge to scribe."
                  },
                  "closest": {
                    "oneOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "maxLength": 200
                      },
                      {
                        "type": "object",
                        "required": [
                          "value"
                        ],
                        "properties": {
                          "unit": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "value": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      }
                    ],
                    "description": "The smallest gap."
                  },
                  "spacing": {
                    "oneOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "maxLength": 200
                      },
                      {
                        "type": "object",
                        "required": [
                          "value"
                        ],
                        "properties": {
                          "unit": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "value": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      }
                    ],
                    "description": "Between stations."
                  }
                },
                "additionalProperties": false
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              },
              "formats": {
                "type": "array",
                "items": {
                  "enum": [
                    "svg",
                    "dxf"
                  ]
                },
                "maxItems": 2,
                "description": "The drawings to return. Left out, both."
              },
              "overlap": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Between adjacent sheets. Left out, the tiler's own."
              },
              "readings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "at",
                    "gap"
                  ],
                  "properties": {
                    "at": {
                      "oneOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "string",
                          "maxLength": 200
                        },
                        {
                          "type": "object",
                          "required": [
                            "value"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string",
                              "maxLength": 40
                            },
                            "value": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": false
                        }
                      ],
                      "description": "Along the reference line from its start."
                    },
                    "gap": {
                      "oneOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "string",
                          "maxLength": 200
                        },
                        {
                          "type": "object",
                          "required": [
                            "value"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string",
                              "maxLength": 40
                            },
                            "value": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": false
                        }
                      ],
                      "description": "From the line to the wall, at the height the board will sit."
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 200,
                "minItems": 2,
                "description": "The gaps measured from a straight reference line to the wall: up to 200 stations, each where it is along the line and the gap there."
              },
              "allowance": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Board left beyond the widest gap. Left out, 10 mm (3/8 in)."
              },
              "rollWidth": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "With paper roll: the roll's width."
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              },
              "orientation": {
                "enum": [
                  "portrait",
                  "landscape"
                ]
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "from",
                  "line",
                  "points",
                  "tiling",
                  "print",
                  "engine",
                  "system",
                  "notDesign",
                  "citation",
                  "licence",
                  "notice",
                  "links"
                ],
                "properties": {
                  "dxf": {
                    "type": "string",
                    "description": "The line as a DXF (R12, millimetres)."
                  },
                  "svg": {
                    "type": "string",
                    "description": "The line at full size, millimetre units."
                  },
                  "from": {
                    "enum": [
                      "readings",
                      "shape"
                    ]
                  },
                  "line": {
                    "type": "object",
                    "required": [
                      "length",
                      "widest",
                      "narrowest",
                      "oversize",
                      "lineLength",
                      "strip"
                    ],
                    "properties": {
                      "mean": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string",
                            "description": "In the system asked for, then the other."
                          }
                        }
                      },
                      "strip": {
                        "type": "object",
                        "required": [
                          "m2",
                          "ft2",
                          "text"
                        ],
                        "properties": {
                          "m2": {
                            "type": "number"
                          },
                          "ft2": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string"
                          }
                        },
                        "description": "The plan area to cut away above the scribe line."
                      },
                      "length": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string",
                            "description": "In the system asked for, then the other."
                          }
                        }
                      },
                      "widest": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string",
                            "description": "In the system asked for, then the other."
                          }
                        }
                      },
                      "oversize": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string",
                            "description": "In the system asked for, then the other."
                          }
                        },
                        "description": "The board's width to start from: the widest gap and the allowance."
                      },
                      "widestAt": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string",
                            "description": "In the system asked for, then the other."
                          }
                        }
                      },
                      "allowance": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string",
                            "description": "In the system asked for, then the other."
                          }
                        }
                      },
                      "narrowest": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string",
                            "description": "In the system asked for, then the other."
                          }
                        }
                      },
                      "lineLength": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string",
                            "description": "In the system asked for, then the other."
                          }
                        }
                      },
                      "narrowestAt": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string",
                            "description": "In the system asked for, then the other."
                          }
                        }
                      }
                    }
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "page"
                    ],
                    "properties": {
                      "page": {
                        "type": "string"
                      }
                    }
                  },
                  "omits": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "print": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "engine": {
                    "type": "object"
                  },
                  "notice": {
                    "type": "string"
                  },
                  "points": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "x",
                        "y"
                      ],
                      "properties": {
                        "x": {
                          "type": "number",
                          "description": "mm along the line"
                        },
                        "y": {
                          "type": "number",
                          "description": "mm to the wall"
                        }
                      }
                    }
                  },
                  "system": {
                    "enum": [
                      "metric",
                      "imperial"
                    ]
                  },
                  "tiling": {
                    "type": "object",
                    "required": [
                      "paper",
                      "orientation",
                      "rows",
                      "columns",
                      "sheets"
                    ],
                    "properties": {
                      "rows": {
                        "type": "integer"
                      },
                      "paper": {
                        "type": "string"
                      },
                      "sheets": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "columns": {
                        "type": "integer"
                      },
                      "overlap": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string",
                            "description": "In the system asked for, then the other."
                          }
                        }
                      },
                      "assembled": {
                        "type": "object"
                      },
                      "orientation": {
                        "type": "string"
                      }
                    }
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "notDesign": {
                    "type": "string"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Scribe template: the scribe line full size, SVG and DXF",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "fit_panel",
          "title": "Fit a worktop, shelf or panel to walls that are not square",
          "description": "The true shape of a worktop, shelf or panel between walls that are not square: front and back lengths, setbacks, diagonals and the blank with scribe and bow, then the blank and any other parts nested on stock: part ids, grain, cut order, offcuts and edge banding. Geometry only.",
          "inputSchema": {
            "type": "object",
            "required": [
              "span"
            ],
            "properties": {
              "bow": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "The back wall's greatest departure from straight. Left out, none."
              },
              "gap": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Left clear at each wall end. Left out, the kind's usual."
              },
              "kerf": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "The saw's kerf. Left out, 3 mm (1/8 in)."
              },
              "kind": {
                "enum": [
                  "worktop",
                  "shelf",
                  "board"
                ],
                "description": "worktop (the default): worktop lengths. shelf: shelf boards. board: full sheets of plywood or board."
              },
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "mode": {
                "enum": [
                  "guillotine",
                  "free"
                ],
                "description": "guillotine (the default): every cut edge to edge, for a panel or track saw. free: also layouts needing plunge cuts (CNC)."
              },
              "span": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Wall to wall (or to the free end), along the back wall, or along the front line with measuredAt front."
              },
              "trim": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Cut off every board edge before nesting. Left out, the kind's own (10 mm on a full sheet)."
              },
              "count": {
                "type": "integer",
                "maximum": 50,
                "minimum": 0,
                "description": "How many of the fitted piece. Left out, 1."
              },
              "depth": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "The finished depth, front edge to back wall. Left out, the kind's usual."
              },
              "grain": {
                "type": "boolean",
                "description": "Hold the grain or decor along the run (the default)."
              },
              "label": {
                "type": "string",
                "maxLength": 60
              },
              "parts": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "length",
                    "width"
                  ],
                  "properties": {
                    "count": {
                      "type": "integer",
                      "maximum": 200,
                      "minimum": 1
                    },
                    "grain": {
                      "type": "boolean",
                      "description": "Keep the grain along the length (the default)."
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 60
                    },
                    "width": {
                      "oneOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "string",
                          "maxLength": 200
                        },
                        {
                          "type": "object",
                          "required": [
                            "value"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string",
                              "maxLength": 40
                            },
                            "value": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    },
                    "length": {
                      "oneOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "string",
                          "maxLength": 200
                        },
                        {
                          "type": "object",
                          "required": [
                            "value"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string",
                              "maxLength": 40
                            },
                            "value": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": false
                        }
                      ],
                      "description": "Along the grain."
                    },
                    "bandLong": {
                      "type": "integer",
                      "maximum": 2,
                      "minimum": 0
                    },
                    "bandShort": {
                      "type": "integer",
                      "maximum": 2,
                      "minimum": 0
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 40,
                "description": "Other parts nested on the same boards (a carcass's sides and shelves)."
              },
              "sheet": {
                "type": "object",
                "required": [
                  "width",
                  "height"
                ],
                "properties": {
                  "width": {
                    "oneOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "maxLength": 200
                      },
                      {
                        "type": "object",
                        "required": [
                          "value"
                        ],
                        "properties": {
                          "unit": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "value": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      }
                    ]
                  },
                  "height": {
                    "oneOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "maxLength": 200
                      },
                      {
                        "type": "object",
                        "required": [
                          "value"
                        ],
                        "properties": {
                          "unit": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "value": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "stock": {
                "type": "integer",
                "maximum": 10,
                "minimum": 0,
                "description": "An index into the kind's stock sizes for the market (listed in the answer's stockOffered). Left out, the size that buys least."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "scribe": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Left on every edge that meets a wall, to scribe off in place. Left out, the kind's usual."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              },
              "leftEnd": {
                "enum": [
                  "wall",
                  "open"
                ],
                "description": "open: a free end, cut square."
              },
              "backWall": {
                "type": "boolean",
                "description": "Is there a wall along the back? Left out, yes."
              },
              "rightEnd": {
                "enum": [
                  "wall",
                  "open"
                ]
              },
              "bandFront": {
                "type": "boolean",
                "description": "Band the front edge of the fitted piece."
              },
              "leftAngle": {
                "type": "number",
                "maximum": 135,
                "minimum": 45,
                "description": "The room's inside angle between the back wall and the left wall, degrees; 90 square. Left out, 90."
              },
              "minOffcut": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "An offcut is listed for reuse when it is at least this big either way."
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              },
              "measuredAt": {
                "enum": [
                  "back",
                  "front"
                ]
              },
              "rightAngle": {
                "type": "number",
                "maximum": 135,
                "minimum": 45
              },
              "bandAllowance": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Tape added to every banded edge for trimming flush."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "kind",
                  "shape",
                  "nesting",
                  "parts",
                  "stockOffered",
                  "engine",
                  "system",
                  "notDesign",
                  "citation",
                  "licence",
                  "notice",
                  "links"
                ],
                "properties": {
                  "kind": {
                    "type": "string"
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "page"
                    ],
                    "properties": {
                      "page": {
                        "type": "string"
                      }
                    }
                  },
                  "parts": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "label",
                        "length",
                        "width",
                        "sheet"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "edges": {
                          "type": "integer"
                        },
                        "grain": {
                          "type": "boolean"
                        },
                        "label": {
                          "type": "string"
                        },
                        "sheet": {
                          "type": "integer"
                        },
                        "width": {
                          "type": "object",
                          "required": [
                            "mm",
                            "in",
                            "text"
                          ],
                          "properties": {
                            "in": {
                              "type": "number"
                            },
                            "mm": {
                              "type": "number"
                            },
                            "text": {
                              "type": "string",
                              "description": "In the system asked for, then the other."
                            }
                          }
                        },
                        "length": {
                          "type": "object",
                          "required": [
                            "mm",
                            "in",
                            "text"
                          ],
                          "properties": {
                            "in": {
                              "type": "number"
                            },
                            "mm": {
                              "type": "number"
                            },
                            "text": {
                              "type": "string",
                              "description": "In the system asked for, then the other."
                            }
                          }
                        }
                      }
                    }
                  },
                  "shape": {
                    "type": "object",
                    "required": [
                      "valid",
                      "back",
                      "front",
                      "depth",
                      "leftAngle",
                      "rightAngle",
                      "diagonals",
                      "blank",
                      "outline"
                    ],
                    "properties": {
                      "area": {
                        "type": "object",
                        "required": [
                          "m2",
                          "ft2",
                          "text"
                        ],
                        "properties": {
                          "m2": {
                            "type": "number"
                          },
                          "ft2": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string"
                          }
                        }
                      },
                      "back": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string",
                            "description": "In the system asked for, then the other."
                          }
                        }
                      },
                      "asCut": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "blank": {
                        "type": "object",
                        "properties": {
                          "width": {
                            "type": "object",
                            "required": [
                              "mm",
                              "in",
                              "text"
                            ],
                            "properties": {
                              "in": {
                                "type": "number"
                              },
                              "mm": {
                                "type": "number"
                              },
                              "text": {
                                "type": "string",
                                "description": "In the system asked for, then the other."
                              }
                            }
                          },
                          "height": {
                            "type": "object",
                            "required": [
                              "mm",
                              "in",
                              "text"
                            ],
                            "properties": {
                              "in": {
                                "type": "number"
                              },
                              "mm": {
                                "type": "number"
                              },
                              "text": {
                                "type": "string",
                                "description": "In the system asked for, then the other."
                              }
                            }
                          }
                        }
                      },
                      "depth": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string",
                            "description": "In the system asked for, then the other."
                          }
                        }
                      },
                      "front": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string",
                            "description": "In the system asked for, then the other."
                          }
                        }
                      },
                      "valid": {
                        "type": "boolean"
                      },
                      "toWall": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "outline": {
                        "type": "array",
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "number"
                          }
                        },
                        "description": "The finished outline, mm, anticlockwise from the back-left corner (x along the back wall, y to the front)."
                      },
                      "problems": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "diagonals": {
                        "type": "object",
                        "properties": {
                          "backLeftToFrontRight": {
                            "type": "object",
                            "required": [
                              "mm",
                              "in",
                              "text"
                            ],
                            "properties": {
                              "in": {
                                "type": "number"
                              },
                              "mm": {
                                "type": "number"
                              },
                              "text": {
                                "type": "string",
                                "description": "In the system asked for, then the other."
                              }
                            }
                          },
                          "backRightToFrontLeft": {
                            "type": "object",
                            "required": [
                              "mm",
                              "in",
                              "text"
                            ],
                            "properties": {
                              "in": {
                                "type": "number"
                              },
                              "mm": {
                                "type": "number"
                              },
                              "text": {
                                "type": "string",
                                "description": "In the system asked for, then the other."
                              }
                            }
                          }
                        }
                      },
                      "leftAngle": {
                        "type": "number"
                      },
                      "rightAngle": {
                        "type": "number"
                      },
                      "leftSetback": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string",
                            "description": "In the system asked for, then the other."
                          }
                        }
                      },
                      "rightSetback": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string",
                            "description": "In the system asked for, then the other."
                          }
                        }
                      }
                    }
                  },
                  "engine": {
                    "type": "object"
                  },
                  "notice": {
                    "type": "string"
                  },
                  "system": {
                    "enum": [
                      "metric",
                      "imperial"
                    ]
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "nesting": {
                    "type": "object",
                    "required": [
                      "sheet",
                      "sheets",
                      "buy",
                      "waste",
                      "patterns"
                    ],
                    "properties": {
                      "buy": {
                        "type": "string"
                      },
                      "mode": {
                        "type": "string"
                      },
                      "trim": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string",
                            "description": "In the system asked for, then the other."
                          }
                        }
                      },
                      "sheet": {
                        "type": "object"
                      },
                      "waste": {
                        "type": "object"
                      },
                      "bought": {
                        "type": "object",
                        "required": [
                          "m2",
                          "ft2",
                          "text"
                        ],
                        "properties": {
                          "m2": {
                            "type": "number"
                          },
                          "ft2": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string"
                          }
                        }
                      },
                      "proven": {
                        "type": "boolean"
                      },
                      "sheets": {
                        "type": "integer"
                      },
                      "tooBig": {
                        "type": "array",
                        "items": {
                          "type": "object"
                        }
                      },
                      "banding": {
                        "type": "object"
                      },
                      "patterns": {
                        "type": "array",
                        "items": {
                          "type": "object"
                        },
                        "description": "Each layout, with how many sheets are cut that way: the parts placed (id, label, position, size, turned, grain), the cuts in order and the offcuts kept."
                      },
                      "required": {
                        "type": "object",
                        "required": [
                          "m2",
                          "ft2",
                          "text"
                        ],
                        "properties": {
                          "m2": {
                            "type": "number"
                          },
                          "ft2": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string"
                          }
                        }
                      },
                      "yieldPercent": {
                        "type": "number"
                      }
                    }
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "notDesign": {
                    "type": "string"
                  },
                  "stockOffered": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Fit a worktop, shelf or panel to walls that are not square",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "fit_worktop_run",
          "title": "Worktop run round corners: pieces, joints and lengths",
          "description": "A worktop along several wall faces, as the Construction Canvas cuts it: each piece's true shape at the room's real angles, butt or mitre joints at corners, long straights joined, the front run and free ends, and the blanks nested on worktop lengths with the cut order and banding. Not sized.",
          "inputSchema": {
            "type": "object",
            "required": [
              "faces"
            ],
            "properties": {
              "bow": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "The back wall's greatest departure from straight. Left out, none."
              },
              "gap": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Left clear at each wall end. Left out, the kind's usual."
              },
              "kerf": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "The saw's kerf. Left out, 3 mm (1/8 in)."
              },
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "depth": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "The finished depth, front edge to back wall. Left out, the kind's usual."
              },
              "faces": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "length"
                  ],
                  "properties": {
                    "label": {
                      "type": "string",
                      "maxLength": 60
                    },
                    "length": {
                      "oneOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "string",
                          "maxLength": 200
                        },
                        {
                          "type": "object",
                          "required": [
                            "value"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string",
                              "maxLength": 40
                            },
                            "value": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 12,
                "minItems": 1,
                "description": "The wall faces the run follows, in order, each with its length along the wall."
              },
              "grain": {
                "type": "boolean",
                "description": "Hold the grain or decor along the run (the default)."
              },
              "start": {
                "type": "object",
                "required": [],
                "properties": {
                  "end": {
                    "enum": [
                      "wall",
                      "open"
                    ]
                  },
                  "angle": {
                    "type": "number",
                    "maximum": 135,
                    "minimum": 45
                  }
                },
                "additionalProperties": false
              },
              "stock": {
                "type": "integer",
                "maximum": 10,
                "minimum": 0,
                "description": "An index into the kind's stock sizes for the market (listed in the answer's stockOffered). Left out, the size that buys least."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "finish": {
                "type": "object",
                "required": [],
                "properties": {
                  "end": {
                    "enum": [
                      "wall",
                      "open"
                    ]
                  },
                  "angle": {
                    "type": "number",
                    "maximum": 135,
                    "minimum": 45
                  }
                },
                "additionalProperties": false
              },
              "scribe": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Left on every edge that meets a wall, to scribe off in place. Left out, the kind's usual."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              },
              "corners": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "kind"
                  ],
                  "properties": {
                    "kind": {
                      "enum": [
                        "inside",
                        "outside",
                        "straight"
                      ]
                    },
                    "angle": {
                      "type": "number",
                      "maximum": 180,
                      "minimum": 45
                    },
                    "joint": {
                      "enum": [
                        "butt",
                        "mitre"
                      ]
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 11,
                "description": "Between face i and face i + 1 (one fewer than the faces): inside or outside, the room's inside angle, and how the pieces meet."
              },
              "jointAt": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Where a straight longer than the stock is joined, along its back from its start. Left out, an even split."
              },
              "jointsAt": {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 200
                    },
                    {
                      "type": "object",
                      "required": [
                        "value"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                },
                "maxItems": 12,
                "description": "A joint position per straight, in run order (faces in line make one straight): where that straight is joined, along its back from its start, if it is longer than the stock. \"0 mm\" splits it evenly; a straight past the end of the list takes jointAt."
              },
              "bandFront": {
                "type": "boolean",
                "description": "Band the front edge of the fitted piece."
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              },
              "bandAllowance": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Tape added to every banded edge for trimming flush."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "pieces",
                  "frontRun",
                  "openEnds",
                  "nesting",
                  "stock",
                  "engine",
                  "system",
                  "notDesign",
                  "citation",
                  "licence",
                  "notice",
                  "links"
                ],
                "properties": {
                  "links": {
                    "type": "object",
                    "required": [
                      "page"
                    ],
                    "properties": {
                      "page": {
                        "type": "string"
                      }
                    }
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "stock": {
                    "type": "object",
                    "required": [
                      "name"
                    ],
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "width": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string",
                            "description": "In the system asked for, then the other."
                          }
                        }
                      },
                      "height": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string",
                            "description": "In the system asked for, then the other."
                          }
                        }
                      }
                    }
                  },
                  "valid": {
                    "type": "boolean"
                  },
                  "engine": {
                    "type": "object"
                  },
                  "notice": {
                    "type": "string"
                  },
                  "pieces": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "label",
                        "faces",
                        "left",
                        "right",
                        "shape"
                      ],
                      "properties": {
                        "left": {
                          "type": "string"
                        },
                        "part": {
                          "type": "object"
                        },
                        "faces": {
                          "type": "array",
                          "items": {
                            "type": "integer"
                          }
                        },
                        "label": {
                          "type": "string"
                        },
                        "right": {
                          "type": "string"
                        },
                        "shape": {
                          "type": "object",
                          "required": [
                            "valid",
                            "back",
                            "front",
                            "depth",
                            "leftAngle",
                            "rightAngle",
                            "diagonals",
                            "blank",
                            "outline"
                          ],
                          "properties": {
                            "area": {
                              "type": "object",
                              "required": [
                                "m2",
                                "ft2",
                                "text"
                              ],
                              "properties": {
                                "m2": {
                                  "type": "number"
                                },
                                "ft2": {
                                  "type": "number"
                                },
                                "text": {
                                  "type": "string"
                                }
                              }
                            },
                            "back": {
                              "type": "object",
                              "required": [
                                "mm",
                                "in",
                                "text"
                              ],
                              "properties": {
                                "in": {
                                  "type": "number"
                                },
                                "mm": {
                                  "type": "number"
                                },
                                "text": {
                                  "type": "string",
                                  "description": "In the system asked for, then the other."
                                }
                              }
                            },
                            "asCut": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "blank": {
                              "type": "object",
                              "properties": {
                                "width": {
                                  "type": "object",
                                  "required": [
                                    "mm",
                                    "in",
                                    "text"
                                  ],
                                  "properties": {
                                    "in": {
                                      "type": "number"
                                    },
                                    "mm": {
                                      "type": "number"
                                    },
                                    "text": {
                                      "type": "string",
                                      "description": "In the system asked for, then the other."
                                    }
                                  }
                                },
                                "height": {
                                  "type": "object",
                                  "required": [
                                    "mm",
                                    "in",
                                    "text"
                                  ],
                                  "properties": {
                                    "in": {
                                      "type": "number"
                                    },
                                    "mm": {
                                      "type": "number"
                                    },
                                    "text": {
                                      "type": "string",
                                      "description": "In the system asked for, then the other."
                                    }
                                  }
                                }
                              }
                            },
                            "depth": {
                              "type": "object",
                              "required": [
                                "mm",
                                "in",
                                "text"
                              ],
                              "properties": {
                                "in": {
                                  "type": "number"
                                },
                                "mm": {
                                  "type": "number"
                                },
                                "text": {
                                  "type": "string",
                                  "description": "In the system asked for, then the other."
                                }
                              }
                            },
                            "front": {
                              "type": "object",
                              "required": [
                                "mm",
                                "in",
                                "text"
                              ],
                              "properties": {
                                "in": {
                                  "type": "number"
                                },
                                "mm": {
                                  "type": "number"
                                },
                                "text": {
                                  "type": "string",
                                  "description": "In the system asked for, then the other."
                                }
                              }
                            },
                            "valid": {
                              "type": "boolean"
                            },
                            "toWall": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "outline": {
                              "type": "array",
                              "items": {
                                "type": "array",
                                "items": {
                                  "type": "number"
                                }
                              },
                              "description": "The finished outline, mm, anticlockwise from the back-left corner (x along the back wall, y to the front)."
                            },
                            "problems": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "diagonals": {
                              "type": "object",
                              "properties": {
                                "backLeftToFrontRight": {
                                  "type": "object",
                                  "required": [
                                    "mm",
                                    "in",
                                    "text"
                                  ],
                                  "properties": {
                                    "in": {
                                      "type": "number"
                                    },
                                    "mm": {
                                      "type": "number"
                                    },
                                    "text": {
                                      "type": "string",
                                      "description": "In the system asked for, then the other."
                                    }
                                  }
                                },
                                "backRightToFrontLeft": {
                                  "type": "object",
                                  "required": [
                                    "mm",
                                    "in",
                                    "text"
                                  ],
                                  "properties": {
                                    "in": {
                                      "type": "number"
                                    },
                                    "mm": {
                                      "type": "number"
                                    },
                                    "text": {
                                      "type": "string",
                                      "description": "In the system asked for, then the other."
                                    }
                                  }
                                }
                              }
                            },
                            "leftAngle": {
                              "type": "number"
                            },
                            "rightAngle": {
                              "type": "number"
                            },
                            "leftSetback": {
                              "type": "object",
                              "required": [
                                "mm",
                                "in",
                                "text"
                              ],
                              "properties": {
                                "in": {
                                  "type": "number"
                                },
                                "mm": {
                                  "type": "number"
                                },
                                "text": {
                                  "type": "string",
                                  "description": "In the system asked for, then the other."
                                }
                              }
                            },
                            "rightSetback": {
                              "type": "object",
                              "required": [
                                "mm",
                                "in",
                                "text"
                              ],
                              "properties": {
                                "in": {
                                  "type": "number"
                                },
                                "mm": {
                                  "type": "number"
                                },
                                "text": {
                                  "type": "string",
                                  "description": "In the system asked for, then the other."
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "system": {
                    "enum": [
                      "metric",
                      "imperial"
                    ]
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "nesting": {
                    "type": "object",
                    "required": [
                      "sheet",
                      "sheets",
                      "buy",
                      "waste",
                      "patterns"
                    ],
                    "properties": {
                      "buy": {
                        "type": "string"
                      },
                      "mode": {
                        "type": "string"
                      },
                      "trim": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string",
                            "description": "In the system asked for, then the other."
                          }
                        }
                      },
                      "sheet": {
                        "type": "object"
                      },
                      "waste": {
                        "type": "object"
                      },
                      "bought": {
                        "type": "object",
                        "required": [
                          "m2",
                          "ft2",
                          "text"
                        ],
                        "properties": {
                          "m2": {
                            "type": "number"
                          },
                          "ft2": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string"
                          }
                        }
                      },
                      "proven": {
                        "type": "boolean"
                      },
                      "sheets": {
                        "type": "integer"
                      },
                      "tooBig": {
                        "type": "array",
                        "items": {
                          "type": "object"
                        }
                      },
                      "banding": {
                        "type": "object"
                      },
                      "patterns": {
                        "type": "array",
                        "items": {
                          "type": "object"
                        },
                        "description": "Each layout, with how many sheets are cut that way: the parts placed (id, label, position, size, turned, grain), the cuts in order and the offcuts kept."
                      },
                      "required": {
                        "type": "object",
                        "required": [
                          "m2",
                          "ft2",
                          "text"
                        ],
                        "properties": {
                          "m2": {
                            "type": "number"
                          },
                          "ft2": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string"
                          }
                        }
                      },
                      "yieldPercent": {
                        "type": "number"
                      }
                    }
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "frontRun": {
                    "type": "object",
                    "required": [
                      "mm",
                      "in",
                      "text"
                    ],
                    "properties": {
                      "in": {
                        "type": "number"
                      },
                      "mm": {
                        "type": "number"
                      },
                      "text": {
                        "type": "string",
                        "description": "In the system asked for, then the other."
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "openEnds": {
                    "type": "object",
                    "required": [
                      "mm",
                      "in",
                      "text"
                    ],
                    "properties": {
                      "in": {
                        "type": "number"
                      },
                      "mm": {
                        "type": "number"
                      },
                      "text": {
                        "type": "string",
                        "description": "In the system asked for, then the other."
                      }
                    }
                  },
                  "problems": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "notDesign": {
                    "type": "string"
                  },
                  "widerStock": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Worktop run round corners: pieces, joints and lengths",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "miter_chart",
          "title": "Mitre saw angle chart: corners from 80° to 150°",
          "description": "The mitre saw chart for trim corners: per corner angle the mitre each piece takes, the outside corner read through the room, the gap a 45° cut leaves on 18 mm and 3/4 in trim and where it opens, crown laid flat (38/52 and 45/45) mitre and bevel, and the handing table. Any corners on request.",
          "inputSchema": {
            "type": "object",
            "required": [],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "angles": {
                "type": "array",
                "items": {
                  "type": "number",
                  "exclusiveMaximum": 180,
                  "exclusiveMinimum": 0
                },
                "maxItems": 60,
                "minItems": 1,
                "description": "The corners θ to chart, degrees. Left out, the site's chart: 80° to 100° in half degrees, then 120°, 135° and 150°."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              },
              "handing": {
                "type": "boolean",
                "description": "Include the handing table (which way each piece swings and tilts at a square corner). Left out, yes."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "rows",
                  "depths",
                  "engine",
                  "system",
                  "notDesign",
                  "citation",
                  "licence",
                  "notice",
                  "links"
                ],
                "properties": {
                  "rows": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "angle",
                        "outsideThroughRoom",
                        "mitre",
                        "gap45",
                        "insideOpens",
                        "outsideOpens",
                        "crownFlat38",
                        "crownFlat45"
                      ],
                      "properties": {
                        "angle": {
                          "type": "number"
                        },
                        "gap45": {
                          "type": "object",
                          "required": [
                            "mm",
                            "in",
                            "text"
                          ],
                          "properties": {
                            "in": {
                              "type": "number",
                              "description": "At 3/4 in trim."
                            },
                            "mm": {
                              "type": "number",
                              "description": "At 18 mm trim."
                            },
                            "text": {
                              "type": "string"
                            }
                          }
                        },
                        "mitre": {
                          "type": "number"
                        },
                        "crownFlat38": {
                          "type": "object"
                        },
                        "crownFlat45": {
                          "type": "object"
                        },
                        "insideOpens": {
                          "type": "string"
                        },
                        "outsideOpens": {
                          "type": "string"
                        },
                        "outsideThroughRoom": {
                          "type": "number"
                        }
                      }
                    }
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "page"
                    ],
                    "properties": {
                      "page": {
                        "type": "string"
                      }
                    }
                  },
                  "depths": {
                    "type": "string",
                    "description": "The trim thicknesses the gap column is worked at."
                  },
                  "engine": {
                    "type": "object"
                  },
                  "notice": {
                    "type": "string"
                  },
                  "system": {
                    "enum": [
                      "metric",
                      "imperial"
                    ]
                  },
                  "handing": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "notDesign": {
                    "type": "string"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Mitre saw angle chart: corners from 80° to 150°",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "print_template",
          "title": "Full-size print template as SVG and DXF",
          "description": "The full-size template a calculator page prints: a stair stringer or step gauge, rafter cuts, a cone or frustum pattern, an arch's centring or voussoirs, an anchor bolt setting jig or plate, a curved plate, a spiral stair's tread, winder blanks, a housed or ladder stringer, a split stair's stringers, a handrail gooseneck; lines as SVG and DXF, its checks and omissions, its tiling on paper.",
          "inputSchema": {
            "type": "object",
            "required": [
              "calculator"
            ],
            "properties": {
              "kind": {
                "type": "string",
                "maxLength": 20,
                "description": "Which of the family's two templates: stringer gauge or whole; rafter cuts or whole; cone whole or half; arch centring or voussoirs; bolts setting or plate; plate segment or whole; spiral tread or landing; winders each or turn; housed and ladder gauge or whole; split first, return or gauge; gooseneck turn or pieces. Left out, the first."
              },
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "paper": {
                "enum": [
                  "a4",
                  "a3",
                  "letter",
                  "tabloid",
                  "roll"
                ],
                "description": "Left out, A4 for metric and Letter for imperial."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "fields": {
                "type": "object",
                "description": "The template's own figures by id (a stringer's board depth and tread thickness, a cone's lap …), with units; left out, the page's defaults for the system (or the calculator's own figure where the page opens on it). The answer lists them.",
                "maxProperties": 10,
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 200
                    },
                    {
                      "type": "object",
                      "required": [
                        "value"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "inputs": {
                "type": "object",
                "description": "The calculator's own inputs by id, with their units, as its page takes them; left out, the values its page opens on.",
                "maxProperties": 100,
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 200
                    },
                    {
                      "type": "object",
                      "required": [
                        "value"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The unit system inputs left out open in, and the one the page link opens in. The answer comes in both."
              },
              "formats": {
                "type": "array",
                "items": {
                  "enum": [
                    "svg",
                    "dxf"
                  ]
                },
                "maxItems": 2,
                "description": "The drawings to return. Left out, both."
              },
              "overlap": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Between adjacent sheets. Left out, 10 mm."
              },
              "rollWidth": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "With paper roll: the roll's width."
              },
              "calculator": {
                "enum": [
                  "stair-calculator",
                  "stair-stringer-calculator",
                  "landing-stair-calculator",
                  "cone-frustum-development-calculator",
                  "curved-wall-stud-layout-calculator",
                  "anchor-bolt-pattern-layout-calculator",
                  "arch-rise-span-ratio-calculator",
                  "common-rafter-length-calculator",
                  "spiral-staircase-calculator",
                  "winder-stair-calculator",
                  "housed-stringer-calculator",
                  "ship-ladder-calculator",
                  "bifurcated-stair-calculator",
                  "handrail-gooseneck-calculator"
                ],
                "description": "The calculator whose page offers the template: a stair stringer and step gauge, a rafter, a cone or frustum pattern, a curved wall's plate, an anchor bolt setting board or plate, an arch's centring or voussoirs; a spiral stair's tread or landing, a turn's winder blanks, a housed string or ship's ladder stringer, a split stair's stringers, a handrail's gooseneck."
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              },
              "orientation": {
                "enum": [
                  "portrait",
                  "landscape"
                ]
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "calculator",
                  "family",
                  "kind",
                  "kinds",
                  "fields",
                  "template",
                  "tiling",
                  "print",
                  "engine",
                  "system",
                  "notDesign",
                  "citation",
                  "licence",
                  "notice",
                  "links"
                ],
                "properties": {
                  "dxf": {
                    "type": "string",
                    "description": "The template's lines as a DXF (R12, millimetres)."
                  },
                  "svg": {
                    "type": "string",
                    "description": "The template's lines at full size, millimetre units."
                  },
                  "kind": {
                    "type": "string"
                  },
                  "kinds": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "title"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "sheets": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      }
                    }
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "page"
                    ],
                    "properties": {
                      "page": {
                        "type": "string"
                      }
                    }
                  },
                  "print": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "engine": {
                    "type": "object"
                  },
                  "family": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "label",
                        "value"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "help": {
                          "type": "string"
                        },
                        "label": {
                          "type": "string"
                        },
                        "value": {
                          "type": "object",
                          "required": [
                            "mm",
                            "in",
                            "text"
                          ],
                          "properties": {
                            "in": {
                              "type": "number"
                            },
                            "mm": {
                              "type": "number"
                            },
                            "text": {
                              "type": "string",
                              "description": "In the system asked for, then the other."
                            }
                          }
                        }
                      }
                    }
                  },
                  "notice": {
                    "type": "string"
                  },
                  "system": {
                    "enum": [
                      "metric",
                      "imperial"
                    ]
                  },
                  "tiling": {
                    "type": "object",
                    "required": [
                      "paper",
                      "orientation",
                      "rows",
                      "columns",
                      "sheets"
                    ],
                    "properties": {
                      "rows": {
                        "type": "integer"
                      },
                      "paper": {
                        "type": "string"
                      },
                      "sheets": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "columns": {
                        "type": "integer"
                      },
                      "overlap": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "text": {
                            "type": "string",
                            "description": "In the system asked for, then the other."
                          }
                        }
                      },
                      "assembled": {
                        "type": "object"
                      },
                      "orientation": {
                        "type": "string"
                      }
                    }
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "template": {
                    "type": "object",
                    "required": [
                      "id",
                      "title",
                      "facts",
                      "omits"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "facts": {
                        "type": "array",
                        "items": {
                          "type": "object"
                        }
                      },
                      "omits": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "title": {
                        "type": "string"
                      },
                      "material": {
                        "type": "string"
                      },
                      "structuralNotice": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "notDesign": {
                    "type": "string"
                  },
                  "calculator": {
                    "type": "object",
                    "required": [
                      "slug",
                      "title"
                    ],
                    "properties": {
                      "slug": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "version": {
                        "type": "string"
                      }
                    }
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Full-size print template as SVG and DXF",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "edit_drawing",
          "title": "Edit a canvas drawing: move walls, add doors and windows",
          "description": "Changes a Construction Canvas drawing (its link, its document or any form a new drawing takes) by simple edits through the canvas's own commands: move a wall (joined walls follow), set a length, add a door or window, set properties or type, remove, add, set a level; returns the drawing, its revision, the link, the diff and the quantities that changed. baseRev refuses a stale drawing. Not sized.",
          "inputSchema": {
            "truncated": true,
            "chars": 33171
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "system",
                  "from",
                  "steps",
                  "diff",
                  "quantities",
                  "counts",
                  "schema",
                  "baseRev",
                  "rev",
                  "documentSchema",
                  "document",
                  "link",
                  "codeLength",
                  "note",
                  "links",
                  "citation",
                  "licence",
                  "notice"
                ],
                "properties": {
                  "rev": {
                    "type": "string",
                    "description": "The edited drawing's revision: send it as baseRev with the next edit, so an edit to a drawing changed meanwhile is refused rather than written over the change."
                  },
                  "diff": {
                    "type": "object",
                    "required": [
                      "added",
                      "removed",
                      "changed"
                    ],
                    "properties": {
                      "added": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id",
                            "c"
                          ]
                        }
                      },
                      "changed": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id",
                            "c",
                            "fields"
                          ]
                        }
                      },
                      "removed": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id",
                            "c"
                          ]
                        }
                      }
                    }
                  },
                  "from": {
                    "type": "string",
                    "description": "What the drawing arrived as: link, document, or the form of a new drawing (house, commands, template …)."
                  },
                  "link": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Opens the edited drawing on the canvas as a new project's; null when too large for a link."
                  },
                  "note": {
                    "type": "string"
                  },
                  "doors": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "wall",
                        "hinge",
                        "swing",
                        "stored"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "wall": {
                          "type": "string"
                        },
                        "hinge": {
                          "enum": [
                            "start",
                            "end"
                          ]
                        },
                        "swing": {
                          "enum": [
                            "left",
                            "right"
                          ]
                        },
                        "stored": {
                          "type": "boolean"
                        }
                      }
                    },
                    "description": "Every door's hand: the wall end its leaf hangs at (start or end, from the wall's start) and the face it opens toward (left or right going start to end, y up on plan). stored false: the drawing holds no hand for it, and the canvas draws it hinged at its start, opening left."
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "canvas",
                      "drawing",
                      "page"
                    ]
                  },
                  "steps": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "index",
                        "op",
                        "said"
                      ],
                      "properties": {
                        "op": {
                          "type": "string"
                        },
                        "said": {
                          "type": "string"
                        },
                        "index": {
                          "type": "integer"
                        }
                      }
                    },
                    "description": "What each operation did, as the canvas says it."
                  },
                  "counts": {
                    "type": "object",
                    "required": [
                      "objects",
                      "levels"
                    ]
                  },
                  "engine": {
                    "type": "object"
                  },
                  "notice": {
                    "type": "string"
                  },
                  "schema": {
                    "type": "integer",
                    "description": "The canvas document schema the edited drawing is in."
                  },
                  "system": {
                    "enum": [
                      "metric",
                      "imperial"
                    ]
                  },
                  "baseRev": {
                    "type": "string",
                    "description": "The revision of the drawing the edits were applied to."
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "tooLong": {
                    "type": "string"
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "document": {
                    "type": "object",
                    "required": [
                      "schema",
                      "units",
                      "counters",
                      "levels",
                      "types",
                      "entities",
                      "assumed",
                      "updatedAt"
                    ],
                    "description": "The edited drawing (JSON Schema: https://craftquantities.com/schemas/canvas-drawing-5.json): send it (or the link) back to edit it again."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "codeLength": {
                    "type": "integer"
                  },
                  "quantities": {
                    "type": "object",
                    "required": [
                      "changed",
                      "unchanged",
                      "labourHours"
                    ],
                    "properties": {
                      "changed": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "key",
                            "section",
                            "label",
                            "unit",
                            "before",
                            "after",
                            "change",
                            "otherSystem",
                            "calculator"
                          ],
                          "properties": {
                            "key": {
                              "type": "string"
                            },
                            "unit": {
                              "type": "string"
                            },
                            "after": {
                              "anyOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "label": {
                              "type": "string"
                            },
                            "before": {
                              "anyOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "change": {
                              "anyOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "section": {
                              "type": "string"
                            },
                            "calculator": {
                              "type": "string"
                            },
                            "otherSystem": {
                              "anyOf": [
                                {
                                  "type": "object"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          }
                        },
                        "description": "The canvas dock's rows whose quantity moved (null: the row is new, or gone), in both unit systems."
                      },
                      "unchanged": {
                        "type": "integer"
                      },
                      "labourHours": {
                        "type": "object",
                        "required": [
                          "before",
                          "after"
                        ],
                        "properties": {
                          "after": {
                            "type": "object",
                            "required": [
                              "low",
                              "likely",
                              "high"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              },
                              "likely": {
                                "type": "number"
                              }
                            }
                          },
                          "before": {
                            "type": "object",
                            "required": [
                              "low",
                              "likely",
                              "high"
                            ],
                            "properties": {
                              "low": {
                                "type": "number"
                              },
                              "high": {
                                "type": "number"
                              },
                              "likely": {
                                "type": "number"
                              }
                            }
                          }
                        },
                        "description": "The labour band the canvas gives the drawing, before and after: hours for planning, not a price."
                      }
                    }
                  },
                  "documentSchema": {
                    "type": "string",
                    "description": "The JSON Schema the document follows."
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Edit a canvas drawing: move walls, add doors and windows",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "plan_set_takeoff",
          "title": "Take off plan sheets: counts, lengths, areas per layer",
          "description": "Totals a set of drawing sheets as the plan takeoff does: each sheet with its own scale (from a known line, or pixels per mm), counts, lengths and areas read off them in the sheet's pixels, layers adding up across the sheets; returns each layer's total and each sheet's share in metric and US units, unscaled marks left out and named. Points in, no picture; not sized.",
          "inputSchema": {
            "type": "object",
            "required": [
              "sheets"
            ],
            "properties": {
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "name": {
                "type": "string",
                "maxLength": 80,
                "description": "The set's name (default Plan set)."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "sheets": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "maxLength": 80,
                      "description": "The sheet's name (Ground floor, E-101 …)."
                    },
                    "marks": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "layer",
                          "kind",
                          "points"
                        ],
                        "properties": {
                          "kind": {
                            "enum": [
                              "count",
                              "length",
                              "area"
                            ],
                            "description": "count: each point is one symbol; length: a polyline; area: a closed outline."
                          },
                          "layer": {
                            "type": "string",
                            "maxLength": 60,
                            "description": "The layer's name. Marks with one name, on any sheet, are one layer and add up (\"Outlets\" counted on two floors is one total)."
                          },
                          "points": {
                            "type": "array",
                            "items": {
                              "anyOf": [
                                {
                                  "type": "array",
                                  "items": {
                                    "type": "number"
                                  },
                                  "maxItems": 2,
                                  "minItems": 2,
                                  "description": "[x, y] in the sheet's picture pixels (y down)."
                                },
                                {
                                  "type": "object",
                                  "required": [
                                    "x",
                                    "y"
                                  ],
                                  "properties": {
                                    "x": {
                                      "type": "number"
                                    },
                                    "y": {
                                      "type": "number"
                                    }
                                  },
                                  "additionalProperties": false
                                }
                              ]
                            },
                            "maxItems": 5000,
                            "minItems": 1,
                            "description": "In the sheet's own picture pixels, as read off the drawing."
                          },
                          "countType": {
                            "enum": [
                              "outlet",
                              "switch",
                              "light",
                              "smoke",
                              "door",
                              "window",
                              "fixture",
                              "register",
                              "other"
                            ],
                            "description": "count only: what is counted (default other)."
                          }
                        },
                        "additionalProperties": false
                      },
                      "maxItems": 500
                    },
                    "scale": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "line",
                            "length"
                          ],
                          "properties": {
                            "line": {
                              "type": "array",
                              "items": {
                                "anyOf": [
                                  {
                                    "type": "array",
                                    "items": {
                                      "type": "number"
                                    },
                                    "maxItems": 2,
                                    "minItems": 2,
                                    "description": "[x, y] in the sheet's picture pixels (y down)."
                                  },
                                  {
                                    "type": "object",
                                    "required": [
                                      "x",
                                      "y"
                                    ],
                                    "properties": {
                                      "x": {
                                        "type": "number"
                                      },
                                      "y": {
                                        "type": "number"
                                      }
                                    },
                                    "additionalProperties": false
                                  }
                                ]
                              },
                              "maxItems": 2,
                              "minItems": 2,
                              "description": "The two ends of something on the sheet whose real length is known (a figured dimension, a scale bar)."
                            },
                            "length": {
                              "oneOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "string",
                                  "maxLength": 200
                                },
                                {
                                  "type": "object",
                                  "required": [
                                    "value"
                                  ],
                                  "properties": {
                                    "unit": {
                                      "type": "string",
                                      "maxLength": 40
                                    },
                                    "value": {
                                      "type": "number"
                                    }
                                  },
                                  "additionalProperties": false
                                }
                              ],
                              "description": "Its real length, with its unit (\"5 m\", \"16 ft\")."
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "pixelsPerMm"
                          ],
                          "properties": {
                            "pixelsPerMm": {
                              "type": "number",
                              "description": "Picture pixels per real millimetre.",
                              "exclusiveMinimum": 0
                            }
                          },
                          "additionalProperties": false
                        }
                      ],
                      "description": "This sheet's own scale (sheets in one set are often drawn at different ones). Left out: no scale yet, and its lengths and areas are left out of the totals and counted as unscaled; its counts still count."
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 60,
                "minItems": 1,
                "description": "The sheets, each with its scale and its marks. At most 500 marks and 20,000 points in all."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The system lengths are read in (both are returned)."
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "system",
                  "set",
                  "layers",
                  "sheets",
                  "note",
                  "citation",
                  "licence",
                  "notice",
                  "links"
                ],
                "properties": {
                  "set": {
                    "type": "string"
                  },
                  "note": {
                    "type": "string"
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "page"
                    ]
                  },
                  "engine": {
                    "type": "object"
                  },
                  "layers": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "layer",
                        "kind",
                        "marks",
                        "total",
                        "unscaled",
                        "bySheet"
                      ],
                      "properties": {
                        "kind": {
                          "enum": [
                            "count",
                            "length",
                            "area"
                          ]
                        },
                        "layer": {
                          "type": "string"
                        },
                        "marks": {
                          "type": "integer",
                          "description": "Marks in the total (a count layer: one per sheet it is on)."
                        },
                        "total": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "metric",
                                "imperial"
                              ],
                              "properties": {
                                "metric": {
                                  "type": "object",
                                  "required": [
                                    "value",
                                    "unit"
                                  ],
                                  "properties": {
                                    "unit": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    }
                                  }
                                },
                                "imperial": {
                                  "type": "object",
                                  "required": [
                                    "value",
                                    "unit"
                                  ],
                                  "properties": {
                                    "unit": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "The set's total in both systems (m or ft, m² or sq ft, each); null when every mark is on an unscaled sheet."
                        },
                        "bySheet": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "sheet",
                              "marks",
                              "total",
                              "unscaled"
                            ],
                            "properties": {
                              "marks": {
                                "type": "integer"
                              },
                              "sheet": {
                                "type": "string"
                              },
                              "total": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "required": [
                                      "metric",
                                      "imperial"
                                    ],
                                    "properties": {
                                      "metric": {
                                        "type": "object",
                                        "required": [
                                          "value",
                                          "unit"
                                        ],
                                        "properties": {
                                          "unit": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          }
                                        }
                                      },
                                      "imperial": {
                                        "type": "object",
                                        "required": [
                                          "value",
                                          "unit"
                                        ],
                                        "properties": {
                                          "unit": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "number"
                                          }
                                        }
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "unscaled": {
                                "type": "integer"
                              }
                            }
                          }
                        },
                        "unscaled": {
                          "type": "integer",
                          "description": "Marks on sheets with no scale, left out of the total."
                        },
                        "countType": {
                          "type": "string"
                        },
                        "perimeter": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "metric",
                                "imperial"
                              ],
                              "properties": {
                                "metric": {
                                  "type": "object",
                                  "required": [
                                    "value",
                                    "unit"
                                  ],
                                  "properties": {
                                    "unit": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    }
                                  }
                                },
                                "imperial": {
                                  "type": "object",
                                  "required": [
                                    "value",
                                    "unit"
                                  ],
                                  "properties": {
                                    "unit": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "number"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      }
                    },
                    "description": "Each layer's total across the set, with each sheet's share."
                  },
                  "notice": {
                    "type": "string"
                  },
                  "sheets": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "sheet",
                        "scale",
                        "layers"
                      ],
                      "properties": {
                        "scale": {
                          "anyOf": [
                            {
                              "type": "object"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "sheet": {
                          "type": "string"
                        },
                        "layers": {
                          "type": "array"
                        }
                      }
                    },
                    "description": "Each sheet's own totals, layer by layer."
                  },
                  "system": {
                    "enum": [
                      "metric",
                      "imperial"
                    ]
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Take off plan sheets: counts, lengths, areas per layer",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "roof_framing",
          "title": "Roof framing: rafter lengths, cuts, birdsmouth and templates",
          "description": "Lays out a gable or hip roof (optionally a gable wing with valleys) from the caller's own sizes: each common, hip, valley and jack rafter's length along the line, birdsmouth and HAP, plumb and cheek cuts as saw settings, hip backing, a cut list on the caller's stock, and a member's full-size template as SVG and DXF; both systems. Geometry only: it does not size structure.",
          "inputSchema": {
            "type": "object",
            "required": [],
            "properties": {
              "kerf": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Saw kerf, charged on every cut (default 1/8 in or 3 mm)."
              },
              "kind": {
                "enum": [
                  "gable",
                  "hip"
                ],
                "description": "gable or hip (default hip)."
              },
              "lang": {
                "enum": [
                  "en",
                  "es",
                  "es-US",
                  "fr",
                  "fr-CA",
                  "pt",
                  "pt-BR"
                ],
                "type": "string",
                "default": "en",
                "description": "The answer's language. en (the default): as ever. es or es-US: US Spanish — labels, units, result lines and the honest machine-translation label from the site's Spanish pages, Spanish words read in a question or a trade term, and links to the /es/ pages once the site publishes them (until then the links stay English). fr or fr-CA (Canadian French, /fr/) and pt or pt-BR (Brazilian Portuguese, /pt/): the same from the site's French and Portuguese pages, figures with a decimal comma; each link names the translated page only once that page is published, otherwise the English page."
              },
              "rake": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Gable ends (and a wing's gable end): how far the roof runs past the gable wall."
              },
              "span": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Building width across the ridge, outside faces of the wall plates (\"24 ft\", \"8 m\")."
              },
              "wing": {
                "type": "object",
                "properties": {
                  "span": {
                    "oneOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "maxLength": 200
                      },
                      {
                        "type": "object",
                        "required": [
                          "value"
                        ],
                        "properties": {
                          "unit": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "value": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      }
                    ],
                    "description": "The wing's span, no wider than the main span."
                  },
                  "offset": {
                    "oneOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "maxLength": 200
                      },
                      {
                        "type": "object",
                        "required": [
                          "value"
                        ],
                        "properties": {
                          "unit": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "value": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      }
                    ],
                    "description": "From the main roof's left end to the wing's centreline."
                  },
                  "projection": {
                    "oneOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "maxLength": 200
                      },
                      {
                        "type": "object",
                        "required": [
                          "value"
                        ],
                        "properties": {
                          "unit": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "value": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      }
                    ],
                    "description": "From the main wall's face to the wing's end wall."
                  }
                },
                "description": "An equal-pitch gable wing on the front wall: gives the valleys, valley jacks and cripples.",
                "additionalProperties": false
              },
              "pitch": {
                "type": "number",
                "maximum": 24,
                "minimum": 1,
                "description": "Rise per 12 of run (6 for 6/12). Or give pitchDegrees."
              },
              "stock": {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 200
                    },
                    {
                      "type": "object",
                      "required": [
                        "value"
                      ],
                      "properties": {
                        "unit": {
                          "type": "string",
                          "maxLength": 40
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                },
                "maxItems": 20,
                "minItems": 1,
                "description": "The stock lengths the caller can buy, each with its unit; left out, the page's list for the system."
              },
              "detail": {
                "enum": [
                  "full",
                  "summary"
                ],
                "type": "string",
                "default": "full",
                "description": "full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read."
              },
              "hipTop": {
                "enum": [
                  "drop",
                  "back"
                ],
                "description": "Drop the hips and leave them square (default), or back them."
              },
              "length": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Building length along the ridge."
              },
              "system": {
                "enum": [
                  "metric",
                  "imperial"
                ],
                "type": "string",
                "default": "metric",
                "description": "The system figures are read in and printed first (both are returned)."
              },
              "spacing": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Rafter centres along the plate (\"16 in\", \"600 mm\")."
              },
              "hipDepth": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Actual depth of the hips and valleys."
              },
              "overhang": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Level, from the wall's outer face to the tail's plumb cut."
              },
              "template": {
                "type": "object",
                "required": [
                  "member"
                ],
                "properties": {
                  "kind": {
                    "enum": [
                      "cuts",
                      "whole"
                    ],
                    "description": "The member's ends only (default) or the whole member."
                  },
                  "member": {
                    "type": "string",
                    "maxLength": 40,
                    "description": "A member's key from this roof's answer: common, king-common, hip, hip-jack-1, valley, supporting-valley, …"
                  },
                  "formats": {
                    "type": "array",
                    "items": {
                      "enum": [
                        "svg",
                        "dxf"
                      ]
                    },
                    "description": "svg, dxf or both (default both)."
                  }
                },
                "description": "One member as a full-size template (1:1, millimetres).",
                "additionalProperties": false
              },
              "inputUnits": {
                "enum": [
                  "base"
                ],
                "type": "string",
                "description": "Send \"base\" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit."
              },
              "plateWidth": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "The wall plate's width (the seat bears on it)."
              },
              "rafterDepth": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Actual depth of the commons and jacks (a 2×8 is \"7.25 in\")."
              },
              "hipThickness": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Actual thickness of the hips and valleys."
              },
              "pitchDegrees": {
                "type": "number",
                "maximum": 63.4,
                "minimum": 4.8,
                "description": "The pitch in degrees, as an alternative to pitch."
              },
              "ridgeThickness": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "The ridge board's thickness."
              },
              "fasciaThickness": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "The fascia board's thickness."
              },
              "rafterThickness": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "Actual thickness of the commons and jacks (\"1.5 in\", \"45 mm\")."
              },
              "heightAbovePlate": {
                "oneOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "object",
                    "required": [
                      "value"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                ],
                "description": "The commons' height above the plate (HAP); left out, the seat bears on the whole plate."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "engine",
                  "system",
                  "roof",
                  "members",
                  "ridges",
                  "fascia",
                  "cutList",
                  "conventions",
                  "sources",
                  "notDesign",
                  "citation",
                  "licence",
                  "notice",
                  "links"
                ],
                "properties": {
                  "roof": {
                    "type": "object",
                    "required": [
                      "kind",
                      "pitch",
                      "run",
                      "rise",
                      "hap",
                      "ridgeHeightAbovePlate",
                      "jackCommonDifference"
                    ],
                    "properties": {
                      "hap": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text",
                          "tape"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "tape": {
                            "type": "string"
                          },
                          "text": {
                            "type": "string"
                          }
                        }
                      },
                      "run": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text",
                          "tape"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "tape": {
                            "type": "string"
                          },
                          "text": {
                            "type": "string"
                          }
                        }
                      },
                      "kind": {
                        "enum": [
                          "gable",
                          "hip"
                        ]
                      },
                      "rise": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text",
                          "tape"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "tape": {
                            "type": "string"
                          },
                          "text": {
                            "type": "string"
                          }
                        }
                      },
                      "pitch": {
                        "type": "object"
                      },
                      "jackCommonDifference": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text",
                          "tape"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "tape": {
                            "type": "string"
                          },
                          "text": {
                            "type": "string"
                          }
                        }
                      },
                      "ridgeHeightAbovePlate": {
                        "type": "object",
                        "required": [
                          "mm",
                          "in",
                          "text",
                          "tape"
                        ],
                        "properties": {
                          "in": {
                            "type": "number"
                          },
                          "mm": {
                            "type": "number"
                          },
                          "tape": {
                            "type": "string"
                          },
                          "text": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "page"
                    ]
                  },
                  "engine": {
                    "type": "object"
                  },
                  "fascia": {
                    "type": "array"
                  },
                  "notice": {
                    "type": "string"
                  },
                  "ridges": {
                    "type": "array"
                  },
                  "system": {
                    "enum": [
                      "metric",
                      "imperial"
                    ]
                  },
                  "cutList": {
                    "type": "array",
                    "description": "Per board size: the pieces, the stock to buy from the caller's lengths, the waste, and any piece longer than every stock length (rafters are not joined)."
                  },
                  "licence": {
                    "type": "object",
                    "required": [
                      "name",
                      "url",
                      "attribution"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "attribution": {
                        "type": "string"
                      }
                    }
                  },
                  "members": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "key",
                        "role",
                        "name",
                        "count",
                        "slopeDegrees",
                        "lineLength",
                        "board",
                        "topCut"
                      ],
                      "properties": {
                        "key": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "role": {
                          "type": "string"
                        },
                        "board": {
                          "type": "object",
                          "required": [
                            "mm",
                            "in",
                            "text",
                            "tape"
                          ],
                          "properties": {
                            "in": {
                              "type": "number"
                            },
                            "mm": {
                              "type": "number"
                            },
                            "tape": {
                              "type": "string"
                            },
                            "text": {
                              "type": "string"
                            }
                          },
                          "description": "The board the member needs, end to end at its long points."
                        },
                        "count": {
                          "type": "integer"
                        },
                        "topCut": {
                          "type": "object",
                          "description": "plumbToEdge, sawMitre and sawBevel in degrees; topEdgeAngle for a cheek; what it cuts against."
                        },
                        "lineLength": {
                          "type": "object",
                          "required": [
                            "mm",
                            "in",
                            "text",
                            "tape"
                          ],
                          "properties": {
                            "in": {
                              "type": "number"
                            },
                            "mm": {
                              "type": "number"
                            },
                            "tape": {
                              "type": "string"
                            },
                            "text": {
                              "type": "string"
                            }
                          },
                          "description": "Heel point (or the foot's plumb line) to the top plumb line, along the measuring line, after the deductions."
                        },
                        "slopeDegrees": {
                          "type": "number"
                        }
                      }
                    },
                    "description": "Every member: count and hands, lengths along the line, deductions, birdsmouth and HAP, cuts as saw settings, the hip's backing and drop."
                  },
                  "sources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "citation": {
                    "type": "object",
                    "required": [
                      "author",
                      "title",
                      "url",
                      "formats",
                      "accessDate"
                    ],
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "author": {
                        "type": "string"
                      },
                      "formats": {
                        "type": "object",
                        "required": [
                          "plain",
                          "apa",
                          "harvard",
                          "bibtex"
                        ],
                        "properties": {
                          "apa": {
                            "type": "string"
                          },
                          "plain": {
                            "type": "string"
                          },
                          "bibtex": {
                            "type": "string"
                          },
                          "harvard": {
                            "type": "string"
                          }
                        }
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "accessDate": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sourcesChecked": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  },
                  "template": {
                    "type": "object",
                    "description": "One member at full size, as SVG and DXF in millimetres, with its facts and what it omits."
                  },
                  "notDesign": {
                    "type": "string"
                  },
                  "conventions": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "detail",
                  "tool",
                  "title",
                  "lines",
                  "notes",
                  "citation",
                  "url",
                  "open",
                  "more"
                ],
                "properties": {
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "more": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tool": {
                    "type": "string"
                  },
                  "lines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "description": "The result lines, as the report's table gives them."
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary."
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "const": "summary"
                  },
                  "citation": {
                    "type": "string",
                    "description": "The one citation line, built from the answer's own data."
                  },
                  "language": {
                    "type": "object",
                    "properties": {
                      "lang": {
                        "enum": [
                          "es-US",
                          "fr-CA",
                          "pt-BR"
                        ]
                      },
                      "note": {
                        "type": "string"
                      },
                      "label": {
                        "type": "object"
                      },
                      "localeLinks": {
                        "type": "boolean"
                      },
                      "englishPages": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Site page addresses in this answer that open the ENGLISH page, because the translated page is not published yet (the words in the answer may still be translated)."
                      },
                      "spanishLinks": {
                        "type": "boolean"
                      }
                    },
                    "description": "Only with a lang other than en: the answer's language (es-US, fr-CA or pt-BR), whether its links may name the translated pages (spanishLinks for es-US; localeLinks for fr-CA and pt-BR, where an unpublished page still links in English), and the honest machine-translation label."
                  }
                }
              }
            ]
          },
          "annotations": {
            "title": "Roof framing: rafter lengths, cuts, birdsmouth and templates",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "calculate-view",
          "uri": "ui://craftquantities/calculate.html",
          "mimeType": "text/html;profile=mcp-app",
          "description": "One calculator's answer in both unit systems, its breakdown and an editable form of every input; recalculates through the calculate tool and opens the page on craftquantities.com."
        },
        {
          "name": "takeoff-view",
          "uri": "ui://craftquantities/takeoff.html",
          "mimeType": "text/html;profile=mcp-app",
          "description": "A takeoff's material lines in either unit system, its labour band, what it leaves out and its measurements to change; re-runs through run_takeoff and opens the takeoff page."
        },
        {
          "name": "trim-corner-view",
          "uri": "ui://craftquantities/trim-corner.html",
          "mimeType": "text/html;profile=mcp-app",
          "description": "Each piece's mitre and bevel as the saw's dials read, the corner drawn, cope or mitre and the gap a 45° cut leaves; change the angle and re-run trim_corner."
        },
        {
          "name": "cut-plan-view",
          "uri": "ui://craftquantities/cut-plan.html",
          "mimeType": "text/html;profile=mcp-app",
          "description": "The stock lengths or sheets to buy, each bar or sheet drawn with its cuts and offcut, the waste and its bound."
        }
      ],
      "prompts": [
        {
          "name": "estimate_room_materials",
          "description": "Plan a room's materials with the site's planner: walls, floor, ceiling, trim and finishes.",
          "arguments": [
            {
              "name": "room",
              "required": true,
              "description": "The room and what is being done to it: \"a 4 × 3 m bedroom, repaint and new skirting\"."
            },
            {
              "name": "market",
              "required": false,
              "description": "US, CA, UK or AU, for the words and the products."
            }
          ]
        },
        {
          "name": "check_builders_quote",
          "description": "Read a contractor's quote against the reader's own job, as the site's quote check does.",
          "arguments": [
            {
              "name": "quote",
              "required": true,
              "description": "The quote's text, one item to a line."
            },
            {
              "name": "job",
              "required": false,
              "description": "The job: \"bathroom\", \"plastering\", or a takeoff such as a concrete slab."
            }
          ]
        },
        {
          "name": "diagnose_defect",
          "description": "Find the site's diagnosis for a building fault and say how to tell its candidate causes apart.",
          "arguments": [
            {
              "name": "symptom",
              "required": true,
              "description": "What the reader sees, hears or smells, and where."
            }
          ]
        },
        {
          "name": "what_will_it_cover",
          "description": "Work backwards from material the reader already has to the area and size it covers.",
          "arguments": [
            {
              "name": "have",
              "required": true,
              "description": "What and how much: \"20 sheets of drywall\", \"24 gal of paint\", \"2 m³ of concrete\"."
            }
          ]
        }
      ]
    },
    "instructions": "Craft Quantities is a construction materials and quantities service: how many bags of concrete, cubic yards or m³, how much drywall, plasterboard, paint, tile, brick, gravel, lumber or roofing a job takes; whole-job takeoffs for a slab, wall, deck, fence, roof or bathroom; a room or house planned or drawn; a builder's quote checked against the job; and building defects such as a crack, damp patch or leak. Every answer is computed by the site's own published, cited calculators, in metric and US customary, with the calculator's version, sources, a citation and a link to its page; each tool's text is a short Markdown report ending in one citation line. How the tools fit together: search finds a calculator, takeoff, worked example or diagnosis; get_calculator lists one calculator's inputs; calculate runs one calculator by its slug; get_sources gives its sources and citation. get_takeoff then run_takeoff work a whole job; get_planner then plan_room or plan_project plan spaces; estimate_house and create_drawing take a whole house or a drawn plan. diagnose_symptom covers defects, solve_backwards material already bought, market_documents which codes govern work in a market, translate_term trade words across markets (however they are written) with the unit traps they raise, check_quote and import_quote quotes, create_supplier_quote_request a request for quote, the create_project_file_from_* tools a My Project file from calculations, takeoffs, a house, a plan or a drawing, and get_benchmark the Construction Quantities Benchmark, an open dataset of quantity questions with their answers. measure_sketch scales points the assistant has read off a plan, sketch or photo by one known reference (the engine receives no image), export_drawing gives a canvas drawing as DXF and SVG, and layout_reinforcement lays out and counts bars from the bar size, spacing and cover the engineer gives. calculate_batch runs up to 25 calculators in one request; each project file carries a state token that update_project changes (spaces, dimensions, takeoffs, roof pitch) without anything being stored; classify_items groups lines by MasterFormat division; resolve_id turns a permanent id (cq-c0187) or an old slug into the page today, and every tool that takes a slug takes such an id. plan_programme puts a project's labour hours (a token, a file, takeoffs or a drawing) into a build programme by trade, stage and level from the crew size and working day given, in hours and days only. optimise_cuts turns a cut list into the stock lengths or sheets to buy, with a cutting plan, the waste and its bound. estimate_hours gives a project's estimated hours per line and its crew-days; compare_on_job works a comparison page's two options on one job with where they cross; run_guide_chain runs a guide's \"Try the calculation\" and run_example_live a worked example with changed figures; stair_flight lays out a straight, turned, concrete or steel stair; level_quotes levels two to six quotes line by line; write_variation and write_proposal write a variation and a client proposal from a project, unpriced unless the reader's own rates are given; make_job_sheet gives a takeoff's job sheet; make_canvas_link opens a takeoff or worked example on the Construction Canvas; get_illustration returns a page's topic illustration. trim_corner sets one trim corner on the reader's own saw (mitre, bevel, stops, cope or mitre, the gap a 45° cut leaves); plan_room_trim plans a room's skirting or crown piece by piece with its cut list; scribe_template turns gaps measured to a wall into a scribe line as SVG and DXF; fit_panel and fit_worktop_run give a worktop, shelf or panel's true shape between walls that are not square and nest it on stock; miter_chart gives the mitre saw chart; print_template gives a calculator page's full-size template (stringer, rafter, cone, arch, bolts, curved plate, the stair types' treads, winders, strings, split-stair stringers and handrail goosenecks) as SVG and DXF with its tilin"
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}