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.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
assembly_path | string | Yes | — | Full path to the .NET assembly (.dll or .exe) |
pattern | string | Yes | — | Search pattern to match against property names |
type_filter | string | null | No | null | Only search properties in types containing this string |
namespace_filter | string | null | No | null | Only search in namespaces containing this string |
case_sensitive | bool | No | false | Whether pattern matching is case-sensitive |
use_regex | bool | No | false | Treat pattern as a regular expression |
Example
Section titled “Example”{ "tool": "search_properties", "arguments": { "assembly_path": "/path/to/MyApp.dll", "pattern": "ConnectionString", "namespace_filter": "MyApp.Data" }}result = await client.call_tool("search_properties", { "assembly_path": "/path/to/MyApp.dll", "pattern": "ConnectionString", "namespace_filter": "MyApp.Data",})Response
Section titled “Response”Properties grouped by declaring type, listing each property name. Results support pagination via max_results and offset parameters.
Related Tools
Section titled “Related Tools”search_fields— find fields and constantssearch_methods— find methods by name patterndecompile_assembly— decompile a type to see property implementations