Complete a job (record actuals)
job_completeClose out a job by recording actual hours, crew size, materials, fuel, and revenue; computes wages, costs, profit, margin, and verdict for P&L tracking.
Instructions
Close out a job with real numbers: hours, crew size, materials, fuel. Computes wages from the loaded crew rate, total cost, profit, margin, and a verdict — then feeds the per-job P&L. Follow with pricing_record_outcome to teach the quoting engine, and invoice_create to get paid.
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": {
"jobId": "<jobId>",
"hoursWorked": "<hoursWorked>",
"crewSize": "<crewSize>",
"materials": "<materials>",
"fuel": "<fuel>",
"revenue": "<revenue>"
},
"name": "job_complete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fuel | Yes | ||
| jobId | Yes | ||
| revenue | Yes | Job revenue before GST (usually the quote subtotal) | |
| crewSize | Yes | ||
| materials | Yes | ||
| hoursWorked | Yes |