Read skill source

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

Arguments

  • runtime_target_kindstring | null

    Used as the source target kind when source_target_kind is omitted.

  • target_environment_idstring · uuid | null

    Not supported for source reads; a non-null value is rejected.

  • target_branch_idstring · uuid | null

    Preview branch UUID, for a preview_branch target.

  • source_target_kindstring

    Source target: project or preview_branch. Defaults to project. One of project, main_branch, preview_branch.

  • project_referencestring

    Project ID or slug

  • skill_idstringrequired

    Skill ID from list_skills

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__read_skill_source",    "arguments": {      "skill_id": "string"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"id\":\"string\",\"name\":\"string\",\"description\":\"string\",\"source_path\":\"string\",\"edit_mode\":\"structured\",\"allowed_tools\":[\"string\"],\"owner_agent_id\":\"string\",\"short_name\":\"string\",\"instructions\":\"string\",\"sections\":{},\"source\":\"string\",\"source_only_reasons\":[\"string\"]}"      }    ],    "structuredContent": {      "id": "string",      "name": "string",      "description": "string",      "source_path": "string",      "edit_mode": "structured",      "allowed_tools": [        "string"      ],      "owner_agent_id": "string",      "short_name": "string",      "instructions": "string",      "sections": {},      "source": "string",      "source_only_reasons": [        "string"      ]    }  }}

The tool ran; its output is result.structuredContent.