dastyar_admin_set_session
Manually set or update the KeystoneJS admin session cookie to restore or switch admin access when automatic authentication is unavailable.
Instructions
Manually set or update the KeystoneJS admin session cookie
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": {
"cookie": "<cookie>"
},
"name": "dastyar_admin_set_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cookie | Yes | Session cookie string (e.g. keystonejs-session=...) |