Ukparl Lookup Reference
ukparl_lookup_referenceResolve Parliament filter IDs and inspect source coverage before searching. Use identifiers for ID namespaces and required selectors, coverage for Hansard date limitations, or a named reference topic for filter IDs. Follow opaque collection cursors with the same filters; use contentCursor to reconstruct an oversized selected payload.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"topic": "<topic>"
},
"name": "ukparl_lookup_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| house | No | Commons or Lords; required for active parties. | |
| limit | No | Requested whole reference rows; positive safe integer, default 10, effective cap 20. | |
| topic | Yes | Reference topic or static identifier/coverage guide. | |
| cursor | No | Opaque collection cursor; repeat the same normalized filters. | |
| nameContains | No | Case-insensitive AND tokens over the complete named reference set. | |
| contentCursor | No | Opaque same-selection recursive content continuation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | Effective maximum whole reference rows per call. | |
| page | No | Whole reference-row pagination. | |
| error | No | Present when the call failed. Absent on success. | |
| items | No | Complete named reference rows in the selected page. | |
| shown | No | Actual whole reference rows selected for delivery. | |
| topic | No | Selected reference topic on a full payload. | |
| notice | No | Licence, coverage and workload notices. | |
| applied | No | Normalized selection applied by this call. | |
| sources | No | All requests that supplied the complete reference set. | |
| coverage | No | Static typed historical coverage facts and official sources. | |
| delivery | No | Full selected payload, child outline, or JSON fragment. | |
| identity | No | Stable selected-record identifiers retained during content retrieval. | |
| retrieval | No | Same-tool retrieval instruction. | |
| truncated | No | Further reference rows remain after the selected page. | |
| provenance | No | Selected response provenance retained during content retrieval; source notices remain in the reconstructed payload. | |
| totalCount | No | Known complete selected guide or reference row count. | |
| contentPage | No | Lossless recursive content continuation. | |
| identifiers | No | Static typed identifier namespaces and supported selections. | |
| nameContains | No | Complete normalized AND-token filter, retained through content continuation. | |
| collectionPage | No | Collection continuation; reconstruct the outlined selected payload before following it. | |
| requestedLimit | No | Caller limit before an effective cap was applied. |