SkillResource
The `SkillResource` entity.
Definition
TypeScript
interface SkillResource {
id: string;
skillId: string;
path: string;
content?: string | undefined;
}Fields
| Field | Type | Notes |
|---|---|---|
id | string | readonly required |
skillId | string | required — Skill this resource is bundled with. |
path | string | required — Relative path of the resource within the skill (e.g. 'references/foo.md'). |
content | string | undefined | optional — Resource file contents. Only returned from skills.getResource; list/retrieve omits this field. |