set_cookie
Set a cookie value in the browser to manage session state during security testing and penetration workflows.
Instructions
Set a single cookie. Useful for session token replay.
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": {
"name": "<name>",
"value": "<value>"
},
"name": "set_cookie"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | No | / | |
| value | Yes | ||
| domain | No | .localhost | |
| secure | No | ||
| http_only | No | ||
| same_site | No | Lax |