transport_cleanup
Clean non-hosted Transport state by rotating events, archiving old logs, and marking orphaned runs. Dry run returns planned actions without mutating state.
Instructions
Clean non-hosted Transport state; hosted mode returns local-ledger guidance.
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": "transport_cleanup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Non-hosted only: return planned cleanup actions without mutating state. | |
| max_events | No | Non-hosted only: keep this many recent Transport events before rotating. | |
| max_log_bytes | No | Non-hosted only: gzip completed run logs above this byte size. | |
| archive_after_hours | No | Non-hosted only: archive returned runs older than this many hours. | |
| orphan_after_seconds | No | Non-hosted only: mark inactive runs orphaned after this many seconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||