decide_buy_plan
aT 도매 정산가 기준 26품목. 필요량(kg)과 기한(오늘~7일)을 주면 세 가지 사는 방법의 예상 금액(중앙값·80% 범위, 신선도 손실 가정 포함)과 묶음별 과거 성적(과거 자료 검증·가상 구매 계산: 평균 절감·나쁜 5% 날·손해 본 날 비율)을 줍니다. 팜템포는 고르거나 주문하지 않습니다. 금액은 예측 기반 예시이며 약속이 아님을 사용자에게 밝히세요.
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": {
"item": "<item>",
"qty": "<qty>"
},
"name": "decide_buy_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qty | Yes | 필요량(kg) | |
| days | No | 며칠 안에 필요한가(0=오늘, 최대 7 · 저장성 9품목은 14) | |
| item | Yes | 품목명 (예: 상추) — aT 기준판 26품목 | |
| weekly | No | 매주 같은 양이 필요하면 true — 저장성 품목에 '다음 주 몫 미리 사기' 안을 함께 냄 | |
| loss_rate | No | 하루 신선도 손실 가정(예: 0.015). 없으면 묶음 기본값 |