evaluate
Evaluates a C# expression within a selected stack frame, returning the result as a string with a reference for compound values.
Instructions
Evaluate a C# expression in the context of a stack frame. Returns the result as a string plus a variablesReference if the result is a compound value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frameId | No | Frame id from stacktrace_get. Defaults to the global (no-frame) context. | |
| expression | Yes | Expression to evaluate (e.g. "user.Id", "items.Count"). |