get_downtime
Read downtime events for a production line across an ISO-8601 date range, returning historian rows for the state tag or a hint when no tag is configured.
Instructions
Read downtime events for a line.
Args: line: Production line label. start_date: ISO-8601 start. end_date: ISO-8601 end. state_tag: Tag path holding machine state.
Returns: Historian rows for the state tag, or a hint when no tag is configured.
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": {
"line": "<line>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "get_downtime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | ||
| end_date | Yes | ||
| state_tag | No | ||
| start_date | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||