veryfront__get_prompt
Requires project.agents.read.
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Read-only.
Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
project_reference | string | No | Project ID or slug |
prompt_id | string | Yes | Prompt ID from list_prompts |
source_target_kind | string | No | Source to read prompts from: project, main_branch, environment or preview_branch. Falls back to runtime_target_kind when omitted. Values: "project", "main_branch", "environment", "preview_branch". |
runtime_target_kind | string or null | No | Runtime target to read from when source_target_kind is omitted: main_branch, environment or preview_branch. |
target_environment_id | string or null | No | Environment to use. Required for the environment target; rejected for any other target. |
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__get_prompt",7 "arguments": {8 "prompt_id": "example"9 }10 }11}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. |
source_path | string | Yes | |
edit_mode | string | Yes | Values: "structured", "source_only". |
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 "description": "Prompt ID from list_prompts"11 },12 "source_target_kind": {13 "type": "string",14 "enum": [15 "project",16 "main_branch",17 "environment",18 "preview_branch"19 ],20 "description": "Source to read prompts from: project, main_branch, environment or preview_branch. Falls back to runtime_target_kind when omitted."21 },22 "runtime_target_kind": {23 "anyOf": [24 {25 "type": "string",26 "enum": [27 "main_branch",28 "environment",29 "preview_branch"30 ],31 "description": "Provide the runtime target kind."32 },33 {34 "type": "null",35 "description": "Provide the runtime target kind."36 }37 ],38 "description": "Runtime target to read from when source_target_kind is omitted: main_branch, environment or preview_branch."39 },40 "target_environment_id": {41 "anyOf": [42 {43 "type": "string",44 "format": "uuid",45 "description": "Provide the target environment id."46 },47 {48 "type": "null",49 "description": "Provide the target environment id."50 }51 ],52 "description": "Environment to use. Required for the environment target; rejected for any other target."53 },54 "target_branch_id": {55 "anyOf": [56 {57 "type": "string",58 "format": "uuid",59 "description": "Provide the target branch id."60 },61 {62 "type": "null",63 "description": "Provide the target branch id."64 }65 ],66 "description": "Preview branch to use. Required for the preview_branch target; rejected for any other target."67 }68 },69 "required": [70 "prompt_id"71 ],72 "additionalProperties": false,73 "$schema": "http://json-schema.org/draft-07/schema#",74 "description": "Arguments for the get_prompt tool."75}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 "source_path": {20 "type": "string"21 },22 "edit_mode": {23 "type": "string",24 "enum": [25 "structured",26 "source_only"27 ]28 }29 },30 "required": [31 "id",32 "name",33 "description",34 "source_path",35 "edit_mode"36 ],37 "additionalProperties": false,38 "description": "Structured result returned by the get_prompt tool.",39 "$schema": "http://json-schema.org/draft-07/schema#"40}