AI Messages Grep By Message

Description

Searches the body of a single AiMessage record by MessageId using grep-like pattern matching. Returns matching lines and a summary.

Overview

Searches the Message field of a single AiMessage record identified by its MessageId. Supports regex or literal patterns, case-insensitive matching, line numbers, context lines, invert-match, and a match cap.

Example

{
  "function_call": {
    "name": "AIMessagesGrepByMessage",
    "arguments": {
      "MessageId": "c1d2e3f4-...",
      "Pattern": "error",
      "IgnoreCase": true,
      "ShowLineNumbers": true
    }
  }
}
Scroll to Top