Get Members by State - Current or historical representatives from a specific state
get_members_by_stateRetrieve congressional members by two-letter state code, with options to show current members only and limit returned results.
Instructions
Get members of Congress from a specific state.
Args:
ctx: Context for API requests
state_code: Two-letter state code (e.g., 'CA', 'TX', 'NY')
current_member: Whether to only show current members (defaults to True)
limit: Maximum number of members to return
Returns:
List of members from the specified state
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| state_code | Yes | ||
| current_member | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when success is false: the section-9 error envelope | |
| items | No | Results of other kinds (bills, reports, communications, nominations), as returned by Congress.gov | |
| context | Yes | Context about the search or operation performed | |
| members | No | Member results | |
| success | Yes | Whether the operation was successful | |
| summary | Yes | Human-readable summary of the results | |
| item_kind | No | What `items` contains (bill, committee_report, communication, nomination, ...) | |
| operation | Yes | The operation that was performed | |
| committees | No | Committee results | |
| results_count | Yes | Number of items returned (equals the populated list's length) |