ats_search
Search globally across candidates, jobs, interviews, and offers using keywords, structured filters, or direct entity lookup.
Instructions
Global search across the ATS. Actions: search (keyword search across candidates, jobs, interviews, offers — scoped optionally), filter_candidates (structured filter by stage/job/tags/score), get_entity (retrieve a single entity by type+id). Pass the full ATS state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | Full ATS state: { candidates: Record<id, obj>, jobs: Record<id, obj>, interviews: Record<id, obj>, offers: Record<id, obj> } | |
| action | Yes | Action: "search" (query, scope?, limit?), "filter_candidates" (filters: {stage?, jobId?, tags?, minScore?}), "get_entity" (entityType, entityId). |