cor_change_hours_status
Update the status of a time entry to approved, rejected, or pending. Specify the time entry ID and new status to modify its workflow state.
Instructions
Change the status of a time entry.
Args: hours_id: The time entry ID status: New status (e.g. "approved", "rejected", "pending")
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": {
"hours_id": "<hours_id>",
"status": "<status>"
},
"name": "cor_change_hours_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| hours_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |