Create conversation message branch

Create a sibling of a message with new parts when the user edits an earlier message and wants to keep the original reply; the new message gets the parent and role of the original and becomes the selected branch.

Arguments

  • conversation_idstring · uuidrequired

    Conversation identifier that scopes the request.

  • message_idstring · uuidrequired

    Provide the message id.

  • composing_user_idstring · uuid

    Provide the composing user id.

  • partsarray of objectrequired

    Provide one or more part values.

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_message_branch",    "arguments": {      "conversation_id": "00000000-0000-0000-0000-000000000000",      "message_id": "00000000-0000-0000-0000-000000000000",      "parts": [        {          "type": "text",          "text": "string"        }      ]    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"id\":\"string\",\"conversation_id\":\"string\",\"parent_id\":\"string\",\"seq\":0,\"role\":\"user\",\"created_by\":\"string\",\"sender_type\":\"user\",\"sender_id\":\"string\",\"sender_display_name\":\"string\",\"parts\":[{\"type\":\"text\",\"text\":\"string\"}],\"model\":\"string\",\"run_usage\":{\"funding\":\"managed\",\"capture_status\":\"complete\",\"scope\":\"run\",\"model\":\"string\",\"input_tokens\":0,\"output_tokens\":0,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":0,\"reasoning_tokens\":0,\"total_tokens\":0,\"model_calls\":0,\"cost_credits\":\"string\"},\"token_usage\":{\"input\":0,\"output\":0,\"reasoning_tokens\":0},\"finish_reason\":\"string\",\"cost_credits\":\"string\",\"status\":\"pending\",\"edited_at\":\"string\",\"idempotency_key\":\"string\",\"metadata\":{},\"created_at\":\"string\",\"updated_at\":\"string\"}"      }    ],    "structuredContent": {      "id": "string",      "conversation_id": "string",      "parent_id": "string",      "seq": 0,      "role": "user",      "created_by": "string",      "sender_type": "user",      "sender_id": "string",      "sender_display_name": "string",      "parts": [        {          "type": "text",          "text": "string"        }      ],      "model": "string",      "run_usage": {        "funding": "managed",        "capture_status": "complete",        "scope": "run",        "model": "string",        "input_tokens": 0,        "output_tokens": 0,        "cache_creation_input_tokens": 0,        "cache_read_input_tokens": 0,        "reasoning_tokens": 0,        "total_tokens": 0,        "model_calls": 0,        "cost_credits": "string"      },      "token_usage": {        "input": 0,        "output": 0,        "reasoning_tokens": 0      },      "finish_reason": "string",      "cost_credits": "string",      "status": "pending",      "edited_at": "string",      "idempotency_key": "string",      "metadata": {},      "created_at": "string",      "updated_at": "string"    }  }}

The tool ran; its output is result.structuredContent.