# move_to_organization

**Move a group of your own into an organization**

Owners · destructive

Moves one of the groups in your own directory into a directory of an organization you own (to, a directory ID from [`my_access`](https://withopenbook.com/docs/tools/my_access)), with its contacts, its reminders, events and notes, access, invites and settings, so the organization’s owners run it from then on and its limits apply. A contact that’s also in another of your groups stays there too and goes as a copy. By Request stays with you. Confirm with the user first.

## Parameters

| Parameter | Type | Required | Limits |
|---|---|---|---|
| `group` | `string` | required |  |
| `to` | `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/move_to_organization \
  -H "Authorization: Bearer $OPENBOOK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "group": "a1c4e7f0-2b5d-4c8e-9f1a-3b6d9e2c5f80",
  "to": "0b8e2f4a-6c1d-4e7b-9a3f-5d2c8e1b7f60"
}'
```

MCP:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "move_to_organization",
    "arguments": {
      "group": "a1c4e7f0-2b5d-4c8e-9f1a-3b6d9e2c5f80",
      "to": "0b8e2f4a-6c1d-4e7b-9a3f-5d2c8e1b7f60"
    }
  }
}
```

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