desktop_session_gc
Remove ended or provably stale desktop sessions, optionally filtering by ended status or age, to keep session records clean and current.
Instructions
agent-desktop session gc: Remove ended or provably-stale sessions
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": "desktop_session_gc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ended | No | Only consider sessions that already have ended_at set, and remove them even when their trace was written in the last few minutes | |
| older_than | No | Only remove sessions whose ended_at/created_at age exceeds this many seconds |