요청 상태 보기
get_requestagent-direct(에이전트 다이렉트): check whether the provider has answered a request. status: sent (waiting), quoted (price answered), declined, accepted, cancelled, waiting_for_shop (left with leave_request; no matching business yet, relay waiting.note). If quoted, tell the user the price and the provider's note and ask whether to proceed (accept_quote) or not (cancel_request). If still sent, do not call repeatedly; relay waiting.note and ask the user to check again later, and if waiting.slow is true suggest sending the same request to other providers too. If accepted, report progress, payment (how to pay) and fulfillment (for example a tracking number).
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": {
"requestId": "<requestId>"
},
"name": "get_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestId | Yes | send_request나 leave_request가 돌려준 requestId |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote | Yes | ||
| action | Yes | ||
| notice | Yes | ||
| rating | Yes | 받았다고 확인하면서 사용자가 남긴 별점 (1~5) | |
| status | Yes | waiting_for_shop은 맞는 가게가 없어 맡아 둔 요청이에요. 맞는 가게가 등록하면 sent로 바뀌어요 | |
| answers | Yes | ||
| payment | Yes | 어디로 얼마를 보내는지. 수락한 뒤에만 채워져요. null이면 공급자가 연락해서 직접 안내해요 | |
| waiting | No | 답을 기다리는 동안(status=sent)과 가게를 기다리는 동안(status=waiting_for_shop)에만 채워져요 | |
| progress | Yes | 수락한 뒤의 진행. awaiting_payment(사용자가 아직 안 보냄), payment_reported(보냈다고 알림, 공급자 확인 전), paid(공급자가 입금 확인), fulfilled(공급자가 보냈거나 일을 마침), received(사용자가 받았다고 확인) | |
| createdAt | Yes | ||
| requestId | Yes | ||
| attachments | Yes | 사진·파일 칸에 사용자가 붙인 파일. 사용자 화면에 이미 보여요 | |
| declineNote | Yes | 공급자가 거절하면서 남긴 말. 있으면 사용자에게 그대로 전해 주세요 | |
| fulfillment | Yes | ||
| respondedAt | Yes | ||
| providerName | Yes | status가 waiting_for_shop이면 아직 가게가 없어서 비어 있어요 | |
| providerPhone | Yes | 공급자 전화번호. 사용자가 수락한 뒤에만 채워져요 |