가게를 기다리는 요청 남기기
leave_requestagent-direct(에이전트 다이렉트): when find_services finds no matching business, keep the user's request on the network. The first matching business that joins receives it, and its quote then shows in get_request. Confirm the content with the user first. what: the job in one or two Korean words. region: city and district. details: what a business needs to quote (size, quantity, preferred date), only what the user said, max 300 characters. Never include the user's name, phone, e-mail, messenger ID, links or detailed address; contact details are shared only at accept_quote. Keep the returned requestId (wt_...) and check it with get_request: waiting_for_shop means no business has it yet (relay waiting.note). Kept 14 days. Do not promise a business will join. Withdraw with cancel_request. If a matching business exists this returns an error: use send_request, or if that business already declined or did not answer, pass that requestId in asked to wait for others.
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": {
"what": "<what>",
"details": "<details>"
},
"name": "leave_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| what | Yes | 맡기려는 일. find_services에 넣었던 말처럼 한두 낱말로. 예: '피아노 조율' | |
| asked | No | 같은 일로 이미 가게에 보낸 요청의 requestId들(거절했거나 답이 없는 것). 이 가게들은 빼고 다른 가게를 기다려요. 없으면 비워요 | |
| region | No | 지역 이름. 시·군·구까지. 예: '제주 서귀포시'. 지역과 상관없는 일이면 비워요 | |
| details | Yes | 가게가 금액을 답하는 데 필요한 내용. 300자까지. 사용자가 말한 것만. 연락처와 상세 주소는 넣지 마세요. 예: '업라이트 피아노 1대, 3년 동안 조율 안 함, 주말 희망' |
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 | 공급자 전화번호. 사용자가 수락한 뒤에만 채워져요 |