Skip to main content

remove_file

Method
This is a method of the SkillMutatorProtocol class in the protocols module.
Remove a file from a skill directory.

Signature

Parameters

str
required
Skill name
str
required
Relative path within skill directory
bool
default:"True"
If True, stage for approval; if False, remove directly

Returns

str
Status message describing the action taken

Source

View on GitHub

praisonaiagents/skills/protocols.py at line 147