# review_adds

**Approve adds of numbers already in the directory**

Owners · destructive

For owners: approves or declines an add of a mobile number the directory already has, which waits for an owner instead of making a second contact, by its contact and group from [`waiting_adds`](https://withopenbook.com/docs/tools/waiting_adds). approve puts the existing contact in that group; decline leaves it out of it, and the add is gone.

## Parameters

| Parameter | Type | Required | Limits |
|---|---|---|---|
| `action` | `"approve" \| "decline"` | required |  |
| `contact` | `string` | required |  |
| `group` | `string` | required |  |

## Who can use it

Owners of an organization have it, and each call is checked against which organizations they own. 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/review_adds \
  -H "Authorization: Bearer $OPENBOOK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "approve",
  "contact": "5e8b2d4f-7a1c-4e9b-8d3f-6c2a9e1b4d70",
  "group": "a1c4e7f0-2b5d-4c8e-9f1a-3b6d9e2c5f80"
}'
```

MCP:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "review_adds",
    "arguments": {
      "action": "approve",
      "contact": "5e8b2d4f-7a1c-4e9b-8d3f-6c2a9e1b4d70",
      "group": "a1c4e7f0-2b5d-4c8e-9f1a-3b6d9e2c5f80"
    }
  }
}
```

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