skill

Read one skill by its ID to inspect its description and the tools it may call; returns the skill. Requires project.agents.read.

Arguments

  • projectReferenceString!required

  • idString!required

    The id of the definition, from its list.

  • sourceTargetKindSourceTargetKind

    The source to read; default runtimeTargetKind, else project. One of project, main_branch, environment, preview_branch.

  • runtimeTargetKindRuntimeTargetKind

    Used as the source to read when sourceTargetKind is omitted. One of main_branch, environment, preview_branch.

  • targetEnvironmentIdID

    Required with the kind environment.

  • targetBranchIdID

    Required with the kind preview_branch.

Responses

query Skill($projectReference: String!, $id: String!) {  skill(projectReference: $projectReference, id: $id) {    id    name    description    sourcePath    editMode    allowedTools    ownerAgentId    shortName  }}
{  "data": {    "skill": {      "id": "string",      "name": "string",      "description": "string",      "sourcePath": "string",      "editMode": "structured",      "allowedTools": [        "string"      ],      "ownerAgentId": "string",      "shortName": "string"    }  }}

The Skill! in data.skill.