get_congress
Retrieve detailed information about US Congress sessions, including legislation and activities, directly from the official Congress.gov API.
Instructions
Retrieve congress information from the Congress.gov API. Full documentation for this endpoint -> https://github.com/LibraryOfCongress/api.congress.gov/blob/main/Documentation/CongressEndpoint.md
Args: congress: Specific congress number (e.g., 118 for 118th Congress) or None for all offset: Starting record (default 0) limit: Maximum records to return (max 250, default 20)
Returns: dict: Congress data from Congress.gov API
Input Schema
Name | Required | Description | Default |
---|---|---|---|
congress | No | ||
limit | No | ||
offset | No |