# listResources

open suspend override fun listResources(skillName: String, resourceDirectoryPath: String): Result<List<String>>

Returns a list of resource paths within a specific directory for a given skill.

#### Return

A Result wrapping the list of relative paths to resources from the skill root, or a SkillSourceException failure whose message identifies the specific cause (e.g. the skill does not exist, or resourceDirectoryPath is invalid or not found).

#### Parameters

skillName

The name of the skill.

resourceDirectoryPath

Relative path from the skill root (e.g., "references", "assets").