Restore Time Off
restore_time_offPuts back a time-off request the signed-in person withdrew, exactly as it was: the undo for withdrawing it. A pending request goes back to its approvers. Approved leave the person cancelled can be put back only within a few minutes; after that, or when a manager or HR cancelled it, the request has to be filed again.
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": {
"requestId": "<requestId>"
},
"name": "restore_time_off"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | No | Not needed when signed in: these tools act for the signed-in person, and any other ID is refused. Applies only to a workspace connection with no signed-in user, naming whose time off this is. | |
| requestId | Yes | The time-off request id, as a time-off read or a filed request gave it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| restored | No | ||
| requestId | No |