list_snippets
List code snippets from CodeMenu without full code to reduce token usage; filter by tag, group, query, or language.
Instructions
List code snippets from CodeMenu without full code content (to reduce token usage). Returns id, title, description, language, abbreviation, tags, and group info.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_snippets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Filter by tag ID - returns snippets with this tag | |
| group | No | Filter by group ID - returns snippets in this group | |
| query | No | Search query - returns snippets whose code, title, or description contain this text | |
| language | No | Filter by programming language (e.g., javascript, python, swift) |