Apply TIA Project Import
tia_apply_importConsumes a confirmed import plan token to import planned blocks into the running TIA Portal process, with target backups, compile, re-export comparison, and automatic rollback on failure.
Instructions
Consume one import plan token and import its blocks into the exact running TIA process with the version-selected importer: back up every target, override-import (data blocks first), compile, re-export and compare every block, roll back on any failure, and optionally save. blocks must repeat the planned blocks in the planned order. Never downloads to a PLC.
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>",
"blocks": "<blocks>",
"confirmToken": "<confirmToken>"
},
"name": "tia_apply_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blocks | Yes | ||
| outDir | No | ||
| timeoutMs | No | At most 600000. A software compile and a possible rollback compile must both fit. | |
| projectPath | Yes | ||
| confirmToken | Yes |