cleanup_old_sessions
Remove session records older than the specified number of days to free up memory and keep the session store tidy.
Instructions
Remove sessions older than specified days
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cleanup_old_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Delete sessions older than N days (default: 30) |