{
  "slug": "parse-tcp-header",
  "name": "gizza-ai/parse-tcp-header",
  "version": "0.1.0",
  "title": "TCP Header Parser — decode a raw TCP segment header from hex — gizza.ai",
  "description": "Decode a raw TCP header from hex in your browser: ports, sequence/ack numbers, SYN/ACK/FIN flags, window, checksum and TCP options. Nothing is uploaded.",
  "tags": [
    "tcp header parser",
    "decode tcp header",
    "tcp segment header",
    "tcp flags",
    "syn ack fin",
    "tcp options",
    "mss",
    "window scale",
    "sequence number",
    "tcp port"
  ],
  "category": "network",
  "urls": {
    "page": "https://gizza.ai/tools/parse-tcp-header/",
    "markdown": "https://gizza.ai/tools/parse-tcp-header/index.md",
    "descriptor": "https://gizza.ai/tools/parse-tcp-header/tool.json",
    "deep_link_example": "https://gizza.ai/tools/parse-tcp-header/?header=c213%200050%204f8e%206b1a%200000%200000%205002%20ffff%20fe34%200000"
  },
  "cli": "gizza tool parse-tcp-header 'header=c213 0050 4f8e 6b1a 0000 0000 5002 ffff fe34 0000'",
  "tool": {
    "description": "Decode a raw TCP segment header given as a hex string into structured fields: source and destination ports, sequence and acknowledgement numbers (decimal and hex), data offset (header length in 32-bit words and bytes), the reserved bits, the control flags (NS, CWR, ECE, URG, ACK, PSH, RST, SYN, FIN) plus a space-separated list of the set flags, the receive window, the checksum, the urgent pointer, and any TCP options (named when known — MSS, Window Scale, SACK-Permitted, SACK, Timestamps — with their length and decoded value) when the data offset is greater than 5. Input may contain spaces, colons, dashes, dots, or a 0x prefix. Returns JSON. Runs locally.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "input": {
          "type": "string"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  }
}