remove_dataset_logs
Remove logs from a dataset by filter criteria, or wipe all logs with a flag. Delete specific entries or clear the dataset to manage log retention.
Instructions
Remove one or more logs from a dataset by filter. To delete a single log, pass filter { unique_id: { operator: "eq", value: "<log_id>" } }. Pass is_deleting_all_logs=true to wipe the dataset contents.
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": {
"dataset_id": "<dataset_id>"
},
"name": "remove_dataset_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filters | No | Filters keyed by field name. Example: { "status_code": { "operator": "eq", "value": 500 } } | |
| dataset_id | Yes | The unique identifier of the dataset. | |
| is_deleting_all_logs | No | Set to true to remove every log in the dataset. |