sessions_trash
Move sessions by IDs or tag to the workspace trash, with RESTORE.txt enabling reversal. Refuses the calling session and sessions created by others unless forced or created together.
Instructions
Move sessions (by ids or tag) to the workspace trash. Reversible: RESTORE.txt.
Refused for the calling session, and unless a session made with
sessions_create lists all of them in made_from (force skips only that
check). Sessions made from others are left out.
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": "sessions_trash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| tag | No | ||
| force | No | ||
| all_projects | No |