# Create account

Tool: `veryfront__create_account`

Create a team account that the caller owns.

## Arguments

| Name   | Type                                   | Required | Description                                                                                                                                                                                                          |
| ------ | -------------------------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `name` | string · min length 1 · max length 100 | Yes      | Human-readable name for the target record.                                                                                                                                                                           |
| `slug` | string · max length 63                 |          | Unique account slug. Omit to derive it deterministically from the name. A duplicate slug is rejected as already existing; creation does not replay the existing account. Filter the account list by slug to find it. |

## 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__create_account",
    "arguments": {
      "name": "string"
    }
  }
}'
```

## 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"
        ]
      }
    }
  }
}
```
