search_bills
Search for member-sponsored bills in the Korean National Assembly by assembly, keyword, proposer, committee, or result. Returns bill IDs and details for further actions.
Instructions
국회의원 발의법률안을 검색합니다 (의원발의안 전용; 정부제출안은 별도).
Search for member-sponsored bills in the National Assembly. This is the PRIMARY entry point for most bill-related queries.
IMPORTANT -- two bill identifiers are returned:
BILL_NO: 7-digit public number (e.g., "2216983") -- use with get_bill_detail, get_bill_review
BILL_ID: internal ID starting with "PRC_..." -- use with get_bill_proposers, get_member_votes, get_bill_committee_review
Typical workflow:
search_bills -> get list of bills with both BILL_NO and BILL_ID
get_bill_proposers(bill_id=BILL_ID) -> co-sponsors
get_member_votes(bill_id=BILL_ID, assembly=assembly) -> per-member vote records
get_bill_review(assembly=assembly, bill_no=BILL_NO) -> committee/plenary timeline
Note: covers member-initiated bills only. Does not include government-submitted bills. Date filtering (propose_dt_from/propose_dt_to) is applied client-side because the underlying API does not support it natively. When date filters are used with other filters (bill_name, committee, etc.), performance is good. Date-only queries on a full assembly may be slow (scans up to 2,000 results).
For bill propose-reason texts (제안이유), use the korean-assembly-bills package (pip install korean-assembly-bills). 60,925 texts with 99.4% coverage (20th-22nd).
Args: assembly: 대수 -- 필수 (예: "22" = 22대 국회, "16"-"22" 지원) bill_name: 법률안명 키워드 (선택, 예: "인공지능", "주거") proposer: 대표발의자명 (선택, 예: "홍길동") proc_result: 처리결과 필터 (선택) -- "원안가결" | "수정가결" | "부결" | "폐기" committee: 소관위원회명 (선택, 예: "법제사법위원회") propose_dt_from: 발의일 시작 (선택, 예: "2025-01-01") -- 클라이언트 사이드 필터링 propose_dt_to: 발의일 종료 (선택, 예: "2025-12-31") -- 클라이언트 사이드 필터링 page: 페이지 번호 (기본값: 1) page_size: 페이지당 결과수 (기본값: 10, 최대: 100)
Returns: bills: 법률안 목록 -- 각 항목에 BILL_ID, BILL_NO, BILL_NAME, RST_PROPOSER, PROPOSE_DT, PROC_RESULT, COMMITTEE, DETAIL_LINK 포함 count: 이번 페이지 반환 건수 total_count: 검색 조건 전체 건수 has_more: True이면 page+1로 재호출하여 추가 결과 조회 가능
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| assembly | Yes | ||
| proposer | No | ||
| bill_name | No | ||
| committee | No | ||
| page_size | No | ||
| proc_result | No | ||
| propose_dt_to | No | ||
| propose_dt_from | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||