Enrol a customer in a maintenance plan
enrol_service_agreementEnrol a customer in a maintenance plan: starts their billing enrolment and schedules visits from the start date (each visit becomes a job to schedule ahead of its date). Reuse the request ID when retrying.
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": {
"site_id": "<site_id>",
"requestId": "<requestId>",
"planId": "<planId>",
"contactId": "<contactId>",
"startsOn": "<startsOn>"
},
"name": "enrol_service_agreement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endsOn | No | ||
| planId | Yes | ||
| address | No | ||
| site_id | Yes | ||
| startsOn | Yes | ||
| contactId | Yes | ||
| requestId | Yes | ||
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| locationId | No | ||
| preferredStaffId | No | ||
| amountOverrideMinor | No |