update_spiff
Update only supplied SPIFF fields such as bonus amount, criteria, eligibility, dates, or status; pause active SPIFFs, adjust payouts, or extend end dates. Completed SPIFFs cannot be updated.
Instructions
Update an existing SPIFF. Only provided fields will be changed. Can update name, description, bonus amount, criteria, caps, eligibility, dates, and status. Use to pause an active SPIFF (set status to 'paused'), adjust bonus amounts, or extend end dates. Cannot update completed SPIFFs (status: 'completed').
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": {
"id": "<id>"
},
"name": "update_spiff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The unique SPIFF ID to update. | |
| caps | No | Updated payout caps JSON object. | |
| name | No | Updated SPIFF name. | |
| status | No | Updated status. Set to 'paused' to temporarily suspend the SPIFF. | |
| criteria | No | Updated qualifying criteria JSON object. | |
| end_date | No | Updated end date in ISO 8601 format (YYYY-MM-DD). Must be after start_date. | |
| bonus_type | No | Updated bonus type. | |
| start_date | No | Updated start date in ISO 8601 format (YYYY-MM-DD). | |
| description | No | Updated description. | |
| eligibility | No | Updated eligibility rules JSON object. | |
| bonus_amount | No | Updated bonus amount in dollars. |