Get Current TIA UI Context
tia_get_current_ui_contextRead the selected TIA Portal version, exact project path, and visible editor context in one bounded passive check without clicking, focusing, capturing the screen, or accessing a PLC.
Instructions
Perform one bounded passive observation of the selected TIA Portal version (V20 by default; other supported versions explicitly selectable), exact project and visible editor evidence. Does not attach, click, focus, poll, capture the screen or access a PLC.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tia_get_current_ui_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roots | No | Optional bounded export roots used only to find exact project-path matches. | |
| maxDepth | No | ||
| maxNodes | No | ||
| processId | No | Optional exact TIA process ID. Required when multiple sessions are visible and none is the foreground TIA window. | |
| timeoutMs | No | ||
| portalVersion | No | V20 | |
| maxExportMatches | No | ||
| includeExportMatches | No |