veryfront__create_conversation
Requires project.conversations.create.
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Can change resources.
Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
project_reference | string | No | Project ID or slug; required unless the token is project-scoped. Create the conversation optionally with a first user message and an idempotency key. Minimum length: 1. |
type | string | No | Provide the type. Values: "chat", "default_chat", "plan", "research", "agent_task", "support"; see schema for the complete list. |
title | string | No | Short human-readable title for the record. Maximum length: 500. |
idempotency_key | string | No | Retrying with the same key and the same arguments returns the same conversation; different arguments fail with an idempotency conflict. Minimum length: 1. Maximum length: 255. |
metadata | object | No | Additional structured metadata for the request. |
initial_message | object | No | A first user message stored atomically with the conversation, as on REST POST /conversations. |
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.
request.json
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__create_conversation",7 "arguments": {}8 }9}Result
The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
id | string | Yes | Conversation identifier. |
project_id | string or null | No | Project identifier that owns the conversation, or null for global/system conversations. |
responding_agent_id | string or null | No | Agent currently responding in the conversation, or null when no agent has responded. Default: null. |
type | string | Yes | Conversation type, such as agent, support, or workflow conversation. Values: "chat", "default_chat", "plan", "research", "agent_task", "support"; see schema for the complete list. |
title | string or null | No | Human-readable conversation title. |
summary | string or null | No | Short summary of the conversation state or topic. |
status | string | Yes | Lifecycle status of the conversation. Values: "active", "archived", "deleted". |
current_node | string or null | No | Selected conversation message node for the active branch, or null when no message is selected. |
message_count | number | Yes | Number of persisted messages in the conversation. |
last_message_at | string or null | No | Timestamp of the most recent message in the conversation. |
metadata | object or null | No | Additional machine-readable conversation metadata. |
created_by | string or null | Yes | User or actor identifier that created the conversation. |
archived_at | string or null | No | Timestamp when the conversation was archived, or null when active. |
created_at | string | Yes | Timestamp when the conversation was created. |
updated_at | string | Yes | Timestamp when the conversation was last updated. |
participants | object[] | No | Participants of the conversation. Empty on the confirmation body of delete_conversation. Default: []. |
initial_message_id | string or null | Yes | The first message stored with the conversation, when initial_message was sent. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "project_reference": {5 "type": "string",6 "minLength": 1,7 "description": "Project ID or slug; required unless the token is project-scoped. Create the conversation optionally with a first user message and an idempotency key."8 },9 "type": {10 "type": "string",11 "enum": [12 "chat",13 "default_chat",14 "plan",15 "research",16 "agent_task",17 "support",18 "channel",19 "project_agent"20 ],21 "description": "Provide the type."22 },23 "title": {24 "type": "string",25 "maxLength": 500,26 "description": "Short human-readable title for the record."27 },28 "idempotency_key": {29 "type": "string",30 "minLength": 1,31 "maxLength": 255,32 "description": "Retrying with the same key and the same arguments returns the same conversation; different arguments fail with an idempotency conflict."33 },34 "metadata": {35 "type": "object",36 "additionalProperties": {37 "description": "Additional structured values supplied to the tool."38 },39 "description": "Additional structured metadata for the request."40 },41 "initial_message": {42 "type": "object",43 "properties": {44 "composing_user_id": {45 "type": "string",46 "format": "uuid",47 "description": "Provide the composing user id."48 },49 "role": {50 "type": "string",51 "const": "user",52 "description": "Always user; may be omitted."53 },54 "parts": {55 "type": "array",56 "items": {57 "anyOf": [58 {59 "type": "object",60 "properties": {61 "type": {62 "type": "string",63 "const": "text",64 "description": "Provide the type."65 },66 "text": {67 "type": "string",68 "maxLength": 100000,69 "description": "Provide the text."70 }71 },72 "required": [73 "type",74 "text"75 ],76 "additionalProperties": false,77 "description": "Structured option 1 details used by the tool."78 },79 {80 "type": "object",81 "properties": {82 "type": {83 "type": "string",84 "const": "image",85 "description": "Provide the type."86 },87 "upload_id": {88 "type": "string",89 "format": "uuid",90 "description": "Provide the upload id."91 },92 "media_type": {93 "type": "string",94 "description": "Provide the media type."95 },96 "url": {97 "type": "string",98 "description": "Provide the url."99 }100 },101 "required": [102 "type",103 "upload_id",104 "media_type"105 ],106 "additionalProperties": false,107 "description": "Structured option 2 details used by the tool."108 },109 {110 "type": "object",111 "properties": {112 "type": {113 "type": "string",114 "const": "file",115 "description": "Provide the type."116 },117 "upload_id": {118 "type": "string",119 "format": "uuid",120 "description": "Provide the upload id."121 },122 "media_type": {123 "type": "string",124 "description": "Provide the media type."125 },126 "filename": {127 "type": "string",128 "description": "Provide the filename."129 },130 "url": {131 "type": "string",132 "description": "Provide the url."133 }134 },135 "required": [136 "type",137 "media_type"138 ],139 "additionalProperties": false,140 "description": "Structured option 3 details used by the tool."141 },142 {143 "type": "object",144 "properties": {145 "type": {146 "type": "string",147 "const": "tool_call",148 "description": "Provide the type."149 },150 "id": {151 "type": "string",152 "description": "Unique identifier for the target record."153 },154 "name": {155 "type": "string",156 "description": "Human-readable name for the target record."157 },158 "input": {159 "type": "object",160 "additionalProperties": {161 "description": "Additional structured values supplied to the tool."162 },163 "description": "Structured input details used by the tool."164 },165 "state": {166 "type": "string",167 "enum": [168 "streaming",169 "pending",170 "completed",171 "error"172 ],173 "description": "Provide the state."174 }175 },176 "required": [177 "type",178 "id",179 "name",180 "input",181 "state"182 ],183 "additionalProperties": false,184 "description": "Structured option 4 details used by the tool."185 },186 {187 "type": "object",188 "properties": {189 "type": {190 "type": "string",191 "const": "tool_result",192 "description": "Provide the type."193 },194 "tool_call_id": {195 "type": "string",196 "description": "Tool call identifier that links this request to a prior tool invocation."197 },198 "output": {199 "description": "Provide the output."200 },201 "is_error": {202 "type": "boolean",203 "description": "Provide the is error."204 }205 },206 "required": [207 "type",208 "tool_call_id"209 ],210 "additionalProperties": false,211 "description": "Structured option 5 details used by the tool."212 },213 {214 "type": "object",215 "properties": {216 "type": {217 "type": "string",218 "const": "reasoning",219 "description": "Provide the type."220 },221 "text": {222 "type": "string",223 "maxLength": 100000,224 "description": "Provide the text."225 },226 "signature": {227 "type": "string",228 "description": "Provide the signature."229 }230 },231 "required": [232 "type",233 "text"234 ],235 "additionalProperties": false,236 "description": "Structured option 6 details used by the tool."237 },238 {239 "type": "object",240 "properties": {241 "type": {242 "type": "string",243 "const": "citation",244 "description": "Provide the type."245 },246 "source_id": {247 "type": "string",248 "description": "Provide the source id."249 },250 "url": {251 "type": "string",252 "description": "Provide the url."253 },254 "title": {255 "type": "string",256 "description": "Short human-readable title for the record."257 },258 "quote": {259 "type": "string",260 "description": "Provide the quote."261 }262 },263 "required": [264 "type",265 "source_id"266 ],267 "additionalProperties": false,268 "description": "Structured option 7 details used by the tool."269 },270 {271 "type": "object",272 "properties": {273 "type": {274 "type": "string",275 "const": "source_document",276 "description": "Provide the type."277 },278 "source_id": {279 "type": "string",280 "description": "Provide the source id."281 },282 "media_type": {283 "type": "string",284 "description": "Provide the media type."285 },286 "title": {287 "type": "string",288 "description": "Short human-readable title for the record."289 },290 "filename": {291 "type": "string",292 "description": "Provide the filename."293 }294 },295 "required": [296 "type",297 "source_id",298 "media_type",299 "title"300 ],301 "additionalProperties": false,302 "description": "Structured option 8 details used by the tool."303 },304 {305 "type": "object",306 "properties": {307 "type": {308 "type": "string",309 "const": "step_start",310 "description": "Provide the type."311 }312 },313 "required": [314 "type"315 ],316 "additionalProperties": false,317 "description": "Structured option 9 details used by the tool."318 },319 {320 "type": "object",321 "properties": {322 "type": {323 "type": "string",324 "const": "error",325 "description": "Provide the type."326 },327 "code": {328 "type": "string",329 "description": "Provide the code."330 },331 "message": {332 "type": "string",333 "description": "Provide the message."334 }335 },336 "required": [337 "type",338 "code",339 "message"340 ],341 "additionalProperties": false,342 "description": "Structured option 10 details used by the tool."343 },344 {345 "type": "object",346 "properties": {347 "type": {348 "type": "string",349 "const": "data",350 "description": "Provide the type."351 },352 "name": {353 "type": "string",354 "description": "Human-readable name for the target record."355 },356 "value": {357 "description": "Provide the value."358 }359 },360 "required": [361 "type",362 "name"363 ],364 "additionalProperties": false,365 "description": "Structured option 11 details used by the tool."366 }367 ],368 "description": "One part item supplied to the tool."369 },370 "minItems": 1,371 "maxItems": 200,372 "description": "Provide one or more part values."373 },374 "idempotency_key": {375 "type": "string",376 "maxLength": 255,377 "description": "Provide the idempotency key."378 },379 "metadata": {380 "type": "object",381 "additionalProperties": {382 "description": "Additional structured values supplied to the tool."383 },384 "description": "Additional structured metadata for the request."385 }386 },387 "required": [388 "parts"389 ],390 "additionalProperties": false,391 "description": "A first user message stored atomically with the conversation, as on REST POST /conversations."392 }393 },394 "additionalProperties": false,395 "description": "Arguments for the create_conversation tool.",396 "$schema": "http://json-schema.org/draft-07/schema#"397}output-schema.json
1{2 "type": "object",3 "properties": {4 "id": {5 "type": "string",6 "description": "Conversation identifier."7 },8 "project_id": {9 "type": [10 "string",11 "null"12 ],13 "description": "Project identifier that owns the conversation, or null for global/system conversations."14 },15 "responding_agent_id": {16 "type": [17 "string",18 "null"19 ],20 "description": "Agent currently responding in the conversation, or null when no agent has responded.",21 "default": null22 },23 "type": {24 "type": "string",25 "enum": [26 "chat",27 "default_chat",28 "plan",29 "research",30 "agent_task",31 "support",32 "channel",33 "project_agent"34 ],35 "description": "Conversation type, such as agent, support, or workflow conversation."36 },37 "title": {38 "type": [39 "string",40 "null"41 ],42 "description": "Human-readable conversation title."43 },44 "summary": {45 "type": [46 "string",47 "null"48 ],49 "description": "Short summary of the conversation state or topic."50 },51 "status": {52 "type": "string",53 "enum": [54 "active",55 "archived",56 "deleted"57 ],58 "description": "Lifecycle status of the conversation."59 },60 "current_node": {61 "type": [62 "string",63 "null"64 ],65 "description": "Selected conversation message node for the active branch, or null when no message is selected."66 },67 "message_count": {68 "type": "number",69 "description": "Number of persisted messages in the conversation."70 },71 "last_message_at": {72 "type": [73 "string",74 "null"75 ],76 "description": "Timestamp of the most recent message in the conversation."77 },78 "metadata": {79 "anyOf": [80 {81 "type": "object",82 "additionalProperties": {83 "description": "Additional structured values associated with this result."84 },85 "description": "Additional structured metadata returned by the tool."86 },87 {88 "type": "null",89 "description": "Additional structured metadata returned by the tool."90 }91 ],92 "description": "Additional machine-readable conversation metadata."93 },94 "created_by": {95 "type": [96 "string",97 "null"98 ],99 "description": "User or actor identifier that created the conversation."100 },101 "archived_at": {102 "type": [103 "string",104 "null"105 ],106 "description": "Timestamp when the conversation was archived, or null when active."107 },108 "created_at": {109 "type": "string",110 "description": "Timestamp when the conversation was created."111 },112 "updated_at": {113 "type": "string",114 "description": "Timestamp when the conversation was last updated."115 },116 "participants": {117 "type": "array",118 "items": {119 "type": "object",120 "properties": {121 "id": {122 "type": "string",123 "description": "Unique identifier for the returned record."124 },125 "participant_id": {126 "type": [127 "string",128 "null"129 ]130 },131 "participant_type": {132 "type": "string",133 "enum": [134 "user",135 "agent"136 ],137 "default": "user"138 },139 "user_id": {140 "type": [141 "string",142 "null"143 ]144 },145 "agent_id": {146 "type": [147 "string",148 "null"149 ]150 },151 "display_name": {152 "type": [153 "string",154 "null"155 ]156 },157 "agent_kind": {158 "anyOf": [159 {160 "type": "string",161 "const": "project"162 },163 {164 "type": "null",165 "description": "The agent kind returned by the tool."166 }167 ]168 },169 "avatar_url": {170 "type": [171 "string",172 "null"173 ]174 },175 "role": {176 "type": "string",177 "enum": [178 "owner",179 "member",180 "viewer"181 ]182 }183 },184 "required": [185 "id",186 "role"187 ],188 "additionalProperties": false189 },190 "description": "Participants of the conversation. Empty on the confirmation body of delete_conversation.",191 "default": []192 },193 "initial_message_id": {194 "anyOf": [195 {196 "type": "string",197 "format": "uuid"198 },199 {200 "type": "null",201 "description": "The initial message id returned by the tool."202 }203 ],204 "description": "The first message stored with the conversation, when initial_message was sent."205 }206 },207 "required": [208 "id",209 "type",210 "status",211 "message_count",212 "created_by",213 "created_at",214 "updated_at",215 "initial_message_id"216 ],217 "additionalProperties": false,218 "description": "Conversation record returned by MCP conversation tools.",219 "$schema": "http://json-schema.org/draft-07/schema#"220}