Prune
pruneDelete idle worker and shared sessions that have run no job for a configurable number of hours, while preserving sessions with running or queued jobs. This action cannot be undone.
Instructions
Delete your worker sessions, and the shared ones, that ran no job for older_than hours, such as the
sessions of a main session that ended. A session with a running or queued job stays. It cannot be undone.
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": "prune"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| worker | No | ||
| older_than | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||