unmap_stack_trace
Restore original function names in obfuscated Python stack traces by supplying a pyobfus mapping.json file.
Instructions
Reverse obfuscated identifiers in a stack trace using a pyobfus mapping.json. Accepts the trace as plain text and the path to a mapping file produced by --save-mapping.
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": {
"trace": "<trace>",
"mapping_path": "<mapping_path>"
},
"name": "unmap_stack_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trace | Yes | ||
| mapping_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |