prime_create_allocation
Create a new work allocation for a job using required job, status, type, number, and label fields.
Instructions
Create a new work allocation for a job. Requires job_id, allocation_status_id, allocation_type, allocation_number, and label.
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": {
"job_id": "<job_id>",
"allocation_status_id": "<allocation_status_id>",
"allocation_type": "<allocation_type>",
"allocation_number": "<allocation_number>",
"label": "<label>"
},
"name": "prime_create_allocation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Allocation label/title | |
| limit | No | Budget limit for this allocation | |
| job_id | Yes | The job ID this allocation belongs to | |
| completed | No | Date/time allocation was completed | |
| assigned_id | No | Assigned internal user ID | |
| description | No | Allocation description | |
| site_attended | No | Date/time site was attended | |
| allocation_type | Yes | Type of allocation | |
| allocation_number | Yes | Allocation number/reference | |
| assigned_contact_id | No | Assigned contractor/supplier contact ID | |
| allocation_status_id | Yes | Initial allocation status ID | |
| first_customer_contact_at | No | Date/time of first customer contact |