Set Candidate Criteria
set_criteriaUse this to save the user's job search criteria; each call overwrites all saved criteria, and the earlier ones are lost. Best for: the first setup, which starts the user's private desk, or a change of role, skills, salary floor or remote policy. Input tips: send target_role, skills, salary_floor in whole US dollars and remote_policy, plus optional dealbreakers; to change one field, send every field again with the change. Ask the user for any missing required field before calling. Returns status saved, the cleaned criteria and the retention note. A client that sends no user id gets status not_saved: nothing is stored, and the returned criteria go to score_message as its criteria argument. Past evaluations and the scoreboard are kept. Not for scoring a pitch; use score_message.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"skills": [
"Go",
"PostgreSQL"
],
"target_role": "Backend engineer",
"salary_floor": 150000,
"remote_policy": "100% remote"
},
"name": "set_criteria"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skills | Yes | Core skills, 1 to 30, such as ["TypeScript", "Go"]. | |
| target_role | Yes | Target job title, such as "Staff Distributed Systems Engineer". | |
| dealbreakers | No | Optional, up to 20: constraints that rule out a pitch, such as ["Onsite required", "Legacy Java"]. Omit it or send [] for none. | |
| salary_floor | Yes | Minimum yearly base salary in whole US dollars, 0 to 10000000, such as 210000. Use 0 for no floor. | |
| remote_policy | Yes | Wanted work arrangement, such as "100% remote", "hybrid 1 day" or "any". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes | Day of the call, as YYYY-MM-DD in UTC. | |
| skills | Yes | Core skills. | |
| source | Yes | Where the data comes from: the user's own private desk. | |
| status | Yes | saved: the criteria replaced any earlier criteria on the user's desk. not_saved: the client sends no user id (no ChatGPT sign-in and no OAuth connection), so nothing was stored; pass the criteria to score_message. | |
| target_role | Yes | Target role, with contact details removed. | |
| dealbreakers | Yes | Dealbreakers; empty when none were given. | |
| salary_floor | Yes | Minimum yearly base salary in US dollars. | |
| remote_policy | Yes | Work arrangement. | |
| retention_note | Yes | How long evaluations and the desk are kept, or, with not_saved, what to do next. |