roslyn:analyze_method
Get comprehensive method analysis in one call: signature, callers, outgoing calls, and location. Specify a type and method to understand its usage and dependencies.
Instructions
Get comprehensive method analysis in ONE CALL: signature + callers + outgoing calls + location.
USAGE: analyze_method("MyService", "ProcessData") or analyze_method("MyClass", "Calculate", includeCallers=true, includeOutgoingCalls=true)
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": {
"typeName": "<typeName>",
"methodName": "<methodName>"
},
"name": "roslyn:analyze_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| typeName | Yes | Containing type name | |
| maxCallers | No | Max callers to return (default: 20) | |
| methodName | Yes | Method name | |
| includeCallers | No | Include caller analysis (default: true) | |
| maxOutgoingCalls | No | Max outgoing calls to return (default: 50) | |
| includeOutgoingCalls | No | Include methods/properties this method calls (default: false) |