Tool reference · Settings and devices

my_devices

List your phones and Macs

Every userread-only

POST /v1/actions/my_devices · MCP tool my_devices

Lists each phone, iPad or Mac the user added Openbook to and hasn’t removed, with its ID, its kind, when it last synced and added_through, how it was added: scan, from a code they scanned, or setup, from the setup steps, like their Devices page or add_to_device. For an iPhone or iPad, banners_in_contacts says whether Banners in Contacts is on there, and inactive whether it’s inactive: the user keeps one iPhone or iPad added through a scan active, and one added through a scan after it is inactive, its Contacts showing only a group that says to remove the profile, until update_device’s active makes it the one, or the active one is removed or hasn’t synced in 3 days. Devices added through the setup steps have no limit. update_device changes both, and remove_device takes one off.

View as Markdown

Parameters

None. Send an empty JSON object, {}.

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/my_devices \
  -H "Authorization: Bearer $OPENBOOK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "my_devices",
    "arguments": {}
  }
}