On this page
Reference
ctx_architecture
Input contract and parameters for ctx_architecture.
MCP tool · Search & code intelligence
Call this tool through your MCP client. Its availability depends on your active configuration and profile.
This registry contract is separate from the SDK. For terminal commands, use the CLI reference.
Parameters
Generated from the registered input schema. “Required” reflects the schema; individual actions can impose additional requirements.
actionstringoverview|clusters|communities|layers|cycles|entrypoints|hotspots|health|module
Accepted: overviewclusterscommunitieslayerscyclesentrypointshotspotshealthmodule
formatstringOutput format: text|json (default text)
pathstringModule/file path
rootstringProject root
Exact JSON schema
Inspect the complete input schema
{
"properties": {
"action": {
"description": "overview|clusters|communities|layers|cycles|entrypoints|hotspots|health|module",
"enum": [
"overview",
"clusters",
"communities",
"layers",
"cycles",
"entrypoints",
"hotspots",
"health",
"module"
],
"type": "string"
},
"format": {
"description": "Output format: text|json (default text)",
"type": "string"
},
"path": {
"description": "Module/file path",
"type": "string"
},
"root": {
"description": "Project root",
"type": "string"
}
},
"required": [],
"type": "object"
}Runtime description
The following is the tool's own agent-facing description, reproduced from the reviewed registry. It can contain implementation terminology; it does not expand the public stability commitment.
Read the agent-facing description
Architecture analysis — understand module structure without reading every file.
WORKFLOW: use ctx_compose FIRST for code understanding; ctx_architecture for high-level structure.
action=overview→high-level; clusters|communities→groupings;
layers|cycles→dependency violations; entrypoints|hotspots→risk areas;
health→quality; module path='src/' to zoom into a specific module.
ANTIPATTERN: does NOT show source code — only structural relationships.Sources & versions
- mcp_manifest.rsrust/src/core/mcp_manifest.rsReviewed checkout
- registry.rsrust/src/server/registry.rsReviewed checkout
- dynamic_tools.rsrust/src/server/dynamic_tools.rsReviewed checkout
- Core checkout
50fbff09c9- Installed runtime
- 3.10.2
- SDK release
- 1.1.0
Separate baselines for source, CLI/configuration and SDK contracts. Review does not certify every platform or integration.
Versions & compatibility