Approve shift exchange
Approve an accepted shift exchange.
MCP tool shiftbase_write → approve_exchange_request
write Confirm
Moves the shift to the colleague who accepted it and returns the shift with its new owner. Your role needs the Approve exchanges permission. 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": "approve_exchange_request",
"arguments": {
"request_id": "2290"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"request_id": "2290",
"status": "approved",
"shift": {
"id": "90421",
"date": "2026-10-25",
"start": "16:00",
"end": "23:00",
"employee": "Sam Okafor"
}
},
"isError": false
}