legislation_text
Text of an Act or instrument, or one section, from its legislation.gov.uk URL. (cost: 2 credits)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "legislation_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | string, required | |
| section | No | string e.g. 3 | |
| maxChars | No | number |