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

Parameters: approve_exchange_request
NameTypeDescription
request_id string required string Exchange id from list_exchange_requests.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "shiftbase_write",
    "arguments": {
      "operation": "approve_exchange_request",
      "arguments": {
        "request_id": "2290"
      }
    }
  }
}

Example response

JSON

{
  "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
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.