Link or unlink a contact and a job
link_contact_to_jobSay this person is part of a job (or, with unlink, no longer is). An archived contact takes no new link (409): ask the user, restore it with archive_contact (restore: true), then link it.
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": {
"id": "<id>",
"jobId": "<jobId>"
},
"name": "link_contact_to_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Contact id. | |
| jobId | Yes | Job id (UUID from list_jobs). | |
| unlink | No | True to remove the link instead. |