Get prompt

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

FieldTypeRequiredDescription and constraints
project_referencestringNoProject ID or slug
prompt_idstringYesPrompt ID from list_prompts
source_target_kindstringNoSource 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_kindstring or nullNoRuntime target to read from when source_target_kind is omitted: main_branch, environment or preview_branch.
target_environment_idstring or nullNoEnvironment to use. Required for the environment target; rejected for any other target.
target_branch_idstring or nullNoPreview 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__get_prompt",    "arguments": {      "prompt_id": "example"    }  }}

Result

The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.

FieldTypeRequiredDescription and constraints
idstringYesUnique identifier for the returned record.
namestringYesHuman-readable name for the returned record.
descriptionstring or nullYesHuman-readable description returned by the tool.
source_pathstringYes
edit_modestringYesValues: "structured", "source_only".

Full schemas

input-schema.json
{  "type": "object",  "properties": {    "project_reference": {      "type": "string",      "description": "Project ID or slug"    },    "prompt_id": {      "type": "string",      "description": "Prompt ID from list_prompts"    },    "source_target_kind": {      "type": "string",      "enum": [        "project",        "main_branch",        "environment",        "preview_branch"      ],      "description": "Source to read prompts from: project, main_branch, environment or preview_branch. Falls back to runtime_target_kind when omitted."    },    "runtime_target_kind": {      "anyOf": [        {          "type": "string",          "enum": [            "main_branch",            "environment",            "preview_branch"          ],          "description": "Provide the runtime target kind."        },        {          "type": "null",          "description": "Provide the runtime target kind."        }      ],      "description": "Runtime target to read from when source_target_kind is omitted: main_branch, environment or preview_branch."    },    "target_environment_id": {      "anyOf": [        {          "type": "string",          "format": "uuid",          "description": "Provide the target environment id."        },        {          "type": "null",          "description": "Provide the target environment id."        }      ],      "description": "Environment to use. Required for the environment target; rejected for any other target."    },    "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": [    "prompt_id"  ],  "additionalProperties": false,  "$schema": "http://json-schema.org/draft-07/schema#",  "description": "Arguments for the get_prompt tool."}
output-schema.json
{  "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."    },    "source_path": {      "type": "string"    },    "edit_mode": {      "type": "string",      "enum": [        "structured",        "source_only"      ]    }  },  "required": [    "id",    "name",    "description",    "source_path",    "edit_mode"  ],  "additionalProperties": false,  "description": "Structured result returned by the get_prompt tool.",  "$schema": "http://json-schema.org/draft-07/schema#"}