SkillResource

The `SkillResource` entity.

Definition

TypeScript
interface SkillResource {
  id: string;
  skillId: string;
  path: string;
  content?: string | undefined;
}

Fields

FieldTypeNotes
idstringreadonly required
skillIdstringrequired — Skill this resource is bundled with.
pathstringrequired — Relative path of the resource within the skill (e.g. 'references/foo.md').
contentstring | undefinedoptional — Resource file contents. Only returned from skills.getResource; list/retrieve omits this field.