task_close
Close a context to release its in-memory snapshots and observations, optionally retaining or canceling owned jobs without deleting user files.
Instructions
Close this context and release its in-memory snapshots and observations. owned_jobs=retain preserves owned jobs; owned_jobs=cancel requests cancellation of owned work and can terminate owned process trees. Does not delete user files. Inspect each returned disposition; cancel_requested does not mean termination was observed.
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": {
"context_id": "<context_id>"
},
"name": "task_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context_id | Yes | ||
| owned_jobs | No | retain |