Search NHS conditions and symptoms.
Searches nhs.uk like its search results page: page title and link for each result (conditions, symptoms, live well pages and others), in the site's order. First page of results only.
- Site
- NHS, United Kingdom
- Version
- v1
- Runs, last 7 days
- No reports yet
- sha256
- e5be0b523815…
Run it with your agent
after installing WieldAsk in plain words. Your agent finds this recipe and calls it:
“Search NHS conditions and symptoms.”
Read-only: it changes nothing on the site. No login needed.
{ "tool": "run", "arguments": { "recipe_id": "nhs.uk/search-health", "params": { "query": "back pain" } } }
Requests
sent from your browser, in order- 1GET/search/results?qServer-rendered search results page /search/results?q=; read-only GET. Each result is an a.app-search-results-item link; its href is a tracking redirect that carries the real page path in its url parameter.
Parameters
from your agentquerystringrequiredCondition, symptom or health topic, e.g. 'back pain', 'asthma symptoms', 'flu vaccine'
Returns
to your agentquerystring
resultsobject[]title, url
Where it can send
- www.nhs.uk
Anything else is blocked by the extension.
Reads from your session
Nothing. Your browser attaches the site's cookies by itself.
Used only in requests to the addresses on the left. Never sent to wield.run or your agent.
Checks
a run passes when- length(output.results) > `0`
- length(output.results[?starts_with(url, 'https://www.nhs.uk/')]) == length(output.results)
- length(output.results[?title != `null`]) == length(output.results)
Raw recipe
Served as canonical JSON from /api/v1/recipes/nhs.uk/search-health, so its sha256 matches the ETag and the index.
Check it yourself
curl -s https://wield.run/api/v1/recipes/nhs.uk/search-health | shasum -a 256 # e5be0b523815760a2d4045a0996f51fae4cd106edd47da346296413b936f45f5
nhs.uk/search-health.json, v1
{ "description": "Searches nhs.uk like its search results page: page title and link for each result (conditions, symptoms, live well pages and others), in the site's order. First page of results only.", "effect": "read", "id": "nhs.uk/search-health", "keywords": [ "nhs", "nhs.uk", "health", "symptoms", "conditions", "medicine", "vaccine", "uk", "england", "medical advice", "illness", "treatment", "back pain", "asthma" ], "output": { "schema": { "properties": { "query": { "type": "string" }, "results": { "items": { "properties": { "title": { "type": "string" }, "url": { "description": "Absolute nhs.uk page URL", "type": "string" } }, "required": [ "title", "url" ], "type": "object" }, "type": "array" } }, "required": [ "query", "results" ], "type": "object" }, "value": "{query: params.query, results: steps.search.results[?title != `null` && href != `null`].{title: title, url: join('', ['https://www.nhs.uk', replace(split(split(href, 'url=')[1], '&')[0], '%2F', '/')])}}" }, "params": { "additionalProperties": false, "properties": { "query": { "description": "Condition, symptom or health topic, e.g. 'back pain', 'asthma symptoms', 'flu vaccine'", "maxLength": 100, "minLength": 2, "type": "string" } }, "required": [ "query" ], "type": "object" }, "provenance": { "method": "har", "notes": "GET /search/results?q=: the server-rendered HTML lists the first page of results as a.app-search-results-item links with a summary paragraph. The href is the site's own /search/click redirect with the target path in its url parameter; the recipe decodes that path into the page URL. Results are not sponsored in this markup.", "recorded_at": "2026-11-08T16:45:00.000Z", "recorded_by": "wield-forge (claude-haiku agent)" }, "requires_login": false, "schema": "https://wield.run/schema/recipe/v1.json", "site": { "country": "GB", "id": "nhs.uk", "language": "en", "name": "NHS", "origin": "https://www.nhs.uk", "origins": [ "https://www.nhs.uk" ] }, "steps": [ { "description": "Server-rendered search results page /search/results?q=; read-only GET. Each result is an a.app-search-results-item link; its href is a tracking redirect that carries the real page path in its url parameter.", "expect": { "content_type": "html", "status": [ 200 ] }, "extract": { "html_items": { "results": { "fields": { "href": { "attr": "href", "selector": ":scope" }, "title": { "selector": ":scope" } }, "max": 50, "selector": "a.app-search-results-item" } } }, "id": "search", "request": { "headers": { "Accept": "text/html" }, "method": "GET", "query": { "q": "{{params.query}}" }, "url": "/search/results" } } ], "task": "Search NHS conditions and symptoms", "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[?starts_with(url, 'https://www.nhs.uk/')]) == length(output.results)", "length(output.results[?title != `null`]) == length(output.results)" ], "example_params": { "query": "back pain" }, "max_ms": 5000 }, "version": 1 }