skill_trash_user_asset
Moves user-created assets or notes to trash instead of permanently deleting them. Handles user skills and reserved user areas, logging operations.
Instructions
function_purpose: Move a user-created asset or note into trash instead of deleting it.
Policy:
For bundled/Anthropic skills:
Only assets under reserved user areas are allowed:
"_user_assets/" subtree
"_user_notes/" subtree
"_notes/" subtree (programmatic notes from skill_store_note)
"notes/" subtree (manually created notes)
Core assets (including SKILL.md and any other non-user files) cannot be trashed.
For user-created skills:
Any asset path under the skill directory may be trashed.
The target file is moved under trash/assets//__.
Operations are logged in an operations log.
Args:
name: str Skill name
path: str Relative path within the skill directory
Returns:
dict[str, Any] with:
trashed: bool
name: str
path: str
trash_path: str | None
message: str
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||