Decline shift exchange
Decline an accepted shift exchange.
MCP tool shiftbase_write → decline_exchange_request
write Confirm
Rejects the exchange and leaves the shift with its original owner. Both employees are notified. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| request_id string required | string | Exchange id from list_exchange_requests. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "shiftbase_write",
"arguments": {
"operation": "decline_exchange_request",
"arguments": {
"request_id": "request_8c41d2"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"request_id": "2291",
"status": "declined"
},
"isError": false
}