update_company
Update a CallRail company's mutable settings by sending only explicit fields; omitted values remain unchanged, and boolean toggles override current state.
Instructions
Update mutable settings on a company. Pass None to leave a field unchanged; only fields with explicit values are sent in the PUT body.
CRITICAL: Any boolean toggle you set will OVERRIDE current state.
If a company has CallScribe enabled and you call
update_company(name='New Name') without passing
callscribe_enabled, CallScribe stays on. But passing
callscribe_enabled=False will DISABLE CallScribe (a paid
feature). Be deliberate with bool args.
Empty-string name / time_zone are rejected (almost always a
mistake; pass None to leave them alone).
Args:
company_id: 'COM...' id.
name: New display name. Empty string rejected. Max 255 chars.
time_zone: IANA tz string (e.g. 'America/New_York').
callscore_enabled: CallScore AI lead scoring. PAID add-on.
lead_scoring_enabled: NOT settable via the API (read-only field);
passing it returns an error. Toggle it in the CallRail UI.
swap_exclude_jquery: Deprecated by CallRail, has no effect. Not
sent; reported under api_warnings in the response.
callscribe_enabled: Conversation Intelligence (transcripts +
call highlights). PAID feature.
keyword_spotting_enabled: Deprecated by CallRail, has no effect.
Not sent; reported under api_warnings in the response.
form_capture: Enable CallRail Form Tracking on this company.
Sent as CallRail's external_form_capture PUT field.
swap_ppc_override: Override the original source when a visitor
arrives via PPC.
swap_landing_override: Landing-page URL parameter (for example
'utm_source') that overrides the original source. Pass "" to
turn the override off (sent as null).
swap_cookie_duration: Visitor cookie lifetime, with
swap_cookie_duration_unit ('months' | 'weeks' | 'days').
CallRail caps it at 6 months.
account_id: CallRail account ID. Auto-resolves if omitted.
Returns:
JSON string with the updated company object, plus api_warnings
when a deprecated no-op field was dropped.
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": {
"company_id": "<company_id>"
},
"name": "update_company"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| time_zone | No | ||
| account_id | No | ||
| company_id | Yes | ||
| form_capture | No | ||
| callscore_enabled | No | ||
| swap_ppc_override | No | ||
| callscribe_enabled | No | ||
| swap_exclude_jquery | No | ||
| lead_scoring_enabled | No | ||
| swap_cookie_duration | No | ||
| swap_landing_override | No | ||
| keyword_spotting_enabled | No | ||
| swap_cookie_duration_unit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |