veryfront__read_tool_source

Read the editable source behind one project tool before changing it; returns the tool with its 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
tool_idstringYesProject-defined tool ID returned by list_tools. This lookup does not load a host executable tool contract.
runtime_target_kindProvide the runtime target kind.
target_environment_idProvide the target environment id.
target_branch_idProvide the target branch id.
source_target_kindstringThe source to read: project (the default), main_branch (reads as project) or preview_branch.

Call it

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