Tool reference · Settings and devices
remove_device
Remove Openbook from a phone or Mac
Every userdestructive
POST /v1/actions/remove_device · MCP tool remove_device
Removes Openbook from one of the user’s phones, iPads or Macs, by its ID from my_devices: its Openbook contacts disappear at its next sync, the browser it was set up in is signed out of Openbook pages, and the user gets an email saying so. add_to_device adds it back.
Parameters
| Parameter | Type | Required | Limits |
|---|---|---|---|
device | string | required |
Who can use it
Every user has it. A person’s tool list only includes it when they can use it, and clients like ChatGPT see the same list.
Annotated destructive, so clients like ChatGPT ask the person before calling it.
Errors
Errors carry a stable code and a message written for people. See errors and their status codes.
curl https://api.withopenbook.com/v1/actions/remove_device \
-H "Authorization: Bearer $OPENBOOK_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"device": "f6b1d8e3-2a7c-4d9f-9b5e-4c8a2f6d1b50"
}'{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "remove_device",
"arguments": {
"device": "f6b1d8e3-2a7c-4d9f-9b5e-4c8a2f6d1b50"
}
}
}