Delete TXT record
delete_txt_recordDelete one TXT record you added (record_id from list_txt_records); returns it with state removed. Only records you added can be deleted; anything else is not_found. txt_record_changed means the record was edited outside Mailrun and nothing was deleted. You can re-add a record with add_txt_record.
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": {
"domain": "<domain>",
"record_id": "<record_id>"
},
"name": "delete_txt_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Root domain as returned by list_domains. | |
| record_id | Yes | Record id from list_txt_records. |