snippkit_save_snippet
Save generated or refactored code to your SnippKit library so reusable solutions persist across projects and environments.
Instructions
Save newly generated or refactored code directly into your SnippKit library. Persists solutions across your projects and environments.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>",
"code": "<code>"
},
"name": "snippkit_save_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The source code to save | |
| tags | No | Array of tags for searching | |
| title | Yes | Clear, descriptive title for the snippet | |
| language | No | Programming language (e.g. 'typescript', 'python', 'sql', 'bash') | plaintext |
| is_public | No | Set to true for public snippet, false for zero-knowledge encrypted private snippet | |
| description | No | Brief explanation of what this code does and when to use it |