trace_alias
Trace an alias chain to find the original source of a variable. Resolves aliases back to the original method or object property.
Instructions
Trace an alias chain to find the original source. For code like: const alias = obj.method; alias(); This traces "alias" back to "obj.method".
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": {
"variableName": "<variableName>",
"file": "<file>"
},
"name": "trace_alias"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variableName | Yes | Variable name to trace | |
| file | Yes | File path where the variable is defined |