veryfront__update_prompt
Requires project.agents.write.
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 |
prompt_id | string | Yes | Provide the prompt id. Minimum length: 1. |
description | string or null | No | Prompt description. Null clears it. When omitted, REST and GraphQL clear it and the MCP tool keeps the current one. |
content | string | Yes | Prompt text. Minimum length: 1. |
source_target_kind | string | No | Where to write the prompt file: project (the default) or preview_branch. Other values are rejected. |
target_branch_id | string or null | No | Preview branch to use. Required for the preview_branch target; rejected for any other target. |
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__update_prompt",7 "arguments": {8 "prompt_id": "example",9 "content": "example"10 }11 }12}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 | Unique identifier for the returned record. |
name | string | Yes | Human-readable name for the returned record. |
description | string or null | Yes | Human-readable description returned by the tool. |
content | string or null | Yes | Source content or body returned by the tool. |
source_path | string | Yes | |
source | string | Yes | |
edit_mode | string | Yes | Values: "structured", "source_only". |
source_only_reasons | string[] | Yes | List of source only reasons associated with this tool result. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "project_reference": {5 "type": "string",6 "description": "Project ID or slug"7 },8 "prompt_id": {9 "type": "string",10 "minLength": 1,11 "description": "Provide the prompt id."12 },13 "description": {14 "type": [15 "string",16 "null"17 ],18 "description": "Prompt description. Null clears it. When omitted, REST and GraphQL clear it and the MCP tool keeps the current one."19 },20 "content": {21 "type": "string",22 "minLength": 1,23 "description": "Prompt text."24 },25 "source_target_kind": {26 "type": "string",27 "description": "Where to write the prompt file: project (the default) or preview_branch. Other values are rejected."28 },29 "target_branch_id": {30 "anyOf": [31 {32 "type": "string",33 "format": "uuid",34 "description": "Provide the target branch id."35 },36 {37 "type": "null",38 "description": "Provide the target branch id."39 }40 ],41 "description": "Preview branch to use. Required for the preview_branch target; rejected for any other target."42 }43 },44 "required": [45 "prompt_id",46 "content"47 ],48 "additionalProperties": false,49 "description": "Arguments for the update_prompt tool.",50 "$schema": "http://json-schema.org/draft-07/schema#"51}output-schema.json
1{2 "type": "object",3 "properties": {4 "id": {5 "type": "string",6 "description": "Unique identifier for the returned record."7 },8 "name": {9 "type": "string",10 "description": "Human-readable name for the returned record."11 },12 "description": {13 "type": [14 "string",15 "null"16 ],17 "description": "Human-readable description returned by the tool."18 },19 "content": {20 "type": [21 "string",22 "null"23 ],24 "description": "Source content or body returned by the tool."25 },26 "source_path": {27 "type": "string"28 },29 "source": {30 "type": "string"31 },32 "edit_mode": {33 "type": "string",34 "enum": [35 "structured",36 "source_only"37 ]38 },39 "source_only_reasons": {40 "type": "array",41 "items": {42 "type": "string"43 },44 "description": "List of source only reasons associated with this tool result."45 }46 },47 "required": [48 "id",49 "name",50 "description",51 "content",52 "source_path",53 "source",54 "edit_mode",55 "source_only_reasons"56 ],57 "additionalProperties": false,58 "description": "Structured result returned by the update_prompt tool.",59 "$schema": "http://json-schema.org/draft-07/schema#"60}