addedInput schema / properties / params / properties / max_summary_chars
Added value: +{
+ "default": 5000,
+ "description": "Maximum characters of the bill summary text to return. Default 5,000 (~1,250 tokens) covers most bills. Raise for substantive government bills (Finance Act, Levelling-up) whose summary runs longer. Check summary_truncated in the response to see if it was cut.",
+ "maximum": 50000,
+ "minimum": 500,
+ "type": "integer"
+}
removedOutput schema / description
Removed value: -"Generic wrapper for non-object return types."
addedOutput schema / properties / current_house
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "House where the bill currently sits"
+}
addedOutput schema / properties / current_stage
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Current legislative stage"
+}
addedOutput schema / properties / id
Added value: +{
+ "description": "Bill ID",
+ "type": "integer"
+}
addedOutput schema / properties / is_act
Added value: +{
+ "default": false,
+ "description": "Whether the bill has received Royal Assent",
+ "type": "boolean"
+}
addedOutput schema / properties / long_title
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Full long title"
+}
addedOutput schema / properties / originating_house
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "House where the bill was introduced"
+}
removedOutput schema / properties / result
Removed value: -{
- "type": "string"
-}
addedOutput schema / properties / royal_assent_date
Added value: +{
+ "anyOf": [
+ {
+ "format": "date",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Date Royal Assent was given"
+}
addedOutput schema / properties / short_title
Added value: +{
+ "description": "Short title of the bill",
+ "type": "string"
+}
addedOutput schema / properties / sponsors
Added value: +{
+ "description": "Bill sponsors",
+ "items": {
+ "properties": {
+ "house": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Commons or Lords"
+ },
+ "name": {
+ "description": "Sponsor's display name",
+ "type": "string"
+ },
+ "party": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Political party"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
addedOutput schema / properties / stages
Added value: +{
+ "description": "Legislative stages the bill has passed through",
+ "items": {
+ "properties": {
+ "date": {
+ "anyOf": [
+ {
+ "format": "date",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Date the stage was reached"
+ },
+ "house": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "House where stage occurred"
+ },
+ "is_current": {
+ "default": false,
+ "description": "Whether this is the current stage",
+ "type": "boolean"
+ },
+ "name": {
+ "description": "Stage name, e.g. 'Second Reading'",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
addedOutput schema / properties / summary
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Bill summary text, possibly truncated per max_summary_chars. Check summary_truncated and summary_original_length for full-text info."
+}
addedOutput schema / properties / summary_original_length
Added value: +{
+ "default": 0,
+ "description": "Original summary length in characters before any truncation",
+ "type": "integer"
+}
addedOutput schema / properties / summary_truncated
Added value: +{
+ "default": false,
+ "description": "True if summary was cut to fit max_summary_chars",
+ "type": "boolean"
+}
addedOutput schema / properties / url
Added value: +{
+ "description": "Parliament URL for this bill",
+ "type": "string"
+}
changedOutput schema / required
Previous value: -[
- "result"
-]New value: +[
+ "id",
+ "short_title",
+ "url"
+]
removedOutput schema / x-fastmcp-wrap-result
Removed value: -true