terminal.find
Search for a pattern in a terminal session. Supports regex and scrollback scanning to locate text efficiently.
Instructions
Find pattern in terminal screen; pattern is a regex when regex=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session ID from terminal.start — use exact value | |
| pattern | Yes | Search pattern; treated as regex pattern when regex=true | |
| regex | No | Treat pattern as a regular expression | |
| includeScrollback | No | Search provider scrollback when supported |