Search TIA Export
tia_search_exportSearch a read-only TIA Portal export index to locate XML text matches, block and tag inventory, symbols, and references for offline project analysis.
Instructions
Search one export index; bounded and read-only. in=text (default): plain-text search across the indexed XML files. in=inventory: block/type/tag names and call edges. in=symbols: symbol table from block interfaces, DB members and PLC tag tables, filtered by scope and query. in=references: call edges, symbol/tag definitions and XML text matches for the query together, filtered by kind.
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": {
"exportDir": "<exportDir>"
},
"name": "tia_search_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| in | No | text | |
| kind | No | references; default any. | |
| limit | No | Matches returned. Default 100 text (at most 1000), 50 inventory (200), 1000 symbols (5000), 500 references (2000). | |
| query | No | Required for text and references; empty lists everything for inventory and symbols. | |
| scope | No | symbols; default all. | |
| maxFiles | No | XML files scanned; default 100 text (at most 200), 200 symbols, 150 references. | |
| exportDir | Yes | ||
| contextChars | No | text and references; default 80. | |
| caseSensitive | No | text; default false. | |
| includeTextMatches | No | references; default true. |