Remove File • AI Agent SDK
remove_file: Remove a file from a skill directory.
remove_file
Method
</div>
This is a method of the SkillMutatorProtocol class in the protocols module.
Remove a file from a skill directory.
Signature
def remove_file(name: str, file_path: str, propose: bool) -> strParameters
ParamField
strSkill name
ParamField
strRelative path within skill directory
ParamField
boolIf True, stage for approval; if False, remove directly
Returns
ResponseField
strStatus message describing the action taken
Source
View on GitHubpraisonaiagents/skills/protocols.py at line 147