Skip to content

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.

ParameterTypeRequiredDefaultDescription
assembly_pathstringYesFull path to the .NET assembly (.dll or .exe)
type_filterstring | nullNonullOnly list events in types containing this string
namespace_filterstring | nullNonullOnly list events in namespaces containing this string
{
"tool": "list_events",
"arguments": {
"assembly_path": "/path/to/MyApp.dll",
"namespace_filter": "MyApp.UI"
}
}

Events grouped by declaring type, each listed with the event keyword and name. Results support pagination via max_results and offset parameters.