Clear one or more log buffers
clear_logsClear Electron session log buffers to reset log state before an action. Optionally target specific buffer kinds.
Instructions
Wipe session ring buffers — useful to set a zero point before driving an action. Omit kinds to clear everything.
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": {
"id": "<id>"
},
"name": "clear_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Session id. | |
| kinds | No | Buffers to clear. Default: all. |