# List account invitations

Tool: `veryfront__list_account_invitations`

List account invitations. Requires account.invitations.read.

## Arguments

| Name         | Type                                   | Required | Description                                                                                        |
| ------------ | -------------------------------------- | -------- | -------------------------------------------------------------------------------------------------- |
| `cursor`     | string                                 |          | Opaque pagination cursor returned by a previous response.                                          |
| `limit`      | integer · min 1 · max 100 · default 20 |          | Maximum number of results to return.                                                               |
| `status`     | string · default pending               |          | Lifecycle status for the target record. One of `pending`, `accepted`, `revoked`, `expired`, `all`. |
| `account_id` | string · uuid                          | Yes      | Provide the 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__list_account_invitations",
    "arguments": {
      "account_id": "00000000-0000-0000-0000-000000000000"
    }
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"data\":[{\"id\":\"00000000-0000-0000-0000-000000000000\",\"account_id\":\"00000000-0000-0000-0000-000000000000\",\"email\":\"string\",\"role\":\"owner\",\"status\":\"pending\",\"expires_at\":\"string\",\"invited_by_user_id\":\"00000000-0000-0000-0000-000000000000\",\"accepted_by_user_id\":\"00000000-0000-0000-0000-000000000000\",\"resolved_at\":\"string\",\"created_at\":\"string\"}],\"page_info\":{\"self\":\"string\",\"first\":null,\"next\":\"string\",\"prev\":null}}"
      }
    ],
    "structuredContent": {
      "data": [
        {
          "id": "00000000-0000-0000-0000-000000000000",
          "account_id": "00000000-0000-0000-0000-000000000000",
          "email": "string",
          "role": "owner",
          "status": "pending",
          "expires_at": "string",
          "invited_by_user_id": "00000000-0000-0000-0000-000000000000",
          "accepted_by_user_id": "00000000-0000-0000-0000-000000000000",
          "resolved_at": "string",
          "created_at": "string"
        }
      ],
      "page_info": {
        "self": "string",
        "first": null,
        "next": "string",
        "prev": null
      }
    }
  }
}
```
