Set Client Partner Plan
agency_billing_set_planPuts a partner-created client on an agency-billed plan, or stops it when plan is null. Requires the agency owner who is also a client admin; starting a plan needs accepted terms and a ready collection method. Stopping parks the client service, which detaches its phone numbers from the voice agent under the existing parking policy.
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": {
"partnerId": "<partnerId>",
"businessId": "<businessId>",
"plan": "<plan>"
},
"name": "agency_billing_set_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | A partner plan key, or null to stop the client plan. | |
| partnerId | Yes | The agency (partner) workspace ID. | |
| businessId | Yes | The partner-created client business. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when success is false | |
| receipt | No | ||
| success | Yes | Whether the tool completed successfully |