# Create conversation participant

Tool: `veryfront__create_conversation_participant`

Add a user to a conversation as member or viewer to share a thread; the operation needs the admin relation.

## Arguments

| Name              | Type                    | Required | Description                                      |
| ----------------- | ----------------------- | -------- | ------------------------------------------------ |
| `conversation_id` | string · uuid           | Yes      | Conversation identifier that scopes the request. |
| `user_id`         | string · uuid           | Yes      | Provide the user id.                             |
| `role`            | string · default member |          | Provide the role. One of `member`, `viewer`.     |

## 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_conversation_participant",
    "arguments": {
      "conversation_id": "00000000-0000-0000-0000-000000000000",
      "user_id": "00000000-0000-0000-0000-000000000000"
    }
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"id\":\"string\",\"conversation_id\":\"string\",\"participant_id\":\"string\",\"participant_type\":\"user\",\"user_id\":\"string\",\"agent_id\":\"string\",\"display_name\":\"string\",\"agent_kind\":\"project\",\"avatar_url\":\"string\",\"role\":\"owner\",\"last_read_message_id\":\"string\",\"notification_preference\":\"string\",\"joined_at\":\"string\"}"
      }
    ],
    "structuredContent": {
      "id": "string",
      "conversation_id": "string",
      "participant_id": "string",
      "participant_type": "user",
      "user_id": "string",
      "agent_id": "string",
      "display_name": "string",
      "agent_kind": "project",
      "avatar_url": "string",
      "role": "owner",
      "last_read_message_id": "string",
      "notification_preference": "string",
      "joined_at": "string"
    }
  }
}
```
