list_events
List all events defined in an assembly. This tool reads the Event metadata table directly using dnfile — no ilspycmd required. Results include the event name, declaring type, and namespace, grouped by fully qualified type name.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
assembly_path | string | Yes | — | Full path to the .NET assembly (.dll or .exe) |
type_filter | string | null | No | null | Only list events in types containing this string |
namespace_filter | string | null | No | null | Only list events in namespaces containing this string |
Example
Section titled “Example”{ "tool": "list_events", "arguments": { "assembly_path": "/path/to/MyApp.dll", "namespace_filter": "MyApp.UI" }}result = await client.call_tool("list_events", { "assembly_path": "/path/to/MyApp.dll", "namespace_filter": "MyApp.UI",})Response
Section titled “Response”Events grouped by declaring type, each listed with the event keyword and name. Results support pagination via max_results and offset parameters.
Related Tools
Section titled “Related Tools”search_methods— find event handler methodssearch_properties— find related propertiesget_metadata_summary— see total event count