extract_conversation_elements
Extract files, code blocks, languages, folders, metadata, and structure from Cursor conversations to build knowledge bases, analyze patterns, and prepare data for documentation.
Instructions
Extract specific elements from conversations such as file references, code blocks, programming languages, folder paths, metadata, or conversation structure. Use this to build knowledge bases, analyze code patterns, extract reusable snippets, understand project file usage, or prepare data for further analysis and documentation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conversationIds | No | Specific conversation IDs to extract elements from (if not provided, extracts from all conversations) | |
| elements | No | Types of elements to extract from conversations | |
| includeContext | No | Include surrounding context for extracted elements | |
| groupBy | No | How to group the extracted elements in the output | conversation |
| filters | No | Filters to apply when extracting elements | |
| outputMode | No | Output format: "json" for formatted JSON (default), "compact-json" for minified JSON | json |