veryfront__create_promptAccess
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 |
id | string | Yes | Prompt id, also the name of its source file. Minimum length: 1. Maximum length: 128. |
description | string or null | No | Prompt description. Omit it or send null for none. |
content | string | Yes | Prompt text. Minimum length: 1. |
source | string | No | Complete prompt source file. It must export a structured prompt whose id matches id; when omitted the file is generated from description and content. 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
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "veryfront__create_prompt",
"arguments": {
"id": "example",
"content": "example"
}
}
}
Result
The published output shape is summarized below. Inspect both the MCP response content andisError 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
{
"type": "object",
"properties": {
"project_reference": {
"type": "string",
"description": "Project ID or slug"
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[a-z0-9][a-z0-9-]*$",
"description": "Prompt id, also the name of its source file."
},
"description": {
"type": [
"string",
"null"
],
"description": "Prompt description. Omit it or send null for none."
},
"content": {
"type": "string",
"minLength": 1,
"description": "Prompt text."
},
"source": {
"type": "string",
"minLength": 1,
"description": "Complete prompt source file. It must export a structured prompt whose id matches id; when omitted the file is generated from description and content."
},
"source_target_kind": {
"type": "string",
"description": "Where to write the prompt file: project (the default) or preview_branch. Other values are rejected."
},
"target_branch_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"description": "Provide the target branch id."
},
{
"type": "null",
"description": "Provide the target branch id."
}
],
"description": "Preview branch to use. Required for the preview_branch target; rejected for any other target."
}
},
"required": [
"id",
"content"
],
"additionalProperties": false,
"description": "Arguments for the create_prompt tool.",
"$schema": "http://json-schema.org/draft-07/schema#"
}
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the returned record."
},
"name": {
"type": "string",
"description": "Human-readable name for the returned record."
},
"description": {
"type": [
"string",
"null"
],
"description": "Human-readable description returned by the tool."
},
"content": {
"type": [
"string",
"null"
],
"description": "Source content or body returned by the tool."
},
"source_path": {
"type": "string"
},
"source": {
"type": "string"
},
"edit_mode": {
"type": "string",
"enum": [
"structured",
"source_only"
]
},
"source_only_reasons": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of source only reasons associated with this tool result."
}
},
"required": [
"id",
"name",
"description",
"content",
"source_path",
"source",
"edit_mode",
"source_only_reasons"
],
"additionalProperties": false,
"description": "Structured result returned by the create_prompt tool.",
"$schema": "http://json-schema.org/draft-07/schema#"
}