Sign inTry it

Search NICE clinical guidance.

Searches NICE (National Institute for Health and Care Excellence) guidance like its search page: guideline or quality standard title with reference code, summary, and link. First page of results, in the site's order.

No reports yetRead-only, no login
Site
NICE, United Kingdom
Version
v1
Runs, last 7 days
No reports yet
sha256
f5fc182b0d57…

Run it with your agent

after installing Wield

Ask in plain words. Your agent finds this recipe and calls it:

“Search NICE clinical guidance.”

Read-only: it changes nothing on the site. No login needed.

{
  "tool": "run",
  "arguments": {
    "recipe_id": "nice.org.uk/search-health",
    "params": {
      "query": "hypertension"
    }
  }
}

Requests

sent from your browser, in order
  1. 1GET/search?qServer-rendered search results page /search?q=; read-only GET. Result cards are div.card[data-component='card']; title from the card heading link, path from its headinglink attribute.

Parameters

from your agent
querystringrequiredCondition, treatment or topic, e.g. 'hypertension', 'type 2 diabetes', 'asthma'

Returns

to your agent
guidanceobject[]result_type, summary, title, url
querystring

Where it can send

  • www.nice.org.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.guidance) > `0`
  • length(output.guidance[?starts_with(url, 'https://www.nice.org.uk/')]) == length(output.guidance)
  • length(output.guidance[?title != `null`]) == length(output.guidance)

Raw recipe

Served as canonical JSON from /api/v1/recipes/nice.org.uk/search-health, so its sha256 matches the ETag and the index.

Check it yourself
curl -s https://wield.run/api/v1/recipes/nice.org.uk/search-health | shasum -a 256
# f5fc182b0d57c89072b14ea756642866e00cd86a5d0261b410c3d05b1144ed81
nice.org.uk/search-health.json, v1
{
  "description": "Searches NICE (National Institute for Health and Care Excellence) guidance like its search page: guideline or quality standard title with reference code, summary, and link. First page of results, in the site's order.",
  "effect": "read",
  "id": "nice.org.uk/search-health",
  "keywords": [
    "nice",
    "nice.org.uk",
    "guidance",
    "clinical guidelines",
    "health",
    "nhs",
    "medicine",
    "treatment",
    "hypertension",
    "diabetes",
    "asthma",
    "uk",
    "england",
    "guideline"
  ],
  "output": {
    "schema": {
      "properties": {
        "guidance": {
          "items": {
            "properties": {
              "result_type": {
                "description": "e.g. 'NICE guideline'",
                "type": [
                  "string",
                  "null"
                ]
              },
              "summary": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "title": {
                "description": "Guidance title with its reference code, e.g. '... (NG136)'",
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            },
            "required": [
              "title",
              "url"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "query": {
          "type": "string"
        }
      },
      "required": [
        "query",
        "guidance"
      ],
      "type": "object"
    },
    "value": "{query: params.query, guidance: steps.search.guidance[?title != `null` && href != `null`].{title: title, url: join('', ['https://www.nice.org.uk', href]), summary: summary || `null`, result_type: result_type || `null`}}"
  },
  "params": {
    "additionalProperties": false,
    "properties": {
      "query": {
        "description": "Condition, treatment or topic, e.g. 'hypertension', 'type 2 diabetes', 'asthma'",
        "maxLength": 100,
        "minLength": 2,
        "type": "string"
      }
    },
    "required": [
      "query"
    ],
    "type": "object"
  },
  "provenance": {
    "method": "har",
    "notes": "GET /search?q=: the server-rendered HTML holds the first page of result cards (div.card with data-component=card, headinglink attribute, heading, summary and metadata). The page also embeds the same results as __NEXT_DATA__, but the cards are used because their semantic classes and attributes are stable. Hashed CSS-module classes on the list items were avoided.",
    "recorded_at": "2026-11-08T16:35:00.000Z",
    "recorded_by": "wield-forge (claude-haiku agent)"
  },
  "requires_login": false,
  "schema": "https://wield.run/schema/recipe/v1.json",
  "site": {
    "country": "GB",
    "id": "nice.org.uk",
    "language": "en",
    "name": "NICE",
    "origin": "https://www.nice.org.uk",
    "origins": [
      "https://www.nice.org.uk"
    ]
  },
  "steps": [
    {
      "description": "Server-rendered search results page /search?q=; read-only GET. Result cards are div.card[data-component='card']; title from the card heading link, path from its headinglink attribute.",
      "expect": {
        "content_type": "html",
        "status": [
          200
        ]
      },
      "extract": {
        "html_items": {
          "guidance": {
            "fields": {
              "href": {
                "attr": "headinglink",
                "selector": ":scope"
              },
              "result_type": {
                "selector": ".card__metadatum dd"
              },
              "summary": {
                "selector": ".card__summary"
              },
              "title": {
                "selector": ".card__heading"
              }
            },
            "max": 50,
            "selector": "div.card[data-component='card']"
          }
        }
      },
      "id": "search",
      "request": {
        "headers": {
          "Accept": "text/html"
        },
        "method": "GET",
        "query": {
          "q": "{{params.query}}"
        },
        "url": "/search"
      }
    }
  ],
  "task": "Search NICE clinical guidance",
  "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.guidance) > `0`",
      "length(output.guidance[?starts_with(url, 'https://www.nice.org.uk/')]) == length(output.guidance)",
      "length(output.guidance[?title != `null`]) == length(output.guidance)"
    ],
    "example_params": {
      "query": "hypertension"
    },
    "max_ms": 5000
  },
  "version": 1
}