messages_unbot_by_query
Unmark all messages matching a query as bot-generated. Changes data. Unless the user asked for exactly this change, say which messages you will change and get their confirmation first.
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": {
"logId": "<logId>",
"query": "<query>",
"severity": "<severity>"
},
"name": "messages_unbot_by_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Search to this date. | |
| from | No | Search from this date. | |
| logId | Yes | The ID (Guid) of the log. | |
| query | Yes | Required. Full-text or Lucene query, e.g. statusCode:500 && url:*\/api\/*. Searchable fields are listed in the server instructions. | |
| hidden | No | Include hidden messages (default false). | |
| severity | Yes | Required. Severity to match: Verbose|Debug|Information|Warning|Error|Fatal. | |
| maxMessages | No | Max messages to update per call (default 10000, max 50000). If capped is true, call again. |