# UK Parliament bill search

Search UK Parliament bills by keywords, house, session and status: short title, current house and stage, last update, whether it became an Act, and bill id. Takes q, current house, originating house and more, all optional.

Search UK Parliament bills by keywords, house, session and status: short title, current house and stage, last update, whether it became an Act, and bill id for uk-parliament/bill. Most recently updated first by default.

- Tool ID: `uk-parliament/bill-search`
- Provider: [UK Parliament](/providers/uk-parliament.md)
- Capability: [Knowledge & research](/tools/knowledge.md)
- Price: no charge per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

No charge per call. A workspace is still needed so your agent can call it.


```json
{
  "model": "per_call",
  "amountUsd": 0
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "q": {
      "type": "string",
      "minLength": 2,
      "maxLength": 120,
      "description": "Keywords in the bill title, e.g. 'renters'"
    },
    "current_house": {
      "type": "string",
      "enum": [
        "All",
        "Commons",
        "Lords",
        "Unassigned"
      ],
      "description": "House where the bill currently is, e.g. 'Lords'"
    },
    "originating_house": {
      "type": "string",
      "enum": [
        "All",
        "Commons",
        "Lords"
      ],
      "description": "House where it started, e.g. 'Commons'"
    },
    "session": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200,
      "description": "Parliamentary session id, e.g. 40"
    },
    "is_defeated": {
      "type": "boolean",
      "description": "Only defeated (true) or not defeated (false) bills"
    },
    "is_withdrawn": {
      "type": "boolean",
      "description": "Only withdrawn (true) or not withdrawn (false) bills"
    },
    "sort": {
      "type": "string",
      "enum": [
        "DateUpdatedDescending",
        "DateUpdatedAscending",
        "TitleAscending",
        "TitleDescending"
      ],
      "default": "DateUpdatedDescending",
      "description": "Sort order, e.g. 'DateUpdatedDescending'"
    },
    "skip": {
      "type": "integer",
      "minimum": 0,
      "maximum": 5000,
      "default": 0,
      "description": "Bills to skip for paging, e.g. 0"
    },
    "take": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 10,
      "description": "Bills to return, e.g. 10"
    }
  },
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "uk-parliament/bill-search",
  "input": {
    "q": "renters",
    "take": 3
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

Licence: Open Parliament Licence v3.0.

Attribution: Contains Parliamentary information licensed under the Open Parliament Licence v3.0.

[Provider documentation](https://bills-api.parliament.uk/index.html)

[REST inspection](https://api.agentik.cc/v1/tools/uk-parliament/bill-search) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/uk-parliament/bill-search) · [Agent index](/llms.txt)
