changedInput schema / properties / office / description
Previous value: -"Three-letter Weather Forecast Office (WFO) code (e.g., \"SEW\" for Seattle, \"LOX\" for Los Angeles). Returned as the \"office\" field in nws_get_forecast output."New value: +"Product location code of 2–3 letters or digits, case-insensitive — usually the 3-letter Weather Forecast Office (WFO) code (e.g., \"SEW\" for Seattle, \"LOX\" for Los Angeles), returned as the \"office\" field in nws_get_forecast output. Some offices file a product under other codes: Anchorage files its ZFP under \"AER\" (Anchorage East) and \"ALU\" (Anchorage West), not \"AFC\"; San Juan files its ZFP under \"PR\", and Guam its SPS under \"PQ1\"."
addedInput schema / properties / office / pattern
Added value: +"^\\s*[A-Za-z0-9]{2,3}\\s*$"
addedInput schema / properties / sections
Added value: +{
+ "description": "Sections to return instead of the whole product: AFD section names, case-insensitive (e.g., \"DISCUSSION\", \"AVIATION\"), or zone codes for ZFP/HWO/SPS (e.g., \"WAZ315\"; a code inside a listed range such as FLZ076>078 selects that segment). Take names from the outline. Returns the product header plus every matching section verbatim, in product order, followed by the product's closing lines (forecaster credits, links). Omit for the whole product, or its outline when it is too large.",
+ "items": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array"
+}
changedOutput schema / anyOf
Previous value: -[
- {
- "not": {
- "required": [
- "error"
- ]
- },
- "required": [
- "issuanceTime",
- "issuingOffice",
- "productCode",
- "productName",
- "productText",
- "wmoCollectiveId"
- ]
- },
- {
- "required": [
- "error"
- ]
- }
-]New value: +[
+ {
+ "not": {
+ "required": [
+ "error"
+ ]
+ },
+ "required": [
+ "issuanceTime",
+ "issuingOffice",
+ "productCode",
+ "productName",
+ "wmoCollectiveId"
+ ]
+ },
+ {
+ "required": [
+ "error"
+ ]
+ }
+]
changedOutput schema / properties / error / properties / data / properties / reason / description
Previous value: -"Machine-readable failure mode. Declared by this tool: `no_products`: Office code is unknown, or a valid office has no current product of the requested type (episodic types like SPS and HWO are commonly empty). Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `no_products`: Office code is unknown, or no product of the requested type is filed under it: episodic types (SPS, HWO) are commonly empty, and some offices file AFD or ZFP under other location codes. `unknown_section`: A sections entry matches no section of the latest product. Other values are possible when a failure originates below the handler."
changedOutput schema / properties / error / properties / data / properties / reason / examples
Previous value: -[
- "no_products"
-]New value: +[
+ "no_products",
+ "unknown_section"
+]
addedOutput schema / properties / notice
Added value: +{
+ "description": "Set when the product is outlined (with a worked sections re-call) or when sections selected part of it (how many of how many sections came back).",
+ "type": "string"
+}
addedOutput schema / properties / outline
Added value: +{
+ "description": "Sections of a product too large to inline, largest first. Present only in place of productText.",
+ "items": {
+ "additionalProperties": false,
+ "description": "One section of the product",
+ "properties": {
+ "bytes": {
+ "description": "Size of the section text in bytes.",
+ "type": "number"
+ },
+ "label": {
+ "description": "Area name line of a zone segment (e.g., \"City of Seattle\").",
+ "type": "string"
+ },
+ "name": {
+ "description": "AFD section name (e.g., \"AVIATION\"), or a zone segment's zone codes as issued, ranges written NNN>MMM (e.g., \"FLZ076>078, IDZ001\"). Pass it, or any one zone code it covers, in sections.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "bytes"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
changedOutput schema / properties / productText / description
Previous value: -"Full narrative product text as issued by the forecaster. AFDs are typically 1,000-3,000 words covering synoptic setup, model guidance, and period-by-period reasoning."New value: +"Narrative product text as issued by the forecaster: the whole product, or the product header followed by each selected section when sections was given. Absent when outline is returned."