session_set_cookie
Set browser cookies with custom name, value, domain, path, and security flags to manage sessions during automated browser testing and security assessments.
Instructions
Set a cookie in the browser
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": "session_set_cookie"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Cookie name | |
| value | Yes | Cookie value | |
| domain | No | Cookie domain | |
| path | No | Cookie path | / |
| secure | No | Secure flag | |
| http_only | No | HttpOnly flag |