# update_device

**Change a phone’s settings**

Every user · destructive

Changes a setting of one of the user’s own iPhones or iPads, by its ID from [`my_devices`](https://withopenbook.com/docs/tools/my_devices), as their Devices page does, then answers with the device as [`my_devices`](https://withopenbook.com/docs/tools/my_devices) lists it. banners_in_contacts is Banners in Contacts: whether Openbook may pin a short series of cards to the top of Contacts on that device, only when something calls for it, like sending their contacts to Openbook. Off takes them off at its next sync; on lets them show again, a banner dismissed there staying dismissed. Each device has its own, and none on a Mac or an Android phone. active is Use this iPhone: an inactive iPhone or iPad, one added through a scan, becomes the one that shows the user’s groups, and the one that did goes inactive, each at its next sync.

## Parameters

| Parameter | Type | Required | Limits | What |
|---|---|---|---|---|
| `device` | `string` | required |  | The iPhone’s or iPad’s ID, from [`my_devices`](https://withopenbook.com/docs/tools/my_devices). |
| `banners_in_contacts` | `boolean` | optional |  | true lets Openbook’s banners show at the top of Contacts on it, as every iPhone and iPad starts; false takes them off. |
| `active` | `true` | optional |  | true makes this inactive iPhone or iPad the one added through a scan that shows the user’s groups, and the other inactive. Only one that’s inactive takes it. |

## 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](https://withopenbook.com/docs/api#errors).

HTTP:

```bash
curl https://api.withopenbook.com/v1/actions/update_device \
  -H "Authorization: Bearer $OPENBOOK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "device": "f6b1d8e3-2a7c-4d9f-9b5e-4c8a2f6d1b50",
  "banners_in_contacts": false
}'
```

MCP:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_device",
    "arguments": {
      "device": "f6b1d8e3-2a7c-4d9f-9b5e-4c8a2f6d1b50",
      "banners_in_contacts": false
    }
  }
}
```

> IDs are made up. Get real ones from `my_access` and `search_contacts`, and send the person’s own OAuth token.
