search_symbol
Search for symbols by name across one or more .NET assemblies. Filter by type, method, field, property, or event to quickly locate code elements.
Instructions
Search for symbols by name across one or more assemblies.
Matching is case-insensitive substring on the symbol name. You can
search a single DLL or multiple at once — useful when you're not sure
which assembly contains a type (e.g. ["GameData.dll", "Assembly-CSharp.dll"]).
Examples::
# Search all symbol kinds for "MakeLove" in one DLL
search_symbol(
dlls=["Backend/GameData.dll"],
query="MakeLove",
)
# Search only types named "Combat*" across multiple DLLs
search_symbol(
dlls=[
"Backend/GameData.dll",
"Managed/Assembly-CSharp.dll",
],
query="Combat",
kind="type",
)
# Search only methods containing "ChangeHealth"
search_symbol(
dlls=["Backend/GameData.dll"],
query="ChangeHealth",
kind="method",
)Args:
dlls (list[str]): One or more assembly paths to search.
query (str): Case-insensitive substring to match against symbol names.
kind (str): Category filter. One of:
- "any" (default) — all categories
- "type" — only type names
- "method" — only method names
- "field" — only field names
- "property" — only property names
- "event" — only event names
asm_paths (list[str] | None): Extra dependency dirs (almost never
needed — see decompile_type).
Returns: SearchResult: All matches across all DLLs (with owning type info for member matches).
Raises:
InvalidArgumentError: If kind is not a valid category.
DllNotFoundError: If any DLL in dlls does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dlls | Yes | ||
| query | Yes | ||
| kind | No | any | |
| asm_paths | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| kind | Yes | ||
| matches | Yes | ||
| total | Yes |