# Update account

Tool: `veryfront__update_account`

Change an account's name or slug. Requires account.settings.manage.

## Arguments

| Name         | Type                                   | Required | Description                                                                             |
| ------------ | -------------------------------------- | -------- | --------------------------------------------------------------------------------------- |
| `name`       | string · min length 1 · max length 100 |          | New account name. Omitted, the current name remains unchanged.                          |
| `slug`       | string · max length 63                 |          | New account slug. Omitted, the current slug remains unchanged; a duplicate returns 409. |
| `account_id` | string · uuid                          | Yes      | Account ID.                                                                             |

## Responses

| Status | Description                                           |
| ------ | ----------------------------------------------------- |
| 200    | The tool ran; its output is result.structuredContent. |

## Call it

```bash
curl -X POST -N "https://api.veryfront.com/mcp" \
  -H "Authorization: Bearer $VERYFRONT_API_KEY" \
  -H "Accept: application/json, text/event-stream" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__update_account",
    "arguments": {
      "account_id": "00000000-0000-0000-0000-000000000000"
    }
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"id\":\"00000000-0000-0000-0000-000000000000\",\"slug\":\"string\",\"name\":\"string\",\"kind\":\"personal\",\"created_at\":\"string\",\"updated_at\":\"string\",\"membership\":{\"role\":\"owner\",\"capabilities\":[\"account.read\"]}}"
      }
    ],
    "structuredContent": {
      "id": "00000000-0000-0000-0000-000000000000",
      "slug": "string",
      "name": "string",
      "kind": "personal",
      "created_at": "string",
      "updated_at": "string",
      "membership": {
        "role": "owner",
        "capabilities": [
          "account.read"
        ]
      }
    }
  }
}
```
