Module Context
get_module_contextMap a module's files, exports, dependencies, DB tables, endpoints, and callers before changing code or planning changes to understand impact.
Instructions
One module's profile: what it contains, depends on and is called by.
CALL THIS WHEN: • Changing code in a module, or planning a change to it • Finding what a module exports, depends on, or which code calls into it
RETURNS: Files, LOC, exported signatures with complexity, imports in and out, DB tables, endpoints, cron jobs, env vars, and callers in other modules, grouped by module.
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": {
"repo": "<repo>",
"module": "<module>"
},
"name": "get_module_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name — one of your connected repos. | |
| module | Yes | Module name (e.g., "crons", "slack", "db") |