Tool reference · Settings and devices
add_to_device
Get a link to add Openbook to a phone or Mac
Every userread-only
POST /v1/actions/add_to_device · MCP tool add_to_device
Gives the user a link to open on the iPhone, iPad, Android phone or Mac they’re adding, whose setup steps put their Openbook contacts in its Contacts. Calling it changes nothing: the link’s page asks them to sign in there first, so it only ever adds a device to their own account, and my_devices lists the ones they added.
Parameters
| Parameter | Type | Required | Limits | What |
|---|---|---|---|---|
platform | "iphone" | "android" | "mac" | required | iphone for an iPhone or iPad, android for an Android phone, mac for a Mac. |
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 read-only, so clients like ChatGPT can call it without asking.
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/add_to_device \
-H "Authorization: Bearer $OPENBOOK_TOKEN" \
-H "Content-Type: application/json" \
-d '{"platform":"iphone"}'{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "add_to_device",
"arguments": {
"platform": "iphone"
}
}
}