Skip to content

search_properties

Search for properties in an assembly by name pattern. This tool reads the Property metadata table directly using dnfile — no ilspycmd required. Results include the property name and its declaring type, grouped by fully qualified type name.

ParameterTypeRequiredDefaultDescription
assembly_pathstringYesFull path to the .NET assembly (.dll or .exe)
patternstringYesSearch pattern to match against property names
type_filterstring | nullNonullOnly search properties in types containing this string
namespace_filterstring | nullNonullOnly search in namespaces containing this string
case_sensitiveboolNofalseWhether pattern matching is case-sensitive
use_regexboolNofalseTreat pattern as a regular expression
{
"tool": "search_properties",
"arguments": {
"assembly_path": "/path/to/MyApp.dll",
"pattern": "ConnectionString",
"namespace_filter": "MyApp.Data"
}
}

Properties grouped by declaring type, listing each property name. Results support pagination via max_results and offset parameters.