campaigns_update
Update ServiceTitan campaign details, including name, status, source, medium, phone numbers, and business unit, using specified ID and tenant information.
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>",
"tenant": "<tenant>"
},
"name": "campaigns_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | No | Is Campaign Active? | |
| businessUnit | No | Business Unit | |
| campaignPhoneNumbers | No | Campaign Phone Numbers | |
| id | Yes | Format - int64. Campaign ID | |
| medium | No | Campaign Medium | |
| name | No | Campaign Name | |
| otherMedium | No | Other Campaign Medium | |
| otherSource | No | Other Campaign Source | |
| source | No | Campaign Source | |
| tenant | Yes | Format - int64. Tenant ID |