get_account_status | See your current plan, available tools, and credit balance. Call this if a tool returns a tier error or you want to know what tools are available. | |
list_projects | Start here. Returns all synced codebases with their size, language, and project name. You need the project name for every other tool. If this returns | |
sync_project | Import a public GitHub repo into Seshat for structural analysis. Call this when list_projects returns empty or when the user wants to analyze a new re | |
query_entities | Like grep but for code structure. Find functions, classes, and routes by name, architectural layer (route/service/component), or module. Returns match | |
get_entity | Get everything about one function or class — its signature, callers, callees, data flow, constraints, source location, and database operations (which | |
get_dependencies | Trace who calls a function and what it calls, up to N levels deep. Use this instead of grep-for-function-name when you need the actual call chain — re | |
get_data_flow | See what data a function reads, returns, and mutates (DB writes, state changes). Use this when debugging data bugs or when you need to verify whether | |
find_by_constraint | Find every function with a specific syntactic constraint tag — AUTH (requires authentication), DB_ACCESS (touches database), THROWS (explicit throw st | |
get_blast_radius | Before modifying a function, call this to see everything that could break. Returns all transitively affected symbols — both upstream callers and downs | |
get_lineage | The change history of one symbol, typed by what kind of change each commit made (body, calls, data, signature, constraints…), with CI verdicts, revert | |
get_hotspots | Project-level change-history orientation: the most-changed entities (and what kind of change dominates each), low-survival thrash spots where changes | |
get_co_change_clusters | The codebase's hidden modules: groups of symbols that historically change together (≥3 shared commits, sweep commits excluded), computed from real com | |
list_modules | Get a bird's-eye view of how the codebase is organized. Groups all symbols by architectural layer (route/service/component), module, file, or language | |
get_topology | Get the full API surface map in one call — all routes, middleware, auth patterns, and database tables. Use this when you need to understand the overal | |
get_optimal_context | Before working on a function, call this to get the most relevant related code ranked by importance and fitted to a token budget. Returns a prioritized | |
find_entry_points | List the ways into the system: route/controller handlers, test entries, framework plugin registrations, and exported symbols (the public API surface), | |
trace_data_path | Follow data from one function through the call graph to its sinks. From a start entity it walks callees, records the data each hop consumes/produces/m | |
find_dead_code | Find functions that nothing calls. Walks the call graph from all entry points (routes, exports, tests) and flags symbols that are unreachable. Use thi | |
find_layer_violations | Find places where the architecture is broken — a database repository calling a route handler, a utility importing a component. Returns every backward | |
get_coupling_metrics | Measure how tangled your code is. Returns coupling (cross-boundary dependencies), cohesion (within-group dependencies), and instability scores. High c | |
get_auth_matrix | Audit authentication coverage. Shows which API routes and controllers require auth and which don't, plus inconsistencies like database access without | |
find_error_gaps | Find crash risks: functions that throw or have network/DB side effects whose callers don't catch errors. Returns the specific caller→callee pairs wher | |
get_test_coverage | See which production functions are actually exercised by tests via the call graph — semantic coverage, not line coverage. Optionally ranks uncovered f | |
find_ownership_violations | Find memory and lifecycle issues — entities with complex ownership, unsafe blocks, escaping references, or illegal mutability on borrowed data. Return | |
query_traits | Find functions by inferred behavioral trait — "fallible" (can fail, including transitively via callees that throw), "asyncContext" (carries async stat | |
find_exposure_leaks | Find places where public/API code directly accesses private internals, bypassing the intended abstraction boundary. Use this during API design reviews | |
find_semantic_clones | Find duplicated logic across the codebase. Normalizes variable names and compares code structure to catch identical algorithms in different files — ev | |