add_screening_candidates
Attach parsed CVs to a screening as candidates, ready to be scored. Accepts rows from parse_cvs or flat dicts, returns savedCount and candidates.
Instructions
Attach parsed CVs to a screening as candidates, ready to be scored.
Pass the rows returned by parse_cvs straight through — each
{"identity": {...}, "details": {...}} row is reshaped automatically into
what the backend needs. Already-flat dicts ({firstName, lastName, email,
summary, parsedResumeData, number, location}) also work.
Email is NOT required here — screening scores a CV, it doesn't message
anyone. CVs with no email are kept and given an unroutable placeholder so
they still rank; the response's 'withoutEmail' count tells you how many.
Those rows CANNOT be scheduled later until a real email is added — surface
that number to the user.
Returns {savedCount, skippedEmpty (CVs with no readable content),
withoutEmail, candidates}. After this, call run_screening(role_id).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"role_id": "<role_id>",
"candidates": "<candidates>"
},
"name": "add_screening_candidates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role_id | Yes | ||
| candidates | Yes |