get_leads
Fetch collected hospital and clinic leads from a job or CSV, filter by status, and limit results to only the records you need.
Instructions
수집 결과를 읽는다. 레코드 전체가 아니라 필요한 만큼만 돌려준다.
엑셀 파일(.xlsx)은 수집이 끝나면 CSV와 나란히 자동 생성된다. 병원명·위치· 전화번호·WhatsApp 링크·상태·근거 여섯 컬럼이며 연락 가능한 곳만 담는다.
Args: job_id: start_collection이 준 작업 id. csv_path 대신 쓸 수 있다. csv_path: 결과 CSV 경로. 이전 세션의 결과를 읽을 때 쓴다. status: 'confirmed'(업체가 선언한 확정 번호) / 'candidate'(모바일 번호 추측) / 'unlikely'. 비우면 전부. limit: 최대 반환 건수.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| job_id | No | ||
| status | No | ||
| csv_path | No |