muse_collect_code_context
Collect code blocks and conversation summaries into structured documentation context with automatic language detection, duplicate removal, and statistics.
Instructions
Collects code blocks and conversation summaries into a structured context for documentation. Supports automatic language detection, duplicate removal, and statistics.
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": {
"conversationSummary": "<conversationSummary>"
},
"name": "muse_collect_code_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codeBlocks | No | Array of code blocks with language and code content | |
| rawText | No | Raw text containing code blocks to extract (alternative to codeBlocks) | |
| conversationSummary | Yes | Summary of the conversation or context | |
| tags | No | Optional tags for categorization (language tags auto-added) | |
| autoDetectLanguage | No | Automatically detect programming language (default: true) | |
| removeDuplicates | No | Remove duplicate code blocks (default: true) | |
| includeStats | No | Include code statistics in output (default: true) |