Social Forget Session
social_forget_sessionRemove a stored user session from the server and disk. Optionally invalidate the session ID on Scratch to log out all clients using it.
Instructions
Drop a session from this server and from the on-disk store.
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": {
"username": "<username>"
},
"name": "social_forget_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logout | No | Also invalidate the session id server-side on Scratch. This breaks any other client using the same session id, including the user's browser if the login came from there. | |
| username | Yes | Username of the session to remove. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |