{
  "title": "JSON response redactor",
  "human_url": "https://happytails.ai/en/developer-tools/json-response-redactor/",
  "agent_url": "https://happytails.ai/agents/en/developer-tools/json-response-redactor/",
  "language": "en",
  "markdown_url": "https://happytails.ai/en/developer-tools/json-response-redactor.md",
  "content": "JSON response redactor\nRemove selected JSON fields or array items locally and export a valid response without retaining removed values in the report.\nHow can we improve this tool?\nReport a problem or share an idea.\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\nHow to use JSON response redactor\nPaste the documented input and choose the relevant settings.\nRun the local diagnostic and inspect its findings.\nDownload the complete output and reports. Tables preview the first 200 rows.\nUseful next steps\nJsonpath tester\nJSON formatter\nRemove exactly the selected paths\nPaths use RFC 6901 syntax, including ~1 for a slash and ~0 for a tilde. Original array indices are respected even when several items are removed. Missing or overlapping paths are rejected. Root removal returns null. The tool does not infer secrets, and you should review the exported response before sharing it.\nKeep the complete report\nJSON records the full result, settings and assumptions. CSV contains exact JSON Pointer paths, value types and JSON value envelopes for every report node, including typed object and array markers. Preview limits do not truncate downloadable reports.",
  "content_format": "text/plain",
  "visibility": "public",
  "links": [
    {
      "name": "Jsonpath tester",
      "url": "https://happytails.ai/en/developer-tools/jsonpath-tester/"
    },
    {
      "name": "JSON formatter",
      "url": "https://happytails.ai/en/developer-tools/json-formatter/"
    }
  ],
  "tool": {
    "id": "json-response-redactor",
    "category": "developer-tools",
    "built": true,
    "requirements": "Remove up to 100 distinct existing JSON Pointer paths. Overlapping paths are rejected. Array items are removed without shifting the selected original indices. Removing the root produces null. Removed values are not retained in the report. This does not automatically detect secrets or support wildcard paths. Processing stays on your device. JSON supports up to 1,000,000 input characters, 50,000 values and 64 nesting levels. Duplicate keys and numbers that cannot survive JSON serialization exactly are rejected. Operations are limited to 100,000 comparisons, 4,000,000 JSON output characters and 8,000,000 CSV output characters. Tables show the first 200 rows; downloads preserve the complete report. CSV uses exact JSON Pointer paths and typed JSON value envelopes for spreadsheet-safe reporting.",
    "implementation": {
      "fields": [
        {
          "key": "paths",
          "label": "JSON Pointers to remove",
          "value": "[\"/token\"]",
          "type": "textarea",
          "maxLength": 200000
        }
      ],
      "presentation": "metrics",
      "inputMaxLength": 1000000,
      "inputErrorCode": "DATA_DIAGNOSTIC_INPUT",
      "note": "Remove up to 100 distinct existing JSON Pointer paths. Overlapping paths are rejected. Array items are removed without shifting the selected original indices. Removing the root produces null. Removed values are not retained in the report. This does not automatically detect secrets or support wildcard paths. Processing stays on your device. JSON supports up to 1,000,000 input characters, 50,000 values and 64 nesting levels. Duplicate keys and numbers that cannot survive JSON serialization exactly are rejected. Operations are limited to 100,000 comparisons, 4,000,000 JSON output characters and 8,000,000 CSV output characters. Tables show the first 200 rows; downloads preserve the complete report. CSV uses exact JSON Pointer paths and typed JSON value envelopes for spreadsheet-safe reporting.",
      "experience": {
        "automatic": false,
        "single": false,
        "inputMaxLength": 1000000,
        "inputMode": "text",
        "label": "JSON input",
        "placeholder": "{\n  \"token\": \"example-token\",\n  \"user\": {\n    \"name\": \"Ada\",\n    \"email\": \"ada@example.test\"\n  },\n  \"items\": [\n    {\n      \"id\": 1\n    },\n    {\n      \"id\": 2\n    },\n    {\n      \"id\": 3\n    }\n  ]\n}",
        "help": "Remove up to 100 distinct existing JSON Pointer paths. Overlapping paths are rejected. Array items are removed without shifting the selected original indices. Removing the root produces null. Removed values are not retained in the report. This does not automatically detect secrets or support wildcard paths. Up to 1,000,000 characters. Review the settings before running.",
        "action": null
      },
      "mode": "explicit",
      "interactive": false
    },
    "execution": "Browser interface",
    "api": null,
    "browser_agent": {
      "supported": true,
      "name": "run_current_tool",
      "discovery": "WebMCP on the human page in a supporting browser",
      "verification": "See audit/API-AUDIT.md; availability is not verification"
    }
  },
  "markdown": "# JSON response redactor\n\n- Human page: https://happytails.ai/en/developer-tools/json-response-redactor/\n- Markdown: https://happytails.ai/en/developer-tools/json-response-redactor.md\n- Structured JSON: https://happytails.ai/agents/en/developer-tools/json-response-redactor/index.json\n- Visibility: public\n\n## Tool capabilities\n\n| Property | Value |\n| --- | --- |\n| Tool ID | `json-response-redactor` |\n| Category | developer-tools |\n| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |\n| Browser execution | Use the visible action or interactive controls. |\n| Browser processing | Browser; see tool notes for network behavior. |\n| HTTP API | Not callable through HTTP. |\n| Browser-agent interface | run_current_tool |\n\n### Implementation notes\n\nRemove up to 100 distinct existing JSON Pointer paths. Overlapping paths are rejected. Array items are removed without shifting the selected original indices. Removing the root produces null. Removed values are not retained in the report. This does not automatically detect secrets or support wildcard paths. Processing stays on your device. JSON supports up to 1,000,000 input characters, 50,000 values and 64 nesting levels. Duplicate keys and numbers that cannot survive JSON serialization exactly are rejected. Operations are limited to 100,000 comparisons, 4,000,000 JSON output characters and 8,000,000 CSV output characters. Tables show the first 200 rows; downloads preserve the complete report. CSV uses exact JSON Pointer paths and typed JSON value envelopes for spreadsheet-safe reporting.\n\n### Inputs and settings\n\nText input: JSON input.\n\nExample or placeholder shown in the interface (not a validated fixture):\n\n```text\n{\n  \"token\": \"example-token\",\n  \"user\": {\n    \"name\": \"Ada\",\n    \"email\": \"ada@example.test\"\n  },\n  \"items\": [\n    {\n      \"id\": 1\n    },\n    {\n      \"id\": 2\n    },\n    {\n      \"id\": 3\n    }\n  ]\n}\n```\n\nRemove up to 100 distinct existing JSON Pointer paths. Overlapping paths are rejected. Array items are removed without shifting the selected original indices. Removing the root produces null. Removed values are not retained in the report. This does not automatically detect secrets or support wildcard paths. Up to 1,000,000 characters. Review the settings before running.\n\n| Setting | Meaning | Control type | Default | Constraints |\n| --- | --- | --- | --- | --- |\n| `paths` | JSON Pointers to remove | textarea | \"[\\\"/token\\\"]\" |  |\n\n### Browser-agent workflow\n\n1. Open the human page in a browser that supports WebMCP.\n2. Discover the interface exposed by that page; use its actual schema.\n3. Select files on the page first when the tool requires files.\n4. Call `run_current_tool` with valid input and settings.\n5. Inspect the returned result or error and the displayed output. Retrieve files from the displayed download links.\n\nCalls do not automatically copy or download results. Browser permissions still apply. Interface availability alone is not proof of successful execution.\n\n### Planning specification\n\nRemove up to 100 distinct existing JSON Pointer paths. Overlapping paths are rejected. Array items are removed without shifting the selected original indices. Removing the root produces null. Removed values are not retained in the report. This does not automatically detect secrets or support wildcard paths. Processing stays on your device. JSON supports up to 1,000,000 input characters, 50,000 values and 64 nesting levels. Duplicate keys and numbers that cannot survive JSON serialization exactly are rejected. Operations are limited to 100,000 comparisons, 4,000,000 JSON output characters and 8,000,000 CSV output characters. Tables show the first 200 rows; downloads preserve the complete report. CSV uses exact JSON Pointer paths and typed JSON value envelopes for spreadsheet-safe reporting.\n\nThis describes intended requirements. Use the implementation notes, interface schema and observed output to determine current support.\n\n### Complete machine-readable capability record\n\n```json\n{\n  \"id\": \"json-response-redactor\",\n  \"category\": \"developer-tools\",\n  \"built\": true,\n  \"requirements\": \"Remove up to 100 distinct existing JSON Pointer paths. Overlapping paths are rejected. Array items are removed without shifting the selected original indices. Removing the root produces null. Removed values are not retained in the report. This does not automatically detect secrets or support wildcard paths. Processing stays on your device. JSON supports up to 1,000,000 input characters, 50,000 values and 64 nesting levels. Duplicate keys and numbers that cannot survive JSON serialization exactly are rejected. Operations are limited to 100,000 comparisons, 4,000,000 JSON output characters and 8,000,000 CSV output characters. Tables show the first 200 rows; downloads preserve the complete report. CSV uses exact JSON Pointer paths and typed JSON value envelopes for spreadsheet-safe reporting.\",\n  \"implementation\": {\n    \"fields\": [\n      {\n        \"key\": \"paths\",\n        \"label\": \"JSON Pointers to remove\",\n        \"value\": \"[\\\"/token\\\"]\",\n        \"type\": \"textarea\",\n        \"maxLength\": 200000\n      }\n    ],\n    \"presentation\": \"metrics\",\n    \"inputMaxLength\": 1000000,\n    \"inputErrorCode\": \"DATA_DIAGNOSTIC_INPUT\",\n    \"note\": \"Remove up to 100 distinct existing JSON Pointer paths. Overlapping paths are rejected. Array items are removed without shifting the selected original indices. Removing the root produces null. Removed values are not retained in the report. This does not automatically detect secrets or support wildcard paths. Processing stays on your device. JSON supports up to 1,000,000 input characters, 50,000 values and 64 nesting levels. Duplicate keys and numbers that cannot survive JSON serialization exactly are rejected. Operations are limited to 100,000 comparisons, 4,000,000 JSON output characters and 8,000,000 CSV output characters. Tables show the first 200 rows; downloads preserve the complete report. CSV uses exact JSON Pointer paths and typed JSON value envelopes for spreadsheet-safe reporting.\",\n    \"experience\": {\n      \"automatic\": false,\n      \"single\": false,\n      \"inputMaxLength\": 1000000,\n      \"inputMode\": \"text\",\n      \"label\": \"JSON input\",\n      \"placeholder\": \"{\\n  \\\"token\\\": \\\"example-token\\\",\\n  \\\"user\\\": {\\n    \\\"name\\\": \\\"Ada\\\",\\n    \\\"email\\\": \\\"ada@example.test\\\"\\n  },\\n  \\\"items\\\": [\\n    {\\n      \\\"id\\\": 1\\n    },\\n    {\\n      \\\"id\\\": 2\\n    },\\n    {\\n      \\\"id\\\": 3\\n    }\\n  ]\\n}\",\n      \"help\": \"Remove up to 100 distinct existing JSON Pointer paths. Overlapping paths are rejected. Array items are removed without shifting the selected original indices. Removing the root produces null. Removed values are not retained in the report. This does not automatically detect secrets or support wildcard paths. Up to 1,000,000 characters. Review the settings before running.\",\n      \"action\": null\n    },\n    \"mode\": \"explicit\",\n    \"interactive\": false\n  },\n  \"execution\": \"Browser interface\",\n  \"api\": null,\n  \"browser_agent\": {\n    \"supported\": true,\n    \"name\": \"run_current_tool\",\n    \"discovery\": \"WebMCP on the human page in a supporting browser\",\n    \"verification\": \"See audit/API-AUDIT.md; availability is not verification\"\n  }\n}\n```\n\n## Page guide\n\nRemove selected JSON fields or array items locally and export a valid response without retaining removed values in the report.\n\nHow can we improve this tool?\n\nReport a problem or share an idea.\n\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\n\n### How to use JSON response redactor\n\n1. Paste the documented input and choose the relevant settings.\n2. Run the local diagnostic and inspect its findings.\n3. Download the complete output and reports. Tables preview the first 200 rows.\n\n## Useful next steps\n\n- [Jsonpath tester](https://happytails.ai/en/developer-tools/jsonpath-tester/) ([Markdown](https://happytails.ai/en/developer-tools/jsonpath-tester.md))\n\n- [JSON formatter](https://happytails.ai/en/developer-tools/json-formatter/) ([Markdown](https://happytails.ai/en/developer-tools/json-formatter.md))\n\n## Remove exactly the selected paths\n\nPaths use RFC 6901 syntax, including ~1 for a slash and ~0 for a tilde. Original array indices are respected even when several items are removed. Missing or overlapping paths are rejected. Root removal returns null. The tool does not infer secrets, and you should review the exported response before sharing it.\n\n### Keep the complete report\n\nJSON records the full result, settings and assumptions. CSV contains exact JSON Pointer paths, value types and JSON value envelopes for every report node, including typed object and array markers. Preview limits do not truncate downloadable reports.\n"
}