Export TIA Project Index
tia_export_project_indexExports an exact-session snapshot of PLC blocks, UDTs, and tag tables via TIA Openness, then builds an offline index and execution model without modifying the project.
Instructions
Create one exact-session snapshot of every PLC block, PLC type/UDT, and complete tag table with the official TIA Openness export APIs, then build the existing offline index and execution model. Hardware/network/HMI objects are outside this program-source snapshot. It never modifies, saves, compiles, or downloads the project.
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": {
"projectPath": "<projectPath>",
"confirmExport": "<confirmExport>"
},
"name": "tia_export_project_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | Summary returns coverage and call samples and incremental counts. Full includes all execution-model lists. | summary |
| processId | No | Optional exact running Portal PID. Required when more than one Portal process is visible. | |
| timeoutMs | No | ||
| outputRoot | No | /app/tia-out | |
| projectPath | Yes | Required exact project path (.ap20, .ap15_1, .ap17). Selects the matching API without fallback. | |
| confirmExport | Yes | ||
| maxLockRetries | No | Legacy compatibility field; ignored by the exact-session snapshot backend. | |
| reuseUnchanged | No | V20: copy objects whose modified state is unchanged from the previous complete snapshot of this project, when no interface, DB, UDT or tag table changed; each copy is SHA-256 checked. false exports everything again. | |
| confirmPortalAuthorizationReady | No |