raynet_delete_record
Deletes a Raynet CRM record (lead, businessCase, company, person) after confirmation. Returns an error if linked data blocks deletion.
Instructions
Deletes a record from Raynet CRM (lead, businessCase, company, person). If the record is linked to other data, Raynet will return an error stating what is blocking the deletion.
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": {
"entity": "<entity>",
"record_id": "<record_id>"
},
"name": "raynet_delete_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | Type of record to delete | |
| record_id | Yes | ID of the record to delete | |
| confirmation | No | Exact record identifier confirming deletion. Call without it first to receive the required phrase, then call again with it. |