save_snippet
Stores a code snippet to a local snippets library as a file, named by the user, with language and optional description.
Instructions
Save a code snippet to your snippets library. The snippet will be saved as a file in ~/snippets/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code snippet to save | |
| name | Yes | Name for the snippet (will be used as filename) | |
| language | Yes | Programming language (e.g., javascript, python, java) | |
| description | No | Optional description of what this snippet does |