Audit or serialize cookies
audit_cookieParse Cookie headers with duplicate-key and percent-encoding protection, or serialize Set-Cookie values using hardened defaults; parsed values are redacted from responses.
Instructions
Parse a Cookie header with duplicate and percent-encoding protection, or serialize a Set-Cookie value with hardened cookiecage defaults. Parsed cookie values are redacted from the response.
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": {
"mode": "<mode>"
},
"name": "audit_cookie"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| name | No | ||
| value | No | ||
| header | No | ||
| options | No | ||
| parseOptions | No |