calculate_availability
Calculates production line availability as run time divided by planned time for a date range, returning both a fraction and percentage.
Instructions
Calculate availability (run time ÷ planned time).
Args: line: Production line label. start_date: ISO-8601 start. end_date: ISO-8601 end. planned_time_minutes: Scheduled production time. run_time_minutes: Actual running time.
Returns: Availability as a fraction and percentage.
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": "calculate_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | ||
| end_date | Yes | ||
| start_date | Yes | ||
| run_time_minutes | No | ||
| planned_time_minutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||