Create conversation participant

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

Arguments

  • conversation_idstring · uuidrequired

    Conversation identifier that scopes the request.

  • user_idstring · uuidrequired

    Provide the user id.

  • rolestring · default member

    Provide the role. One of member, viewer.

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

The tool ran; its output is result.structuredContent.