Save Session Profile
session_save_profilePreserve a session's cookies and auth state after login. Later, restore that login in new sessions by referencing the saved profile.
Instructions
Save a session's cookies and auth state to disk. Use this after logging in to a site so future sessions can restore that login. Pass the returned profile path to session_create's profilePath to reuse it.
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": {
"sessionId": "<sessionId>",
"name": "<name>"
},
"name": "session_save_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session ID to save. | |
| name | Yes | Profile name (e.g. 'google', 'github'). Overwrites if exists. |