generate_email
Generate a personalized outreach or follow-up email for a specific candidate. Use this after identifying a strong candidate from "get_results" to move them through the pipeline.
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": {
"job_id": "<job_id>",
"candidate_id": "<candidate_id>",
"type": "<type>"
},
"name": "generate_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tone | No | The desired tone of the generated email. | professional |
| type | Yes | Type of email: "invite" for interviews, "rejection" for non-matches, etc. | |
| job_id | Yes | The job ID. | |
| candidate_id | Yes | The specific candidate ID from the results. | |
| custom_message | No | Additional context or instructions to include in the AI-generated email. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| subject | No |