veryfront__read_task_source

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

Risk: read_only.

Arguments

NameTypeRequiredDescription
project_referencestringProject ID or slug
task_idstringYesTask ID from list_tasks
source_target_kindstringSource to read: project or preview_branch. Defaults to runtime_target_kind, then project.
target_branch_idPreview branch to use when the target kind is preview_branch.
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.

Call it

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