प्रलेखन

टूल संदर्भ

सभी 58 LeanCTX MCP टूल्स के लिए पूर्ण संदर्भ, श्रेणी के अनुसार संगठित।

LeanCTX चार श्रेणियों में संगठित 58 MCP टूल्स प्रदान करता है। प्रत्येक टूल AI द्वारा स्वचालित रूप से उपयोग किया जाता है - आपको इनमें से कोई भी कमांड सीखने या टाइप करने की आवश्यकता नहीं।

कोर टूल्स - फ़ाइल और कोड

आधार। ये फ़ाइल रीडिंग, डायरेक्टरी अन्वेषण, कमांड निष्पादन और कोड खोज संभालते हैं - वे ऑपरेशन जो AI कोडिंग इंटरैक्शन का 90% बनाते हैं।

टूलयह क्या करता हैबचत
ctx_read10 read modes + सत्र कैशिंग के साथ स्मार्ट फ़ाइल रीडup to 99%
ctx_multi_readएक कॉल में बैच फ़ाइल रीडकम राउंड-ट्रिप
ctx_treeसंक्षिप्त प्रोजेक्ट संरचना मैप34-60%
ctx_shell95+ पैटर्न कम्प्रेशन के साथ शेल कमांड। अनकम्प्रेस्ड आउटपुट के लिए raw=true का उपयोग करें।
ctx_searchसंक्षिप्त परिणामों के साथ Regex कोड खोज50-80%
ctx_editContext-aware file editor with create, replace, and replace_all-
ctx_deltaShow only changed lines since last read80-95%
ctx_smart_readIntelligent single-call read with auto-modevaries

पूर्ण कोर टूल्स प्रलेखन देखें →


बुद्धिमत्ता इंजन

कम्प्रेशन से परे जाने वाले टूल्स - ये आपके वर्कफ़्लो को समझते हैं, इंटेंट पहचानते हैं, संदर्भ डीडुप्लिकेट करते हैं, और बुद्धिमानी से टोकन बजट प्रबंधित करते हैं।

टूलयह क्या करता है
ctx_fillटोकन बजट के साथ प्राथमिकता-आधारित संदर्भ भरना
ctx_intentसिमेंटिक इंटेंट डिटेक्शन + ऑटो फ़ाइल लोडिंग
ctx_contextबहु-टर्न संदर्भ स्थिति अवलोकन
ctx_graphस्थायी प्रोजेक्ट डिपेंडेंसी ग्राफ़ (build, related, symbol, impact)
ctx_dedupक्रॉस-फ़ाइल डीडुप्लिकेशन विश्लेषण
ctx_responseद्विदिशात्मक प्रतिक्रिया कम्प्रेशन
ctx_discoverछूटे हुए कम्प्रेशन अवसरों के लिए शेल इतिहास विश्लेषण
ctx_preloadप्रोएक्टिव कॉन्टेक्स्ट लोडर - सत्र शुरू होने पर कार्य-प्रासंगिक फ़ाइलें कैश करता है
ctx_semantic_searchहाइब्रिड सिमेंटिक खोज (BM25 + embeddings) - कीवर्ड ओवरलैप न होने पर भी अर्थ से कोड ढूंढती है
ctx_overviewProject overview with structure, entry points, and key files
ctx_prefetchPre-load files based on task context and changed files
ctx_graph_diagramडिपेंडेंसी/कॉल ग्राफ़ के Mermaid डायग्राम
ctx_compress_memoryमेमोरी/कॉनफ़िग Markdown कम्प्रेस (कोड/URL सुरक्षित) + .original बैकअप
ctx_impactImpact analysis: trace dependency chains and build graphs
ctx_architectureGraph-based architecture analysis: clusters, layers, cycles
ctx_analyzeEntropy analysis - recommends optimal compression mode

पूर्ण बुद्धिमत्ता इंजन प्रलेखन देखें →


सत्र और निगरानी

सत्र स्थायित्व, प्रदर्शन निगरानी, कम्प्रेशन विश्लेषण और बेंचमार्किंग - आपकी टोकन बचत को मापने और अनुकूलित करने के लिए सब कुछ।

टूलयह क्या करता है
ctx_sessionक्रॉस-चैट सत्र मेमोरी (कार्य, खोज, निर्णय)
ctx_compressचैट निरंतरता के लिए संक्षिप्त संदर्भ चेकपॉइंट
ctx_benchmarkप्रति मोड वास्तविक टोकन गणना - एकल फ़ाइल या प्रोजेक्ट-व्यापी
ctx_metricsUSD लागत अनुमानों के साथ सत्र आँकड़े
ctx_wrappedबचत रिपोर्ट कार्ड (साप्ताहिक / मासिक / सर्वकालिक)
ctx_cacheस्पष्ट कैश प्रबंधन (स्थिति, साफ़, अमान्य)
ctx_gainQuery token savings, GainScore (0–100), cost breakdowns, task classifications, and per-agent statistics. Powered by the GainEngine with embedded ModelPricing.
ctx_heatmapFile access heatmap - find hot files and cold directories

पूर्ण सत्र और निगरानी प्रलेखन देखें →


मेमोरी और मल्टी-एजेंट

क्रॉस-सत्र मेमोरी, मल्टी-एजेंट समन्वय, और कार्य-जागरूक प्रोजेक्ट अभिविन्यास। v2.7.0 में नया।

टूलयह क्या करता है
ctx_knowledgeस्थायी प्रोजेक्ट ज्ञान भंडार - सत्रों में तथ्य याद रखें
ctx_agentमल्टी-एजेंट समन्वय - पंजीकरण, पोस्टिंग, कार्य हस्तांतरण, स्थिति सिंक
ctx_shareमल्टी-एजेंट कॉन्टेक्स्ट शेयरिंग - एजेंटों के बीच कैश्ड फ़ाइल कंटेंट पुश/पुल
ctx_taskTask delegation and tracking across agents
ctx_costCost attribution - track token spend per agent and tool
ctx_contextबहु-टर्न संदर्भ स्थिति अवलोकन

पूर्ण मेमोरी और मल्टी-एजेंट प्रलेखन देखें →


Workflow & Orchestration

State machines, context handoff, sandboxed code execution, and quality feedback loops.

टूलयह क्या करता है
ctx_workflowState-machine workflows with step ordering and evidence
ctx_handoffContext transfer between sessions or agents
ctx_executeSandboxed code execution in 11 languages
ctx_feedbackQuality feedback: latency, token counts, model info

View Workflow & Orchestration docs →


Analysis & Navigation

Tree-sitter-powered symbol navigation, call graphs, route extraction, and structural outlining.

टूलयह क्या करता है
ctx_symbolFind symbol definitions across 18 languages
ctx_callersFind all call sites of a function
ctx_calleesFind all functions called by a symbol
ctx_outlineStructural outline of a file
ctx_routesExtract HTTP routes from web frameworks
ctx_smellsCode smell detection with graph-enriched scoring (long functions, deep nesting, complexity)
ctx_smellsDetect code smells and anti-patterns

View Analysis & Navigation docs →