Apply an AI variant
apply_message_variantReplaces the person's messages with that variant (free); result_id and expected_result_revision from get_outreach_lead. [REST: POST /api/tasks/{id}/outreach/leads/{cid}/candidates/{candidate_id}/apply]
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": {
"task_id": "<task_id>",
"cid": "<cid>",
"candidate_id": "<candidate_id>"
},
"name": "apply_message_variant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cid | Yes | The person's id (cid) from list_leads. | |
| task_id | Yes | The search id (task id), e.g. from list_searches or create_search. | |
| result_id | No | ||
| candidate_id | Yes | ||
| expected_result_revision | No |