create_snippet
Generate and store code snippets by specifying title, language, code, and optional tags, enabling efficient organization and retrieval of programming examples.
Instructions
Create a snippet (specify title, language, and code)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | Code snippet | |
language | Yes | Programming language | |
tags | No | Snippet tags | |
title | Yes | Snippet title |
Input Schema (JSON Schema)
{
"properties": {
"code": {
"description": "Code snippet",
"type": "string"
},
"language": {
"description": "Programming language",
"type": "string"
},
"tags": {
"description": "Snippet tags",
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"description": "Snippet title",
"type": "string"
}
},
"required": [
"title",
"language",
"code"
],
"type": "object"
}