set_cookie
Sets a browser cookie by specifying name, value, domain, path, or URL to manage session state during automated browser interactions.
Instructions
set_cookie("token", "abc", domain=".example.com")
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 |
|---|---|---|---|
| url | No | ||
| name | Yes | ||
| path | No | ||
| value | Yes | ||
| domain | No |