Clear job decisions
clear_jobsUndo the user's decisions on jobs, many in one call: clear a like or dismissal, or un-mark applied.
A job carries two independent pieces of state, and each list clears one without touching the other. status clears a like or dismissal, back to no decision, and keeps the job applied if it was; applied un-marks the job applied, for an application recorded by mistake, and keeps its like or dismissal. A job in both lists has both cleared, so the user is left with no record of it. A job left with neither is no longer left out of later searches. A job with nothing to clear is fine, and a job named twice in one list, by any of its ids, counts once.
Each list is optional, but the call names at least one job and at most 100 across the two lists. Name each job by its id as a row shows it (its first 12 characters), by any unique prefix of 8 or more characters, or by its full id. A posting link is not an id here: get_jobs looks one up.
All or nothing: every id is checked before anything is cleared. If any id names no job, matches several jobs, or isn't a job id, nothing is changed and the error names each bad id, listing a longer id for every job an ambiguous one matches.
Returns, for each list, how many jobs it named and which of them had nothing to clear.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "clear_jobs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Jobs whose like or dismissal to clear, back to no decision. Their applied mark stays. | |
| applied | No | Jobs to un-mark applied, for an application recorded by mistake. Their like or dismissal stays. |