Withdraw Time Off
withdraw_time_offWithdraws one of the signed-in person's own time-off requests: a pending request leaves the approvers' queue, and approved leave that has not started is cancelled. Leave already under way, or leave HR recorded, is refused with the reason. The prior state is kept, so the result carries the call that puts it back. Handles "cancel my Friday off".
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": "withdraw_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 |
|---|---|---|---|
| undo | No | The call that reverses this one, with its arguments. | |
| status | No | ||
| requestId | No | ||
| withdrawn | No | ||
| previousStatus | No |