Set Milestone Commission
set_milestone_commissionEnter (or clear) the commission paid at one milestone — this drives income reporting. The amount is the installment paid AT THIS MILESTONE, not the deal's total: a deal's income is the SUM of its milestones, so repeating the total on each one multiplies it. Put a single payment on the milestone where it arrives (usually closing or a commission event); split an installment deal across its milestones. Defaults to crediting you; pass broker_id to credit a co-broker who also participates (splits = one call per broker). Pass amount: null to clear. If the result carries possible_duplicate, relay its note and ask the user before doing anything else. Enforces deal participation for both you and the credited broker. Confirm the amount with the user first.
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": {
"milestone_id": "<milestone_id>",
"amount": "<amount>"
},
"name": "set_milestone_commission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | The installment paid to the credited broker AT THIS MILESTONE (no currency symbol) — never the deal's total commission repeated on each milestone. A deal paid in two installments gets two calls, one per commission event, each with its half. Pass null to clear it. | |
| broker_id | No | Credit another broker instead of yourself. That broker must also participate in the deal. Defaults to you. | |
| percentage | No | Optional commission percentage to store alongside the amount. | |
| milestone_id | Yes | The milestone id (from list_milestones_for_deal) at which this payment is made — usually a closing or commission-event milestone, rarely an effective date, inspection or extension. |