plan quality recovery
plan_quality_recoveryQuality incident recovery: defects and units in market per lot, cost of three recall scopes (defects only, all shipped units of the lots, whole lots including warehouse), and how to allocate the remaining good stock among customers (priority first, highest penalty first, pro rata) with the shortfall penalty of each rule. Same engine as tools.oiyo.net.
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": {
"lots": "<lots>",
"recallCostPerUnit": "<recallCostPerUnit>",
"remakeCostPerUnit": "<remakeCostPerUnit>",
"goodStock": "<goodStock>",
"customers": "<customers>"
},
"name": "plan_quality_recovery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lots | Yes | Affected lots | |
| customers | Yes | Customers waiting for stock | |
| goodStock | Yes | Good stock available now | |
| recallCostPerUnit | Yes | Recall/disposal cost per unit | |
| remakeCostPerUnit | Yes | Cost to remake one unit |