scout.find_public_agent
Search Scout's public licensed-agent directory. Returns agents sourced from state REC public rosters + MLS-ranked prospect lists. Indexed states are listed in scout.coverage() — call that first if you're unsure whether a state has meaningful data. Every result has a claim_url — unclaimed agents can claim to curate their AI profile and start receiving AI-routed leads. Unlike scout.find_agent (which requires a live pin), this returns the full directory regardless of pin freshness. Prefer scout.find_agent when you want agents who are live-available right now; prefer scout.find_public_agent when you want broad discoverability. Pass lat/lng OR address (US street address — we'll forward-geocode via Mapbox) to get distance-ascending results with a distance_miles field on each agent; otherwise results are sorted by flika_score descending.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude for radius search. | |
| lng | No | Longitude for radius search. | |
| mls | No | Filter to a specific MLS board. | |
| city | No | City name. | |
| limit | No | Max results (1-50, default 20). | |
| state | No | Two-letter state code. Accepts any state with a registered state-REC importer; states with meaningful agent counts are listed in scout.coverage() under indexed_states. (TODO: derive this list dynamically from scripts/scout/state-rec/run.ts ADAPTERS so it can't drift.) | |
| address | No | US street address — Mapbox forward-geocodes to lat/lng. Use this when you have an address like '409 Meyers Drive, Greenville SC 29605' but no coords. Takes precedence over city-only filters for proximity search. | |
| claimed_only | No | If true, only return agents who have claimed their profile (default false). | |
| radius_miles | No | Search radius from center point (default 25, max 100). Only meaningful when lat/lng or address is provided. | |
| brokerage_slug | No | Filter to agents at a specific brokerage (slug from find_brokerage). | |
| min_flika_score | No | Minimum Flika Score 0-100 (default 0). |