get_ehour_approval
Timesheet approval state of a user for the weekly or monthly approval period containing a date (GET /api/v1/users/{userId}/approvals?date=…). Returns NOT_REQUESTED with the period boundaries if nothing was submitted. Required: user_id, date (YYYY-MM-DD). Read-only.
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": {
"user_id": "<user_id>",
"date": "<date>"
},
"name": "get_ehour_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | YYYY-MM-DD | |
| user_id | Yes | ID of the user |