ctx_compose
Intelligence ToolsPRIMARY TOOL — call FIRST for understanding code (before editing/debugging/'how does X work'). Returns ranked files with relevant symbol source inline grouped by file. Combines BM25 lexical+semantic+associative retrieval+submodular optimization. ANTIPATTERN: Do NOT chain search→read→symbol — one compose replaces the whole chain. ANTIPATTERN: Do NOT Read files whose source compose already returned — it IS the source. WORKFLOW: Fire parallel ctx_read or ctx_compose for different areas.
Parameters
2
Required
1
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
path | string | No | Project root |
task | string | Yes | Short English task/question or symbol names |
Call shape
Derived from the input schema: required parameters, plus the most common optional ones.
ctx_compose(task="<task>", path="<path>") More in Intelligence Tools
ctx_analyze ctx_architecture ctx_compress ctx_compare ctx_compress_memory ctx_dedup ctx_discover ctx_expand
Schema MD5:
567610b899df3ce84374882ee38629cd764c3bf53b1eb5bf7c2ee857a2d98e4c ← Back to all tools