stacktrace_render
Shows a stack trace to the user as a formatted, syntax highlighted view (.NET and JavaScript). Use this whenever the user shares or asks about a stack trace, from elmah.io or from their own code, instead of repeating it in a code block. Pass the stack trace exactly as received. It does not analyze the trace; explain it in your own reply.
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": {
"stackTrace": "<stackTrace>"
},
"name": "stacktrace_render"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | The language of the stack trace. Leave as Auto unless detection gets it wrong. | Auto |
| stackTrace | Yes | The stack trace text, exactly as received, including the exception type and message lines. |