Get Review Context
review_contextAssembles review context for changed symbols in one call: fan-in, transitive impact with risk level, implementing types and likely covering tests. Use before reviewing or refactoring code.
Instructions
Assemble review context for a set of changed symbols in ONE call: per symbol the fan-in, transitive impact with a risk level, implementing types and likely covering tests that find_usages, impact_of_change, find_implementations and find_tests_for answer one symbol at a time. Use it before reviewing or refactoring. It names no callers (ask find_usages or impact_of_change) and returns no code (ask explain_symbol).
Returns a JSON array ordered by symbol NAME - index it by 'symbol', never by request position. Per entry: symbol, resolvedKind, directUsages, transitiveImpact, risk (none/low/medium/high), implementations (names, for an interface; test doubles too, which find_implementations filters by default), coveringTests (testType, testMethod, project, matchReason), coveringTestsTotal, coveringTestsTruncated. An unresolved name reads resolvedKind 'not_found' with a 'note', no risk and 'nearest' (a close declared name, when there is one). A 'note' also flags a risk graded on the direct fan-in or on implementers alone, and unread VB, F# or markup code. For a bare name several types share, the counts are their union and no note says so - find_usages names the namesakes.
'coveringTests' is find_tests_for's list, strongest evidence first, capped at 50 per symbol: the cap keeps the 50 strongest rows, so name guesses go first, strong rows too once there are more than 50. find_tests_for stops at the same 50, so narrow the symbol rather than re-query. 'invokesTotal' (strong rows) and 'dispatchTotal' (rows reaching the symbol through an interface, abstract or virtual member) count the WHOLE list and can exceed the rows shown; coveringTestsTotal minus both is the name guesses. For a qualified method, directUsages and transitiveImpact include callers credited through such a member - see 'viaContract' / 'viaContractNote'.
Read-only. symbols must not be empty and resolve as in find_usages.
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": {
"sessionId": "<sessionId>",
"symbols": "<symbols>"
},
"name": "review_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbols | Yes | The changed type/method names to assemble review context for: a type's simple name, or a member bare or as Type.Member. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |