search_petitions
Search Korean National Assembly petitions by assembly, keyword, and status. Retrieve petition metadata including title, proposer, committee, and current status for pending or closed petitions.
Instructions
국회 청원 목록을 조회합니다.
Query petition records from the National Assembly: pending petitions (계류 청원) or all petitions including closed ones (접수 목록).
Petitions (청원) are formal citizen requests submitted through National Assembly members. This tool returns petition metadata — title, proposer, assembly, committee, status.
Note: Full petition text is not available through the Open API. This tool returns petition records/status, not the content of individual petitions. For research on citizen engagement and petition outcomes, the status and committee routing data returned here is typically sufficient.
Parameter names are based on the API pattern and hollobit/assembly-api-mcp source. If keyword filtering does not return expected results, use query_assembly directly: discover_apis(keyword="청원") → query_assembly(endpoint_code="PTTRCP", params={...})
Args: assembly: 대수 — 필수 (예: "22") keyword: 청원 제목 키워드 (선택, 예: "교육", "환경") include_closed: True이면 처리 완료 청원까지 포함 (PTTRCP 엔드포인트 사용). False이면 계류 중인 청원만 반환 (기본값, nvqbafvaajdiqhehi 사용). page: 페이지 번호 (기본값: 1) page_size: 페이지당 결과수 (기본값: 10)
Returns: petitions: 청원 목록 endpoint_used: 실제 호출된 엔드포인트 코드 count: 이번 페이지 반환 건수 total_count: 전체 건수 has_more: True이면 page+1로 재호출 raw_response: 비표준 응답 형식일 때 전체 JSON
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| keyword | No | ||
| assembly | Yes | ||
| page_size | No | ||
| include_closed | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||