Get account

Return an account with the caller's role and capabilities in it. Requires account.read.

Arguments

  • account_idstring · uuidrequired

    Provide the account id.

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__get_account",    "arguments": {      "account_id": "00000000-0000-0000-0000-000000000000"    }  }}'
{  "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.