unescape_nested_json_logs
Recursively unescape nested stringified JSON fields in gateway, Kafka, or OpenTelemetry .json/.jsonl logs while preserving 64-bit IDs and redacting JWT signatures.
Instructions
Recursively un-escapes nested stringified JSON fields inside gateway, Kafka, or OpenTelemetry .json/.jsonl logs while preserving exact 64-bit Snowflake IDs and redacting JWT signatures.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "unescape_nested_json_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | Optional local file path to a .json or .jsonl log file on disk when payloadContent is omitted. | |
| payloadContent | No | Raw JSON or multi-line .jsonl log text containing double- or triple-escaped JSON string fields. | |
| quoteUnsafeNumbers | No | When true, quotes unsafe int64/uint64/decimal literals as strings in the un-escaped output so downstream JSON.parse() callers stay lossless. |