veryfront__read_prompt_source

Read the editable source behind one prompt before changing it; returns the prompt with its content, source text, edit mode and the reasons it can only be edited as source. Requires project.agents.read.

Risk: read_only.

Arguments

NameTypeRequiredDescription
project_referencestringProject ID or slug
prompt_idstringYesPrompt ID from list_prompts
source_target_kindstringSource to read the prompt file from: project or preview_branch. Falls back to runtime_target_kind when omitted.
runtime_target_kindUsed as the source target kind when source_target_kind is omitted.
target_environment_idNot supported for source reads; a non-null value is rejected.
target_branch_idPreview branch to use. Required for the preview_branch target; rejected for any other target.

Call it

JSON
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__read_prompt_source",    "arguments": {      "prompt_id": "<prompt_id>"    }  }}