sharphy_extract_tokens
Extracts runtime tokens and types by loading target assemblies into an isolated collectible AssemblyLoadContext, enabling dynamic type inspection without file locks or host runtime pollution.
Instructions
Safely extracts runtime tokens and types by loading target assemblies inside an isolated collectible AssemblyLoadContext (isCollectible: true). Use this tool when dynamically inspecting types without locking files on disk or polluting the host runtime. Do NOT use for static disassembly without runtime loading (use 'sharphy_inspect_metadata'). Sandboxed read-only execution.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"assemblyPath": "<assemblyPath>"
},
"name": "sharphy_extract_tokens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assemblyPath | Yes | Path to the target assembly |