search_text
Search rendered listing text in IDA Pro databases using native text search. Supports regex, case-sensitive matching, and filtering by disassembly, comments, or executable segments.
Instructions
Search rendered listing text using IDA native text search.
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": {
"pattern": "<pattern>",
"instance_id": "<instance_id>"
},
"name": "search_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Text or regex pattern to search | |
| limit | No | Maximum hits per page | |
| start | No | Cursor address to resume from | |
| regex | No | Treat pattern as regex | |
| case_sensitive | No | Case-sensitive match | |
| include | No | 'disasm', 'comments', or 'all' | |
| code_only | No | Restrict search to executable segments | |
| instance_id | Yes | Target IDA instance ID (required) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||