Allow or stop online booking for a client

Ticks or clears "Empêcher ce client de prendre RDV en ligne" on a client record.

MCP tool planity_write → set_client_online_booking

write Confirm

Returns the client with the new setting. Planity names this option for clients who miss appointments. It governs online booking and leaves the record and its appointments as they are. It decides whether a person can book, so each call asks for your OK. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: set_client_online_booking
NameTypeDescription
client_id string required string Id from list_clients.
allowed boolean required boolean false stops the client booking on Planity online, true lets them book again.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "planity_write",
    "arguments": {
      "operation": "set_client_online_booking",
      "arguments": {
        "client_id": "c_1042",
        "allowed": false
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "client_id": "c_1042",
    "name": "Léa Martin",
    "online_booking_allowed": false
  },
  "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.