Create a maintenance plan
create_service_planCreate a maintenance plan from an existing recurring dues plan (the billing) and job type (the visit), with the number of visits per month, quarter or year. 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>",
"name": "<name>",
"duesPlanId": "<duesPlanId>",
"jobTypeId": "<jobTypeId>",
"visitsPerCycle": "<visitsPerCycle>",
"cycle": "<cycle>"
},
"name": "create_service_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| cycle | Yes | ||
| site_id | Yes | ||
| leadDays | No | ||
| jobTypeId | 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. | |
| duesPlanId | Yes | ||
| visitsPerCycle | Yes |