# List invitations across projects

Tool: `veryfront__list_invitations`

List invitations across projects.

## Arguments

| Name         | Type                                   | Required | Description                                                                                                                |
| ------------ | -------------------------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------- |
| `limit`      | integer · min 1 · max 100 · default 20 |          | Maximum invitations per page. Integer from 1 to 100; defaults to 20.                                                       |
| `cursor`     | string · min length 1                  |          | Opaque page\_info.next from the previous page. A cursor this list did not issue fails with invalid\_input.                 |
| `sort_by`    | string                                 |          | Sort field: created\_at (default; missing values last) or email. Ties break by id ascending. One of `created_at`, `email`. |
| `sort_order` | string                                 |          | asc or desc (default). One of `asc`, `desc`.                                                                               |

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

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"data\":[{\"id\":\"string\",\"project_id\":\"00000000-0000-0000-0000-000000000000\",\"email\":\"string\",\"role\":\"admin\",\"created_at\":\"string\",\"project\":{\"id\":\"00000000-0000-0000-0000-000000000000\",\"slug\":\"string\",\"name\":\"string\"}}],\"page_info\":{\"self\":\"string\",\"first\":null,\"next\":\"string\",\"prev\":\"string\"}}"
      }
    ],
    "structuredContent": {
      "data": [
        {
          "id": "string",
          "project_id": "00000000-0000-0000-0000-000000000000",
          "email": "string",
          "role": "admin",
          "created_at": "string",
          "project": {
            "id": "00000000-0000-0000-0000-000000000000",
            "slug": "string",
            "name": "string"
          }
        }
      ],
      "page_info": {
        "self": "string",
        "first": null,
        "next": "string",
        "prev": "string"
      }
    }
  }
}
```
