prime_update_allocation
Updates an existing allocation by ID using the current version for optimistic locking, allowing changes to label, limit, status, contacts, and attendance details.
Instructions
Update an allocation. Requires allocation_id and version for optimistic locking.
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": {
"allocation_id": "<allocation_id>",
"version": "<version>"
},
"name": "prime_update_allocation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| limit | No | Currency amount (must be >= 0) | |
| version | Yes | Current version for optimistic locking | |
| completed | No | ||
| assigned_id | No | ||
| description | No | ||
| allocation_id | Yes | The allocation ID to update | |
| site_attended | No | ||
| assigned_contact_id | No | ||
| allocation_status_id | No | ||
| first_customer_contact_at | No |