get_method_source
Return full declaration source for .NET methods and other members by name, preserving original formatting, XML docs, and attributes. Batch multiple names in one call.
Instructions
Return the full declaration source (XML docs, attributes, signature, body — original formatting) of one or more members by name: methods (all overloads returned), constructors (request as Widget.Widget or fully qualified Ns.Widget.Widget; nested types need full qualification), properties, indexers (request as Type.this or Type.this[]), fields, events. Batch-friendly: pass many names in one call instead of reading whole files. Per-item statuses: ok, notFound, ambiguous (with candidates), metadata (use peek_il or inspect_external_assembly), unsupportedKind (whole types — use get_type_overview). Items keep request order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of items to return (default: 100) | |
| symbols | Yes | Member names: simple (`MyClass.MyMethod`) or fully qualified (`Ns.MyClass.MyMethod`) |