Create account

Create a team account that the caller owns.

Arguments

  • namestring · min length 1 · max length 100required

    Human-readable name for the target record.

  • slugstring · 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

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"    }  }}'
{  "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"        ]      }    }  }}

The tool ran; its output is result.structuredContent.