{"description":"Searches the Met Office website like its search page: page title, link and preview text for each result, in the site's order. The results are Met Office pages (guidance, services, products and articles), not live forecasts. First results page only.","effect":"read","id":"metoffice.gov.uk/search-pages","keywords":["met office","metoffice","metoffice.gov.uk","climate","climate reports","weather events","guidance","meteorology","met office reports","united kingdom","site search"],"output":{"schema":{"properties":{"query":{"type":"string"},"results":{"items":{"properties":{"preview":{"description":"Short text from the result, may be truncated","type":["string","null"]},"title":{"type":"string"},"url":{"type":"string"}},"required":["title","url"],"type":"object"},"type":"array"}},"required":["query","results"],"type":"object"},"value":"{query: params.query, results: map(&{title: title, preview: preview || `null`, url: (starts_with(href, 'http') && href) || join('', ['https://www.metoffice.gov.uk', href])}, steps.search.results[?title != `null` && href != `null`] || `[]`)}"},"params":{"additionalProperties":false,"properties":{"query":{"description":"Search term, e.g. 'london', 'severe weather', 'radar'","maxLength":100,"minLength":2,"type":"string"}},"required":["query"],"type":"object"},"provenance":{"method":"har","notes":"One GET to /search?query=<query>, which answers 200 HTML with li.result items (h3.title link and .preview text). Titles and links were read from the page as served; the links are absolute. Results are Met Office site pages, not forecast data. Only the first page is read.","recorded_at":"2026-11-08T16:40:00.000Z","recorded_by":"wield-forge (claude-haiku agent)"},"requires_login":false,"schema":"https://wield.run/schema/recipe/v1.json","site":{"country":"GB","id":"metoffice.gov.uk","language":"en","name":"Met Office","origin":"https://www.metoffice.gov.uk","origins":["https://www.metoffice.gov.uk"]},"steps":[{"description":"Server-rendered site search results page /search?query=... (read-only GET). Each result is li.result with an h3.title link and a .preview text block.","expect":{"assert":"status == `200` && contains(body, 'Search results')","content_type":"html","status":[200]},"extract":{"html_items":{"results":{"fields":{"href":{"attr":"href","selector":"h3.title a"},"preview":{"selector":".preview"},"title":{"selector":"h3.title a"}},"max":50,"selector":"li.result"}}},"id":"search","request":{"headers":{"Accept":"text/html"},"method":"GET","query":{"query":"{{params.query}}"},"url":"/search"}}],"task":"Search Met Office website pages","tos":{"notes":"Not reviewed. One search page per call, the same page a visitor loads. The site's terms on automated access were not checked.","reviewed":false},"verify":{"checks":["length(output.results) > `0`","length(output.results[?title != `null`]) == length(output.results)","length(output.results[?starts_with(url, 'https://')]) == length(output.results)"],"example_params":{"query":"london"},"max_ms":5000},"version":1}