Get prompt

Read one prompt by its ID to inspect its name and description; returns the prompt. Requires project.agents.read.

Arguments

  • project_referencestring

    Project ID or slug

  • prompt_idstringrequired

    Prompt ID from list_prompts

  • source_target_kindstring

    Source to read prompts from: project, main_branch, environment or preview_branch. Falls back to runtime_target_kind when omitted. One of project, main_branch, environment, preview_branch.

  • runtime_target_kindstring | null

    Runtime target to read from when source_target_kind is omitted: main_branch, environment or preview_branch.

  • target_environment_idstring · uuid | null

    Environment to use. Required for the environment target; rejected for any other target.

  • target_branch_idstring · uuid | null

    Preview branch to use. Required for the preview_branch target; rejected for any other target.

Responses

curl -X POST -N "https://api.veryfront.com/mcp" \  -H "Authorization: Bearer $VERYFRONT_API_KEY" \  -H "Accept: application/json, text/event-stream" \  -H "Content-Type: application/json" \  -d '{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__get_prompt",    "arguments": {      "prompt_id": "string"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"id\":\"string\",\"name\":\"string\",\"description\":\"string\",\"source_path\":\"string\",\"edit_mode\":\"structured\"}"      }    ],    "structuredContent": {      "id": "string",      "name": "string",      "description": "string",      "source_path": "string",      "edit_mode": "structured"    }  }}

The tool ran; its output is result.structuredContent.