analyze_legislator
Retrieve a comprehensive legislator profile including personal info, all sponsored bills, and career statistics in a single call.
Instructions
국회의원 종합 프로필을 한 번에 조회합니다 (체인 도구).
One-shot legislator profile: member info + all sponsored bills + career statistics. Internally chains get_member_info and search_bills.
When to use: • When you need a complete picture of one legislator's activity in one call. • Instead of calling get_member_info + search_bills(proposer=name) separately.
Note: Fetches up to 500 sponsored bills (5 pages of 100). For very prolific legislators total_count will be correct, but all[] may be truncated at 500.
Args: name: 의원 한글명 — 필수 (예: "이준석", "홍길동") If multiple members share the name, the first result is used and all matches are listed in member_all_matches. assembly: 대수 (기본값: "22", "16"-"22" 지원)
Returns: member: 의원 정보 dict (정당, 선거구, 위원회, 사진 등) member_all_matches: 동명이인이 있을 때 전체 목록 bills: - total: 전체 발의 건수 (API 기준) - retrieved: 실제 가져온 건수 (최대 500) - by_result: 처리결과별 건수 {원안가결: N, 계류: N, ...} - by_committee: 소관위원회별 건수 - by_year: 발의 연도별 건수 - recent: 최근 발의 5건 - all: 전체 발의 법안 목록 (최대 500건) errors: 서브 호출별 에러 (없으면 빈 dict) message: 요약 메시지
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| assembly | No | 22 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||