skills.execute
execute(skillId: string, input: SkillInput): Promise<SkillResult>Invoke a specific skill by its registered id.
skillId | string | The id of the SkillDef to run. |
input | SkillInput | Arbitrary input passed verbatim to skill.run. |
Returns: Promise<SkillResult>
Example
const result = await api.skills.execute("csv", { file, instruction: "infer schema" });