save_code_snippet
Store code snippets in an Obsidian vault with titles, language, tags, and descriptions to organize reusable code and keep it searchable.
Instructions
Save a code snippet to the Obsidian vault with metadata
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>",
"language": "<language>"
},
"name": "save_code_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code snippet content | |
| tags | No | Tags for categorization | |
| title | Yes | Title for the snippet | |
| language | Yes | Programming language (e.g., python, javascript, typescript) | |
| description | No | Description of what the code does |