clear_logs
Permanently deletes all entries in a profile's query log with no undo. Requires a two-step confirmation code before any data is removed.
Instructions
DELETES every entry in a profile's query log, for good (no undo). Only when the user asked. Needs a double confirmation: the first call deletes nothing and gives a code; ask the user, and only after they say yes, call again with confirm_code.
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": {
"profile": "<profile>"
},
"name": "clear_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | Yes | The profile's ID or name. | |
| confirm_code | No | Leave empty on the first call. After the user says yes, pass the code the first call gave you. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |