Audit a redirect target
audit_redirectValidate relative or absolute redirect targets against explicit origin, host, protocol, query, fragment, dot-segment, and blocked-path policies to prevent unsafe redirects.
Instructions
Check a relative or absolute redirect target with redirectcage against explicit origin, host, protocol, query, fragment, dot-segment, and blocked-path policy.
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": {
"target": "<target>"
},
"name": "audit_redirect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| fallback | No | ||
| allowHash | No | ||
| maxLength | No | ||
| allowQuery | No | ||
| allowedHosts | No | ||
| blockedPaths | No | ||
| allowUserinfo | No | ||
| allowProtocols | No | ||
| allowedOrigins | No | ||
| allowIpLiterals | No | ||
| allowSubdomains | No | ||
| maxDecodeLayers | No | ||
| normalizeDotSegments | No |