get_public_law_text
Fetch a U.S. Public Law package from GovInfo by Congress and law number, returning a summary and optional truncated plain text for legal research.
Instructions
Fetch a Public Law package from GovInfo (summary + optional truncated plain text). Example: congress=119, lawNumber=27 returns the GENIUS Act.
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": {
"congress": "<congress>",
"lawNumber": "<lawNumber>"
},
"name": "get_public_law_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| congress | Yes | Congress that enacted the law (e.g., 119). | |
| maxChars | No | Truncation length for inline text (default 20000). | |
| lawNumber | Yes | Public law number within that Congress (e.g., 27 for 119-27). | |
| includeText | No | Whether to also fetch and include the law text (truncated). Default true. |