Read skill source

veryfront__read_skill_source

Requires project.agents.read.

Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

Call type: Read-only.

Arguments

FieldTypeRequiredDescription and constraints
runtime_target_kindstring or nullNoUsed as the source target kind when source_target_kind is omitted.
target_environment_idstring or nullNoNot supported for source reads; a non-null value is rejected.
target_branch_idstring or nullNoPreview branch UUID, for a preview_branch target.
source_target_kindstringNoSource target: project or preview_branch. Defaults to project. Values: "project", "main_branch", "preview_branch".
project_referencestringNoProject ID or slug
skill_idstringYesSkill ID from list_skills

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__read_skill_source",
    "arguments": {
      "skill_id": "example"
    }
  }
}

Result

The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.

FieldTypeRequiredDescription and constraints
idstringYesUnique identifier for the returned record.
namestringYesHuman-readable name for the returned record.
descriptionstringYesHuman-readable description returned by the tool.
source_pathstringYes
edit_modestringYesValues: "structured", "source_only".
allowed_toolsstring[]No
owner_agent_idstringNo
short_namestringNo
instructionsstringYesThe Markdown body of SKILL.md, excluding frontmatter.
sectionsobjectYesRead-only sections derived from ## headings in the body. Empty if the body cannot be split into sections. Use instructions for the complete, authoritative body; this field cannot be updated.
sourcestringYes
source_only_reasonsstring[]YesList of source only reasons associated with this tool result.

Full schemas

json
{
  "type": "object",
  "properties": {
    "runtime_target_kind": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "main_branch",
            "environment",
            "preview_branch"
          ],
          "description": "Provide the runtime target kind."
        },
        {
          "type": "null",
          "description": "Provide the runtime target kind."
        }
      ],
      "description": "Used as the source target kind when source_target_kind is omitted."
    },
    "target_environment_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid",
          "description": "Provide the target environment id."
        },
        {
          "type": "null",
          "description": "Provide the target environment id."
        }
      ],
      "description": "Not supported for source reads; a non-null value is rejected."
    },
    "target_branch_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid",
          "description": "Provide the target branch id."
        },
        {
          "type": "null",
          "description": "Provide the target branch id."
        }
      ],
      "description": "Preview branch UUID, for a preview_branch target."
    },
    "source_target_kind": {
      "type": "string",
      "enum": [
        "project",
        "main_branch",
        "preview_branch"
      ],
      "description": "Source target: project or preview_branch. Defaults to project."
    },
    "project_reference": {
      "type": "string",
      "description": "Project ID or slug"
    },
    "skill_id": {
      "type": "string",
      "description": "Skill ID from list_skills"
    }
  },
  "required": [
    "skill_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "Arguments for the read_skill_source tool."
}
json
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the returned record."
    },
    "name": {
      "type": "string",
      "description": "Human-readable name for the returned record."
    },
    "description": {
      "type": "string",
      "description": "Human-readable description returned by the tool."
    },
    "source_path": {
      "type": "string"
    },
    "edit_mode": {
      "type": "string",
      "enum": [
        "structured",
        "source_only"
      ]
    },
    "allowed_tools": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "owner_agent_id": {
      "type": "string"
    },
    "short_name": {
      "type": "string"
    },
    "instructions": {
      "type": "string",
      "description": "The Markdown body of `SKILL.md`, excluding frontmatter."
    },
    "sections": {
      "type": "object",
      "additionalProperties": {
        "type": "string",
        "description": "Additional structured values associated with this result."
      },
      "propertyNames": {
        "minLength": 1
      },
      "description": "Read-only sections derived from `## ` headings in the body. Empty if the body cannot be split into sections. Use `instructions` for the complete, authoritative body; this field cannot be updated."
    },
    "source": {
      "type": "string"
    },
    "source_only_reasons": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List of source only reasons associated with this tool result."
    }
  },
  "required": [
    "id",
    "name",
    "description",
    "source_path",
    "edit_mode",
    "instructions",
    "sections",
    "source",
    "source_only_reasons"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the read_skill_source tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}