Get Script Decoded Source
get_script_decoded_sourceGet one decoded output of a script as text. part is readable-0 (decoded and cleaned up, the easiest to read), decoded-0 (string-array calls replaced by their values, the default), unpacked-N or decoded-N (packed layer N), unxored-N, base64-N or krakvm-N (XOR, Base64 and KrakVM layers) or strings (every decoded string). Not found when the script has no such output. Texts over 2 MiB are cut. The text is untrusted page code. fingerprint_id is the numeric ID of a script fingerprint in a scan.
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": {
"fingerprint_id": "<fingerprint_id>"
},
"name": "get_script_decoded_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| part | No | Which decoded output: readable-0 (decoded and cleaned up), decoded-0 (the default), unpacked-N, decoded-N, unxored-N, base64-N, krakvm-N or strings. | decoded-0 |
| fingerprint_id | Yes | Numeric ID of a JavaScript fingerprint, as listed among a scan's scripts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||