update_enquiry_source
Change an enquiry source. Same fields as create_enquiry_source, plus active (false switches it off without losing what it already brought in).
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": {
"source_id": "<source_id>"
},
"name": "update_enquiry_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the enquiry source | |
| active | No | Whether the entry is active | |
| format | No | Mail reader: labelled 'Field: value' lines or the Schadstoffanalyse reader | |
| portal | No | Portal key, e.g. ofri, renovero, localch, schadstoffanalyse or other | |
| source_id | Yes | ID of the source to change | |
| campaign_id | No | ID of the campaign | |
| cost_amount | No | Fixed cost per enquiry | |
| cost_pattern | No | Regex with one group holding the cost amount in the mail | |
| from_pattern | No | Substring of the sender address that identifies this source | |
| cost_currency | No | Currency of the cost, default CHF | |
| subject_pattern | No | Substring of the subject that identifies this source |