Get timesheets
get_timesheetsWorked shifts between two dates with clock in and out times, hours worked, breaks, jobs and tasks, and each person's totals. Hours are before any rounding the company's payroll export applies. Ongoing shifts are listed without hours. Use for payroll checks, overtime and "how many hours did X work".
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": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "get_timesheets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | Last day (included), YYYY-MM-DD | |
| group_id | No | Only the people in this group and its sub-groups (an id from list_groups) | |
| person_ids | No | Only these people (ids from list_people). Leave out for everyone you can see. | |
| start_date | Yes | First day, YYYY-MM-DD, in the company's timezone | |
| totals_only | No | Only each person's totals, not every shift. Default false. |