masscode_create_snippet
Create a new code snippet in MassCode by providing a title and content, with optional tags, folder, and favorite status.
Instructions
Create a new snippet in MassCode.
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": {
"name": "<name>",
"content": "<content>"
},
"name": "masscode_create_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Snippet title | |
| tagIds | No | Tag IDs to attach (numbers or strings) | |
| content | Yes | One or more content fragments (tabs) | |
| folderId | No | Parent folder ID (number or string) | |
| isFavorite | No | Mark as favourite | |
| description | No | Short description |