search_candidates
Search for candidates in the eHR application list by stage, email, phone, or movement time, with customizable ordering and result limits.
Instructions
按条件搜索候选人(eHR 申请列表)。
对应 Moka 接口:GET /data/ehrApplications(v1)
参数说明:
stage:阶段筛选,offer=Offer 阶段 / pending_checkin=待入职 / all=两者。
email / phone:按邮箱或手机号精确筛选。
moved_at_start_time / moved_at_end_time:进入当前阶段的时间范围。
order:DESC(默认,从新到旧)/ ASC。
limit:返回条数上限(Moka 单页最大 20,这里支持跨页累计上限)。
注意:stage 与 applicationId 至少需要一个定位条件;按 stage 查询且该 阶段当前没有候选人时,Moka 会返回 500,本工具会将其作为「空结果」处理。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stage | No | ||
| No | |||
| phone | No | ||
| moved_at_start_time | No | ||
| moved_at_end_time | No | ||
| order | No | DESC | |
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||