Log hours on a job card
job_card_log_laborLog hours worked on a job card: who did the work, the day, the hours and the hourly rate in whole cents, with a note on what was done. The line value is hours times rate, rounded half-up to the cent, fixed the moment it is logged.
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": {
"card": "<card>",
"worker": "<worker>",
"date": "<date>",
"hours": "<hours>",
"rate_cents": "<rate_cents>"
},
"name": "job_card_log_labor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | Yes | The job card id, e.g. JC-2026-0003, or the client name when only one card has it | |
| date | Yes | The day the work was done, YYYY-MM-DD. A future date is refused | |
| note | No | What was done, e.g. First fix, kitchen ring main | |
| hours | Yes | Hours worked, to the hundredth, e.g. 7.5 or 3.25. One entry is one worker's day at most | |
| worker | Yes | Who did the work, e.g. Anna | |
| rate_cents | Yes | The hourly rate in whole cents. 4500 is 45.00 an hour |