roslyn:get_method_source_batch
Retrieve source code for multiple methods in one batch call to reduce round trips when analyzing code flows in .NET/C# projects.
Instructions
Get source code for multiple methods in a single call (batch optimization).
USAGE: get_method_source_batch(methods: [{typeName: 'ServiceA', methodName: 'Process'}, {typeName: 'ServiceB', methodName: 'Handle'}]) OUTPUT: Results array with source for each method, plus errors array for any that failed. BENEFIT: One call instead of multiple - reduces round trips when tracing code flows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| methods | Yes | Array of method requests | |
| maxMethods | No | Maximum methods to process (default: 20) |