commerce_build_cart
commerce_build_cartBuild a cart quote (low risk, action=commerce.quote). Returns a snapshot of live stock and price (quote_id/quote_hash). Nothing is written and no money moves. To pay, pass the returned quote_id and quote_hash to commerce_checkout unchanged. / 장바구니 견적 생성. 반환된 quote_id·quote_hash 를 그대로 전달하십시오.
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": {
"items": "<items>"
},
"name": "commerce_build_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Items to quote. / 견적 대상 품목 목록 | |
| shop_id | No | Shop id (optional; inferred from items when omitted). / 상점 ID(선택) | |
| agent_id | No | Calling agent id, for the audit trail. / 호출 에이전트 식별자(감사 추적용) | |
| payment_mode | No | Payment method (optional). / 결제 방식(선택) | |
| idempotency_key | No | Idempotency key acp_<ULID>. Server generates one if omitted. / 멱등키. 생략 시 서버가 생성 |