agent-direct
Send quote and booking requests straight to local businesses in Korea. No sign-up, no fees.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"agent-direct": {
"url": "https://agent-direct-vibe.fly.dev/mcp/requests"
}
}
}Remote endpoints
https://agent-direct-vibe.fly.dev/mcp/requestsstreamable-httpWhat it can do
Tool inventory
Tools (9)
๐ขfind_services(query, region, category, limit, offset)
agent-direct(์์ด์ ํธ ๋ค์ด๋ ํธ): find businesses and suppliers of any kind in Korea that take quote or booking requests directly (e.g. cleaning, moving, repair, lessons, custom making, events, supply). Use it for anything the user wants priced, booked or ordered. Query, region or category alone works. Each result has `fields` (what to ask the user) and provider.record (response rate, speed, rating); mention it when the user chooses. To compare prices, send the same request to 2-3 providers. Put the district in `region`; for a neighbourhood add its district, e.g. '์์ธ ์ฑ๋๊ตฌ ์ฑ์๋'. If `total` exceeds the results, pass the count seen as `offset`. If none, retry with one or two Korean words, a synonym, or no region. If still nothing: offer leave_request (keeps it until a matching business joins), and if the result has `invite`, tell the user they can pass it to a business they know. `ready`, if present: fixed-price goods (delivery included) answered at once; order via send_request with its `actionId` and `answers`.
Input Schema
{
"type": "object",
"properties": {
"query": {
"default": "",
"description": "์ฐพ๋ ์ผ. ํ๋ ๋ฑ๋ง์ด ์ข์์. ์: '์
์ฃผ ์ฒญ์', '์์ด์ปจ ์ค์น'",
"type": "string"
},
"region": {
"default": "",
"description": "์ง์ญ ์ด๋ฆ. ์ยท๊ตฐยท๊ตฌ๋ฅผ ๋ฃ์ด์. ์ฌ์ฉ์๊ฐ ๋ ์ด๋ฆ๋ง ๋งํ์ผ๋ฉด ๊ทธ ๋์ด ์ํ ๊ตฌ๋ ํจ๊ป ์ ์ด์. ์: '์์ธ ์ฑ๋๊ตฌ ์ฑ์๋'. ์ขํ๋ ์์ธ ์ฃผ์๋ ๋ฃ์ง ๋ง์ธ์",
"type": "string"
},
"category": {
"description": "์ข
๋ฅ๋ก ์ขํ ๋",
"type": "string",
"enum": [
"์ฒญ์",
"์ด์ฌ",
"์๋ฆฌยท์ค์น",
"๋ ์จ",
"์ ์ยท์ธ์",
"ํ์ฌยท์ดฌ์",
"๊ธฐํ"
]
},
"limit": {
"default": 8,
"type": "integer",
"minimum": 1,
"maximum": 20
},
"offset": {
"default": 0,
"description": "์์์ ๋ณธ ๊ฐ์. ๋ ๋ณผ ๋ ์จ์",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Output Schema
{
"type": "object",
"properties": {
"services": {
"type": "array",
"items": {
"type": "object",
"properties": {
"actionId": {
"type": "string"
},
"kind": {
"type": "string",
"const": "request"
},
"title": {
"type": "string"
},
"category": {
"type": "string"
},
"description": {
"type": "string"
},
"priceNote": {
"type": "string",
"description": "๊ณต๊ธ์๊ฐ ์ ์ด ๋ ๊ฐ๊ฒฉ ์๋ด. ํ์ ๊ธ์ก์ด ์๋์์"
},
"fields": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "์นธ์ ์ด๋ฆ. send_request์ answers์ ์ด ์ด๋ฆ ๊ทธ๋๋ก ํค๋ก ์จ์"
},
"type": {
"type": "string",
"enum": [
"text",
"number",
"date",
"time",
"choice",
"photo",
"file"
],
"description": "text=๊ธ, number=์ซ์๋ง, date=YYYY-MM-DD, time=HH:MM(24์๊ฐ), choice=options ์ค ํ๋, photoยทfile=๊ณต๊ฐ๋ https ํ์ผ ์ฃผ์ ๋๋ ์ฌ์ฉ์๊ฐ ํ๋ฉด์์ ์ฌ๋ฆฐ ํ์ผ์ ๋ฒํธ"
},
"options": {
"description": "type์ด choice์ผ ๋ ๊ณ ๋ฅผ ์ ์๋ ๊ฐ",
"type": "array",
"items": {
"type": "string"
}
},
"unit": {
"description": "type์ด number์ผ ๋์ ๋จ์. ๊ฐ์๋ ๋จ์๋ฅผ ๋นผ๊ณ ์ซ์๋ง ๋ฃ์ด์",
"type": "string"
},
"optional": {
"description": "true๋ฉด ๋น์๋ ๋ผ์",
"type": "boolean"
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
},
"description": "์์ฒญ์ ๋ณด๋ผ ๋ ์ฑ์์ผ ํ๋ ์นธ"
},
"provider": {
"type": "object",
"properties": {
"providerId": {
"type": "string"
},
"name": {
"type": "string"
},
"region": {
"type": "string",
"description": "์ผํ๋ ์ง์ญ"
},
"intro": {
"type": "string"
},
"hours": {
"type": "string",
"description": "์ผํ ์ ์๋ ์์ผ๊ณผ ์๊ฐ. ๊ณต๊ธ์๊ฐ ์ ์ ๊ธ ๊ทธ๋๋ก์์. ๋น์ด ์์ผ๋ฉด ์ ์ง ์์ ๊ฒ์ด๋ ์ง์ด๋ด์ง ๋ง์ธ์"
},
"businessVerified": {
"type": "boolean",
"description": "์ฌ์
์ ํ์ธ ์ฌ๋ถ. ์ง๊ธ์ ๋ชจ๋ false์์"
},
"notifiable": {
"type": "boolean",
"description": "์ ์์ฒญ์ด ๊ณต๊ธ์์๊ฒ ๋ฐ๋ก ์ ๋ฌ๋๋์ง"
},
"photos": {
"type": "array",
"items": {
"type": "string"
},
"description": "๊ณต๊ธ์๊ฐ ์ฌ๋ฆฐ ์ฌ์ง์ ์ฃผ์. ์ฌ์ฉ์ ํ๋ฉด์ ์นด๋์ ์ด๋ฏธ ๋ณด์ฌ์"
},
"payWays": {
"type": "array",
"items": {
"type": "string"
},
"description": "์ด ๊ณต๊ธ์๊ฐ ๋์ ๋ฐ๋ ๋ฐฉ๋ฒ์ ์ข
๋ฅ(๊ณ์ข์ด์ฒด, ๊ฒฐ์ ๋งํฌ, ๋ง๋์ ๊ฒฐ์ ). ๋น์ด ์์ผ๋ฉด ์๋ฝํ ๋ค ๊ณต๊ธ์๊ฐ ์ง์ ์๋ดํด์"
},
"record": {
"type": "object",
"properties": {
"requests": {
"type": "number",
"description": "์ด ๊ณต๊ธ์๊ฐ ์ฌ๊ธฐ์ ๋ฐ์ ์์ฒญ ์"
},
"responseRate": {
"description": "๋ตํ ๋น์จ (0~1). ๋ฐ์ ์์ฒญ์ด ์์ผ๋ฉด null",
"type": [
"number",
"null"
]
},
"medianResponseMinutes": {
"description": "๋ตํ๊ธฐ๊น์ง ๊ฑธ๋ฆฐ ์๊ฐ์ ์ค๊ฐ๊ฐ (๋ถ)",
"type": [
"number",
"null"
]
},
"acceptRate": {
"description": "๊ฒฌ์ ์ ๋ธ ๊ฒ ์ค ์๋์ด ์๋ฝํ ๋น์จ (0~1)",
"type": [
"number",
"null"
]
},
"completed": {
"type": "number",
"description": "์๋์ด ๋ฐ์๋ค๊ณ ํ์ธํ๊ณ ๊ฐ๊ฒ๋ ์
๊ธ์ด๋ ๋ง์นจ์ ์๋ฆฐ ๊ฑฐ๋ ์"
},
"rating": {
"description": "๊ทธ ๊ฑฐ๋์ ์๋์ด ๋จ๊ธด ๋ณ์ ์ ํ๊ท (1~5). ๋จ๊ธด ์ฌ๋์ด ์์ผ๋ฉด null",
"type": [
"number",
"null"
]
},
"ratings": {
"type": "number",
"description": "๋ณ์ ์ ๋จ๊ธด ์๋ ์"
}
},
"required": [
"requests",
"responseRate",
"medianResponseMinutes",
"acceptRate",
"completed",
"rating",
"ratings"
],
"additionalProperties": false
}
},
"required": [
"providerId",
"name",
"region",
"intro",
"hours",
"businessVerified",
"notifiable",
"photos",
"payWays",
"record"
],
"additionalProperties": false
}
},
"required": [
"actionId",
"kind",
"title",
"category",
"description",
"priceNote",
"fields",
"provider"
],
"additionalProperties": false
}
},
"total": {
"type": "number",
"description": "์กฐ๊ฑด์ ๋ง๋ ์ ์ฒด ์"
},
"notice": {
"type": "string"
},
"ready": {
"description": "๊ฐ์ด ์ ํด์ ธ ์์ด ๊ฐ๊ฒ์ ๋ต์ ๊ธฐ๋ค๋ฆฌ์ง ์๋ ๋ฌผ๊ฑด. ์ฐพ๋ ๋ง์ ๋ง๋ ๊ฒ์ด ์์ ๋๋ง ์์",
"type": "array",
"items": {
"type": "object",
"properties": {
"actionId": {
"type": "string",
"description": "send_request์ ๋ฃ๋ ๋ฒํธ"
},
"providerName": {
"type": "string"
},
"item": {
"type": "string",
"description": "๋ฌผ๊ฑด ์ด๋ฆ"
},
"price": {
"type": "number",
"description": "ํ ๊ฐ ๊ฐ (์). ๋ฐฐ์ก๋น๊ฐ ๋ค์ด ์์ด์. ์ฌ๋ฌ ๊ฐ๋ฅผ ์ฌ๋ฉด ๊ฐ์ send_request์ ๋ต์ ๋์์"
},
"imageUrl": {
"type": [
"string",
"null"
]
},
"answers": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
},
"description": "send_request์ answers์ ๊ทธ๋๋ก ๋ฃ์ด์"
}
},
"required": [
"actionId",
"providerName",
"item",
"price",
"imageUrl",
"answers"
],
"additionalProperties": false
}
},
"invite": {
"description": "์ฐพ์ ๊ณณ์ด ์์ ๋๋ง ์์. ์ฌ์ฉ์๊ฐ ์๋ ๊ฐ๊ฒ๋ฅผ ๋ฐ๋ ค์ฌ ์ ์๋ ๋ฑ๋ก ์๋ด",
"type": "object",
"properties": {
"message": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"message",
"url"
],
"additionalProperties": false
},
"hint": {
"description": "์ฐพ์ ๊ณณ์ด ์์ ๋๋ง ์์. ๋ค์์ ํ ์ ์๋ ์ผ",
"type": "string"
}
},
"required": [
"services",
"total",
"notice"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}๐กsend_request(actionId, answers)
agent-direct(์์ด์ ํธ ๋ค์ด๋ ํธ): send a quote or booking request to one provider found with find_services. A real notification goes to the business owner, so confirm the provider name and the content with the user first. `answers` uses each field's `name` as the key and only values the user actually gave (number: digits only, date: YYYY-MM-DD, time: HH:MM, choice: one of `options`, photo/file: a public https file URL the user provided, whose path ends in .jpg/.png/.webp/.pdf/.stl/.obj/.3mf, up to 16MB). Never guess values. Do not include the user's name, phone number or detailed address; contact details are shared only at accept_quote. No money moves at this step. The owner answers in person, so it can take minutes to hours: keep the requestId and check later with get_request. For an item from `ready` the result is usually already quoted (or declined with the reason).
Input Schema
{
"type": "object",
"properties": {
"actionId": {
"type": "string"
},
"answers": {
"description": "{ ์นธ ์ด๋ฆ: ๊ฐ }. ์: { \"ํ์\": \"24\", \"ํฌ๋ง ๋ ์ง\": \"2026-12-06\" }. ์นธ์ ์์ง๋ง ์ฌ์ฉ์๊ฐ ๊ผญ ์ ํด ๋ฌ๋ผ๊ณ ํ ๋ง์ \"๋ฉ๋ชจ\" ํค์ ๋ฃ์ด์",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
}
}
},
"required": [
"actionId",
"answers"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Output Schema
{
"type": "object",
"properties": {
"requestId": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"waiting_for_shop",
"sent",
"quoted",
"declined",
"accepted",
"cancelled"
],
"description": "waiting_for_shop์ ๋ง๋ ๊ฐ๊ฒ๊ฐ ์์ด ๋งก์ ๋ ์์ฒญ์ด์์. ๋ง๋ ๊ฐ๊ฒ๊ฐ ๋ฑ๋กํ๋ฉด sent๋ก ๋ฐ๋์ด์"
},
"action": {
"type": "object",
"properties": {
"actionId": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"actionId",
"title"
],
"additionalProperties": false
},
"providerName": {
"type": "string",
"description": "status๊ฐ waiting_for_shop์ด๋ฉด ์์ง ๊ฐ๊ฒ๊ฐ ์์ด์ ๋น์ด ์์ด์"
},
"answers": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"attachments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"fileId": {
"type": "string"
},
"name": {
"type": "string"
},
"mime": {
"type": "string"
},
"size": {
"type": "number"
},
"kind": {
"type": "string",
"enum": [
"photo",
"file"
]
},
"url": {
"type": "string"
}
},
"required": [
"field",
"fileId",
"name",
"mime",
"size",
"kind",
"url"
],
"additionalProperties": false
},
"description": "์ฌ์งยทํ์ผ ์นธ์ ์ฌ์ฉ์๊ฐ ๋ถ์ธ ํ์ผ. ์ฌ์ฉ์ ํ๋ฉด์ ์ด๋ฏธ ๋ณด์ฌ์"
},
"quote": {
"anyOf": [
{
"type": "object",
"properties": {
"price": {
"type": "number",
"description": "๊ณต๊ธ์๊ฐ ๋ตํ ๊ธ์ก (์)"
},
"note": {
"type": "string",
"description": "๊ณต๊ธ์๊ฐ ๋จ๊ธด ๋ง"
}
},
"required": [
"price",
"note"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string"
},
"respondedAt": {
"type": [
"string",
"null"
]
},
"providerPhone": {
"description": "๊ณต๊ธ์ ์ ํ๋ฒํธ. ์ฌ์ฉ์๊ฐ ์๋ฝํ ๋ค์๋ง ์ฑ์์ ธ์",
"type": [
"string",
"null"
]
},
"progress": {
"anyOf": [
{
"type": "string",
"enum": [
"awaiting_payment",
"payment_reported",
"paid",
"fulfilled",
"received"
]
},
{
"type": "null"
}
],
"description": "์๋ฝํ ๋ค์ ์งํ. awaiting_payment(์ฌ์ฉ์๊ฐ ์์ง ์ ๋ณด๋), payment_reported(๋ณด๋๋ค๊ณ ์๋ฆผ, ๊ณต๊ธ์ ํ์ธ ์ ), paid(๊ณต๊ธ์๊ฐ ์
๊ธ ํ์ธ), fulfilled(๊ณต๊ธ์๊ฐ ๋ณด๋๊ฑฐ๋ ์ผ์ ๋ง์นจ), received(์ฌ์ฉ์๊ฐ ๋ฐ์๋ค๊ณ ํ์ธ)"
},
"payment": {
"anyOf": [
{
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "๋ณด๋ผ ๊ธ์ก (์)"
},
"ways": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "account"
},
"bank": {
"type": "string"
},
"number": {
"type": "string"
},
"holder": {
"type": "string",
"description": "์๊ธ์ฃผ. ์ฌ์ฉ์๊ฐ ๋ณด๋ด๊ธฐ ์ ์ ํ์ธํด์"
}
},
"required": [
"type",
"bank",
"number",
"holder"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "link"
},
"url": {
"type": "string",
"description": "๊ณต๊ธ์์ ์ก๊ธยท๊ฒฐ์ ์ฃผ์. ์ฌ์ฉ์๊ฐ ์ง์ ์ด์ด์"
},
"label": {
"type": "string"
}
},
"required": [
"type",
"url",
"label"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "onsite"
},
"note": {
"type": "string"
}
},
"required": [
"type",
"note"
],
"additionalProperties": false
}
]
},
"description": "๊ณต๊ธ์๊ฐ ๋์ ๋ฐ๋ ๋ฐฉ๋ฒ. ์ฌ์ฉ์๊ฐ ํ๋๋ฅผ ๊ณจ๋ผ ์๊ธฐ ๊ธ์ต ์ฑ์์ ์ง์ ๋ณด๋ด์"
},
"notice": {
"type": "string"
}
},
"required": [
"amount",
"ways",
"notice"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "์ด๋๋ก ์ผ๋ง๋ฅผ ๋ณด๋ด๋์ง. ์๋ฝํ ๋ค์๋ง ์ฑ์์ ธ์. null์ด๋ฉด ๊ณต๊ธ์๊ฐ ์ฐ๋ฝํด์ ์ง์ ์๋ดํด์"
},
"fulfillment": {
"anyOf": [
{
"type": "object",
"properties": {
"note": {
"type": "string",
"description": "ํ๋ฐฐ์ฌ์ ์ก์ฅ ๋ฒํธ ๊ฐ์ ๊ณต๊ธ์์ ํ๋ง๋"
},
"at": {
"type": "string"
}
},
"required": [
"note",
"at"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"rating": {
"description": "๋ฐ์๋ค๊ณ ํ์ธํ๋ฉด์ ์ฌ์ฉ์๊ฐ ๋จ๊ธด ๋ณ์ (1~5)",
"type": [
"number",
"null"
]
},
"declineNote": {
"description": "๊ณต๊ธ์๊ฐ ๊ฑฐ์ ํ๋ฉด์ ๋จ๊ธด ๋ง. ์์ผ๋ฉด ์ฌ์ฉ์์๊ฒ ๊ทธ๋๋ก ์ ํด ์ฃผ์ธ์",
"type": [
"string",
"null"
]
},
"waiting": {
"description": "๋ต์ ๊ธฐ๋ค๋ฆฌ๋ ๋์(status=sent)๊ณผ ๊ฐ๊ฒ๋ฅผ ๊ธฐ๋ค๋ฆฌ๋ ๋์(status=waiting_for_shop)์๋ง ์ฑ์์ ธ์",
"anyOf": [
{
"type": "object",
"properties": {
"minutes": {
"type": "number",
"description": "๋ณด๋ธ ๋ค ์ง๋ ์๊ฐ (๋ถ)"
},
"usualMinutes": {
"description": "์ด ๊ณต๊ธ์๊ฐ ๋ณดํต ๋ตํ๋ ๋ฐ ๊ฑธ๋ฆฌ๋ ์๊ฐ (๋ถ). ๊ธฐ๋ก์ด ์์ผ๋ฉด null",
"type": [
"number",
"null"
]
},
"slow": {
"type": "boolean",
"description": "true๋ฉด ํ์๋ณด๋ค ๋ง์ด ๋ฆ๊ฑฐ๋ ํ๋ฃจ๊ฐ ์ง๋ ๊ฑฐ์์. ๋ค๋ฅธ ๊ณต๊ธ์์๊ฒ๋ ๋ณด๋ด ๋ณด๋ผ๊ณ ๊ถํด ์ฃผ์ธ์"
},
"reached": {
"description": "๊ฐ๊ฒ ์ชฝ์ ์๋ฆผ์ด ๋ฟ์๋์ง. false๊ฐ ์ค๋๊ฐ๋ฉด ๊ฐ๊ฒ๊ฐ ์์ง ์์ฒญ์ ๋ฐ์ง ๋ชปํ ๊ฑฐ์์. ๋ค๋ฅธ ๊ณต๊ธ์์๊ฒ๋ ๋ณด๋ด ๋ณด๋ผ๊ณ ๊ถํด ์ฃผ์ธ์",
"type": "boolean"
},
"note": {
"type": "string",
"description": "์ฌ์ฉ์์๊ฒ ์ ํ ๋ง"
}
},
"required": [
"minutes",
"usualMinutes",
"slow",
"note"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"notice": {
"type": "string"
}
},
"required": [
"requestId",
"status",
"action",
"providerName",
"answers",
"attachments",
"quote",
"createdAt",
"respondedAt",
"providerPhone",
"progress",
"payment",
"fulfillment",
"rating",
"declineNote",
"notice"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}๐ดleave_request(what, region, details, asked)
agent-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.
Input Schema
{
"type": "object",
"properties": {
"what": {
"type": "string",
"description": "๋งก๊ธฐ๋ ค๋ ์ผ. find_services์ ๋ฃ์๋ ๋ง์ฒ๋ผ ํ๋ ๋ฑ๋ง๋ก. ์: 'ํผ์๋
ธ ์กฐ์จ'"
},
"region": {
"default": "",
"description": "์ง์ญ ์ด๋ฆ. ์ยท๊ตฐยท๊ตฌ๊น์ง. ์: '์ ์ฃผ ์๊ทํฌ์'. ์ง์ญ๊ณผ ์๊ด์๋ ์ผ์ด๋ฉด ๋น์์",
"type": "string"
},
"details": {
"type": "string",
"description": "๊ฐ๊ฒ๊ฐ ๊ธ์ก์ ๋ตํ๋ ๋ฐ ํ์ํ ๋ด์ฉ. 300์๊น์ง. ์ฌ์ฉ์๊ฐ ๋งํ ๊ฒ๋ง. ์ฐ๋ฝ์ฒ์ ์์ธ ์ฃผ์๋ ๋ฃ์ง ๋ง์ธ์. ์: '์
๋ผ์ดํธ ํผ์๋
ธ 1๋, 3๋
๋์ ์กฐ์จ ์ ํจ, ์ฃผ๋ง ํฌ๋ง'"
},
"asked": {
"description": "๊ฐ์ ์ผ๋ก ์ด๋ฏธ ๊ฐ๊ฒ์ ๋ณด๋ธ ์์ฒญ์ requestId๋ค(๊ฑฐ์ ํ๊ฑฐ๋ ๋ต์ด ์๋ ๊ฒ). ์ด ๊ฐ๊ฒ๋ค์ ๋นผ๊ณ ๋ค๋ฅธ ๊ฐ๊ฒ๋ฅผ ๊ธฐ๋ค๋ ค์. ์์ผ๋ฉด ๋น์์",
"maxItems": 5,
"type": "array",
"items": {
"type": "string",
"maxLength": 60
}
}
},
"required": [
"what",
"details"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Output Schema
{
"type": "object",
"properties": {
"requestId": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"waiting_for_shop",
"sent",
"quoted",
"declined",
"accepted",
"cancelled"
],
"description": "waiting_for_shop์ ๋ง๋ ๊ฐ๊ฒ๊ฐ ์์ด ๋งก์ ๋ ์์ฒญ์ด์์. ๋ง๋ ๊ฐ๊ฒ๊ฐ ๋ฑ๋กํ๋ฉด sent๋ก ๋ฐ๋์ด์"
},
"action": {
"type": "object",
"properties": {
"actionId": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"actionId",
"title"
],
"additionalProperties": false
},
"providerName": {
"type": "string",
"description": "status๊ฐ waiting_for_shop์ด๋ฉด ์์ง ๊ฐ๊ฒ๊ฐ ์์ด์ ๋น์ด ์์ด์"
},
"answers": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"attachments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"fileId": {
"type": "string"
},
"name": {
"type": "string"
},
"mime": {
"type": "string"
},
"size": {
"type": "number"
},
"kind": {
"type": "string",
"enum": [
"photo",
"file"
]
},
"url": {
"type": "string"
}
},
"required": [
"field",
"fileId",
"name",
"mime",
"size",
"kind",
"url"
],
"additionalProperties": false
},
"description": "์ฌ์งยทํ์ผ ์นธ์ ์ฌ์ฉ์๊ฐ ๋ถ์ธ ํ์ผ. ์ฌ์ฉ์ ํ๋ฉด์ ์ด๋ฏธ ๋ณด์ฌ์"
},
"quote": {
"anyOf": [
{
"type": "object",
"properties": {
"price": {
"type": "number",
"description": "๊ณต๊ธ์๊ฐ ๋ตํ ๊ธ์ก (์)"
},
"note": {
"type": "string",
"description": "๊ณต๊ธ์๊ฐ ๋จ๊ธด ๋ง"
}
},
"required": [
"price",
"note"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string"
},
"respondedAt": {
"type": [
"string",
"null"
]
},
"providerPhone": {
"description": "๊ณต๊ธ์ ์ ํ๋ฒํธ. ์ฌ์ฉ์๊ฐ ์๋ฝํ ๋ค์๋ง ์ฑ์์ ธ์",
"type": [
"string",
"null"
]
},
"progress": {
"anyOf": [
{
"type": "string",
"enum": [
"awaiting_payment",
"payment_reported",
"paid",
"fulfilled",
"received"
]
},
{
"type": "null"
}
],
"description": "์๋ฝํ ๋ค์ ์งํ. awaiting_payment(์ฌ์ฉ์๊ฐ ์์ง ์ ๋ณด๋), payment_reported(๋ณด๋๋ค๊ณ ์๋ฆผ, ๊ณต๊ธ์ ํ์ธ ์ ), paid(๊ณต๊ธ์๊ฐ ์
๊ธ ํ์ธ), fulfilled(๊ณต๊ธ์๊ฐ ๋ณด๋๊ฑฐ๋ ์ผ์ ๋ง์นจ), received(์ฌ์ฉ์๊ฐ ๋ฐ์๋ค๊ณ ํ์ธ)"
},
"payment": {
"anyOf": [
{
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "๋ณด๋ผ ๊ธ์ก (์)"
},
"ways": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "account"
},
"bank": {
"type": "string"
},
"number": {
"type": "string"
},
"holder": {
"type": "string",
"description": "์๊ธ์ฃผ. ์ฌ์ฉ์๊ฐ ๋ณด๋ด๊ธฐ ์ ์ ํ์ธํด์"
}
},
"required": [
"type",
"bank",
"number",
"holder"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "link"
},
"url": {
"type": "string",
"description": "๊ณต๊ธ์์ ์ก๊ธยท๊ฒฐ์ ์ฃผ์. ์ฌ์ฉ์๊ฐ ์ง์ ์ด์ด์"
},
"label": {
"type": "string"
}
},
"required": [
"type",
"url",
"label"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "onsite"
},
"note": {
"type": "string"
}
},
"required": [
"type",
"note"
],
"additionalProperties": false
}
]
},
"description": "๊ณต๊ธ์๊ฐ ๋์ ๋ฐ๋ ๋ฐฉ๋ฒ. ์ฌ์ฉ์๊ฐ ํ๋๋ฅผ ๊ณจ๋ผ ์๊ธฐ ๊ธ์ต ์ฑ์์ ์ง์ ๋ณด๋ด์"
},
"notice": {
"type": "string"
}
},
"required": [
"amount",
"ways",
"notice"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "์ด๋๋ก ์ผ๋ง๋ฅผ ๋ณด๋ด๋์ง. ์๋ฝํ ๋ค์๋ง ์ฑ์์ ธ์. null์ด๋ฉด ๊ณต๊ธ์๊ฐ ์ฐ๋ฝํด์ ์ง์ ์๋ดํด์"
},
"fulfillment": {
"anyOf": [
{
"type": "object",
"properties": {
"note": {
"type": "string",
"description": "ํ๋ฐฐ์ฌ์ ์ก์ฅ ๋ฒํธ ๊ฐ์ ๊ณต๊ธ์์ ํ๋ง๋"
},
"at": {
"type": "string"
}
},
"required": [
"note",
"at"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"rating": {
"description": "๋ฐ์๋ค๊ณ ํ์ธํ๋ฉด์ ์ฌ์ฉ์๊ฐ ๋จ๊ธด ๋ณ์ (1~5)",
"type": [
"number",
"null"
]
},
"declineNote": {
"description": "๊ณต๊ธ์๊ฐ ๊ฑฐ์ ํ๋ฉด์ ๋จ๊ธด ๋ง. ์์ผ๋ฉด ์ฌ์ฉ์์๊ฒ ๊ทธ๋๋ก ์ ํด ์ฃผ์ธ์",
"type": [
"string",
"null"
]
},
"waiting": {
"description": "๋ต์ ๊ธฐ๋ค๋ฆฌ๋ ๋์(status=sent)๊ณผ ๊ฐ๊ฒ๋ฅผ ๊ธฐ๋ค๋ฆฌ๋ ๋์(status=waiting_for_shop)์๋ง ์ฑ์์ ธ์",
"anyOf": [
{
"type": "object",
"properties": {
"minutes": {
"type": "number",
"description": "๋ณด๋ธ ๋ค ์ง๋ ์๊ฐ (๋ถ)"
},
"usualMinutes": {
"description": "์ด ๊ณต๊ธ์๊ฐ ๋ณดํต ๋ตํ๋ ๋ฐ ๊ฑธ๋ฆฌ๋ ์๊ฐ (๋ถ). ๊ธฐ๋ก์ด ์์ผ๋ฉด null",
"type": [
"number",
"null"
]
},
"slow": {
"type": "boolean",
"description": "true๋ฉด ํ์๋ณด๋ค ๋ง์ด ๋ฆ๊ฑฐ๋ ํ๋ฃจ๊ฐ ์ง๋ ๊ฑฐ์์. ๋ค๋ฅธ ๊ณต๊ธ์์๊ฒ๋ ๋ณด๋ด ๋ณด๋ผ๊ณ ๊ถํด ์ฃผ์ธ์"
},
"reached": {
"description": "๊ฐ๊ฒ ์ชฝ์ ์๋ฆผ์ด ๋ฟ์๋์ง. false๊ฐ ์ค๋๊ฐ๋ฉด ๊ฐ๊ฒ๊ฐ ์์ง ์์ฒญ์ ๋ฐ์ง ๋ชปํ ๊ฑฐ์์. ๋ค๋ฅธ ๊ณต๊ธ์์๊ฒ๋ ๋ณด๋ด ๋ณด๋ผ๊ณ ๊ถํด ์ฃผ์ธ์",
"type": "boolean"
},
"note": {
"type": "string",
"description": "์ฌ์ฉ์์๊ฒ ์ ํ ๋ง"
}
},
"required": [
"minutes",
"usualMinutes",
"slow",
"note"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"notice": {
"type": "string"
}
},
"required": [
"requestId",
"status",
"action",
"providerName",
"answers",
"attachments",
"quote",
"createdAt",
"respondedAt",
"providerPhone",
"progress",
"payment",
"fulfillment",
"rating",
"declineNote",
"notice"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}๐ขget_request(requestId)
agent-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).
Input Schema
{
"type": "object",
"properties": {
"requestId": {
"type": "string",
"description": "send_request๋ leave_request๊ฐ ๋๋ ค์ค requestId"
}
},
"required": [
"requestId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Output Schema
{
"type": "object",
"properties": {
"requestId": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"waiting_for_shop",
"sent",
"quoted",
"declined",
"accepted",
"cancelled"
],
"description": "waiting_for_shop์ ๋ง๋ ๊ฐ๊ฒ๊ฐ ์์ด ๋งก์ ๋ ์์ฒญ์ด์์. ๋ง๋ ๊ฐ๊ฒ๊ฐ ๋ฑ๋กํ๋ฉด sent๋ก ๋ฐ๋์ด์"
},
"action": {
"type": "object",
"properties": {
"actionId": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"actionId",
"title"
],
"additionalProperties": false
},
"providerName": {
"type": "string",
"description": "status๊ฐ waiting_for_shop์ด๋ฉด ์์ง ๊ฐ๊ฒ๊ฐ ์์ด์ ๋น์ด ์์ด์"
},
"answers": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"attachments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"fileId": {
"type": "string"
},
"name": {
"type": "string"
},
"mime": {
"type": "string"
},
"size": {
"type": "number"
},
"kind": {
"type": "string",
"enum": [
"photo",
"file"
]
},
"url": {
"type": "string"
}
},
"required": [
"field",
"fileId",
"name",
"mime",
"size",
"kind",
"url"
],
"additionalProperties": false
},
"description": "์ฌ์งยทํ์ผ ์นธ์ ์ฌ์ฉ์๊ฐ ๋ถ์ธ ํ์ผ. ์ฌ์ฉ์ ํ๋ฉด์ ์ด๋ฏธ ๋ณด์ฌ์"
},
"quote": {
"anyOf": [
{
"type": "object",
"properties": {
"price": {
"type": "number",
"description": "๊ณต๊ธ์๊ฐ ๋ตํ ๊ธ์ก (์)"
},
"note": {
"type": "string",
"description": "๊ณต๊ธ์๊ฐ ๋จ๊ธด ๋ง"
}
},
"required": [
"price",
"note"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string"
},
"respondedAt": {
"type": [
"string",
"null"
]
},
"providerPhone": {
"description": "๊ณต๊ธ์ ์ ํ๋ฒํธ. ์ฌ์ฉ์๊ฐ ์๋ฝํ ๋ค์๋ง ์ฑ์์ ธ์",
"type": [
"string",
"null"
]
},
"progress": {
"anyOf": [
{
"type": "string",
"enum": [
"awaiting_payment",
"payment_reported",
"paid",
"fulfilled",
"received"
]
},
{
"type": "null"
}
],
"description": "์๋ฝํ ๋ค์ ์งํ. awaiting_payment(์ฌ์ฉ์๊ฐ ์์ง ์ ๋ณด๋), payment_reported(๋ณด๋๋ค๊ณ ์๋ฆผ, ๊ณต๊ธ์ ํ์ธ ์ ), paid(๊ณต๊ธ์๊ฐ ์
๊ธ ํ์ธ), fulfilled(๊ณต๊ธ์๊ฐ ๋ณด๋๊ฑฐ๋ ์ผ์ ๋ง์นจ), received(์ฌ์ฉ์๊ฐ ๋ฐ์๋ค๊ณ ํ์ธ)"
},
"payment": {
"anyOf": [
{
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "๋ณด๋ผ ๊ธ์ก (์)"
},
"ways": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "account"
},
"bank": {
"type": "string"
},
"number": {
"type": "string"
},
"holder": {
"type": "string",
"description": "์๊ธ์ฃผ. ์ฌ์ฉ์๊ฐ ๋ณด๋ด๊ธฐ ์ ์ ํ์ธํด์"
}
},
"required": [
"type",
"bank",
"number",
"holder"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "link"
},
"url": {
"type": "string",
"description": "๊ณต๊ธ์์ ์ก๊ธยท๊ฒฐ์ ์ฃผ์. ์ฌ์ฉ์๊ฐ ์ง์ ์ด์ด์"
},
"label": {
"type": "string"
}
},
"required": [
"type",
"url",
"label"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "onsite"
},
"note": {
"type": "string"
}
},
"required": [
"type",
"note"
],
"additionalProperties": false
}
]
},
"description": "๊ณต๊ธ์๊ฐ ๋์ ๋ฐ๋ ๋ฐฉ๋ฒ. ์ฌ์ฉ์๊ฐ ํ๋๋ฅผ ๊ณจ๋ผ ์๊ธฐ ๊ธ์ต ์ฑ์์ ์ง์ ๋ณด๋ด์"
},
"notice": {
"type": "string"
}
},
"required": [
"amount",
"ways",
"notice"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "์ด๋๋ก ์ผ๋ง๋ฅผ ๋ณด๋ด๋์ง. ์๋ฝํ ๋ค์๋ง ์ฑ์์ ธ์. null์ด๋ฉด ๊ณต๊ธ์๊ฐ ์ฐ๋ฝํด์ ์ง์ ์๋ดํด์"
},
"fulfillment": {
"anyOf": [
{
"type": "object",
"properties": {
"note": {
"type": "string",
"description": "ํ๋ฐฐ์ฌ์ ์ก์ฅ ๋ฒํธ ๊ฐ์ ๊ณต๊ธ์์ ํ๋ง๋"
},
"at": {
"type": "string"
}
},
"required": [
"note",
"at"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"rating": {
"description": "๋ฐ์๋ค๊ณ ํ์ธํ๋ฉด์ ์ฌ์ฉ์๊ฐ ๋จ๊ธด ๋ณ์ (1~5)",
"type": [
"number",
"null"
]
},
"declineNote": {
"description": "๊ณต๊ธ์๊ฐ ๊ฑฐ์ ํ๋ฉด์ ๋จ๊ธด ๋ง. ์์ผ๋ฉด ์ฌ์ฉ์์๊ฒ ๊ทธ๋๋ก ์ ํด ์ฃผ์ธ์",
"type": [
"string",
"null"
]
},
"waiting": {
"description": "๋ต์ ๊ธฐ๋ค๋ฆฌ๋ ๋์(status=sent)๊ณผ ๊ฐ๊ฒ๋ฅผ ๊ธฐ๋ค๋ฆฌ๋ ๋์(status=waiting_for_shop)์๋ง ์ฑ์์ ธ์",
"anyOf": [
{
"type": "object",
"properties": {
"minutes": {
"type": "number",
"description": "๋ณด๋ธ ๋ค ์ง๋ ์๊ฐ (๋ถ)"
},
"usualMinutes": {
"description": "์ด ๊ณต๊ธ์๊ฐ ๋ณดํต ๋ตํ๋ ๋ฐ ๊ฑธ๋ฆฌ๋ ์๊ฐ (๋ถ). ๊ธฐ๋ก์ด ์์ผ๋ฉด null",
"type": [
"number",
"null"
]
},
"slow": {
"type": "boolean",
"description": "true๋ฉด ํ์๋ณด๋ค ๋ง์ด ๋ฆ๊ฑฐ๋ ํ๋ฃจ๊ฐ ์ง๋ ๊ฑฐ์์. ๋ค๋ฅธ ๊ณต๊ธ์์๊ฒ๋ ๋ณด๋ด ๋ณด๋ผ๊ณ ๊ถํด ์ฃผ์ธ์"
},
"reached": {
"description": "๊ฐ๊ฒ ์ชฝ์ ์๋ฆผ์ด ๋ฟ์๋์ง. false๊ฐ ์ค๋๊ฐ๋ฉด ๊ฐ๊ฒ๊ฐ ์์ง ์์ฒญ์ ๋ฐ์ง ๋ชปํ ๊ฑฐ์์. ๋ค๋ฅธ ๊ณต๊ธ์์๊ฒ๋ ๋ณด๋ด ๋ณด๋ผ๊ณ ๊ถํด ์ฃผ์ธ์",
"type": "boolean"
},
"note": {
"type": "string",
"description": "์ฌ์ฉ์์๊ฒ ์ ํ ๋ง"
}
},
"required": [
"minutes",
"usualMinutes",
"slow",
"note"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"notice": {
"type": "string"
}
},
"required": [
"requestId",
"status",
"action",
"providerName",
"answers",
"attachments",
"quote",
"createdAt",
"respondedAt",
"providerPhone",
"progress",
"payment",
"fulfillment",
"rating",
"declineNote",
"notice"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}๐ขget_requests(requestIds)
agent-direct(์์ด์ ํธ ๋ค์ด๋ ํธ): check several requests at once to compare the quotes that different providers answered. Point out the price differences and anything notable in the providers' notes.
Input Schema
{
"type": "object",
"properties": {
"requestIds": {
"minItems": 1,
"maxItems": 10,
"type": "array",
"items": {
"type": "string"
},
"description": "send_request๊ฐ ๋๋ ค์ค requestId๋ค"
}
},
"required": [
"requestIds"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Output Schema
{
"type": "object",
"properties": {
"requests": {
"type": "array",
"items": {
"type": "object",
"properties": {
"requestId": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"waiting_for_shop",
"sent",
"quoted",
"declined",
"accepted",
"cancelled"
],
"description": "waiting_for_shop์ ๋ง๋ ๊ฐ๊ฒ๊ฐ ์์ด ๋งก์ ๋ ์์ฒญ์ด์์. ๋ง๋ ๊ฐ๊ฒ๊ฐ ๋ฑ๋กํ๋ฉด sent๋ก ๋ฐ๋์ด์"
},
"action": {
"type": "object",
"properties": {
"actionId": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"actionId",
"title"
],
"additionalProperties": false
},
"providerName": {
"type": "string",
"description": "status๊ฐ waiting_for_shop์ด๋ฉด ์์ง ๊ฐ๊ฒ๊ฐ ์์ด์ ๋น์ด ์์ด์"
},
"answers": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"attachments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"fileId": {
"type": "string"
},
"name": {
"type": "string"
},
"mime": {
"type": "string"
},
"size": {
"type": "number"
},
"kind": {
"type": "string",
"enum": [
"photo",
"file"
]
},
"url": {
"type": "string"
}
},
"required": [
"field",
"fileId",
"name",
"mime",
"size",
"kind",
"url"
],
"additionalProperties": false
},
"description": "์ฌ์งยทํ์ผ ์นธ์ ์ฌ์ฉ์๊ฐ ๋ถ์ธ ํ์ผ. ์ฌ์ฉ์ ํ๋ฉด์ ์ด๋ฏธ ๋ณด์ฌ์"
},
"quote": {
"anyOf": [
{
"type": "object",
"properties": {
"price": {
"type": "number",
"description": "๊ณต๊ธ์๊ฐ ๋ตํ ๊ธ์ก (์)"
},
"note": {
"type": "string",
"description": "๊ณต๊ธ์๊ฐ ๋จ๊ธด ๋ง"
}
},
"required": [
"price",
"note"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string"
},
"respondedAt": {
"type": [
"string",
"null"
]
},
"providerPhone": {
"description": "๊ณต๊ธ์ ์ ํ๋ฒํธ. ์ฌ์ฉ์๊ฐ ์๋ฝํ ๋ค์๋ง ์ฑ์์ ธ์",
"type": [
"string",
"null"
]
},
"progress": {
"anyOf": [
{
"type": "string",
"enum": [
"awaiting_payment",
"payment_reported",
"paid",
"fulfilled",
"received"
]
},
{
"type": "null"
}
],
"description": "์๋ฝํ ๋ค์ ์งํ. awaiting_payment(์ฌ์ฉ์๊ฐ ์์ง ์ ๋ณด๋), payment_reported(๋ณด๋๋ค๊ณ ์๋ฆผ, ๊ณต๊ธ์ ํ์ธ ์ ), paid(๊ณต๊ธ์๊ฐ ์
๊ธ ํ์ธ), fulfilled(๊ณต๊ธ์๊ฐ ๋ณด๋๊ฑฐ๋ ์ผ์ ๋ง์นจ), received(์ฌ์ฉ์๊ฐ ๋ฐ์๋ค๊ณ ํ์ธ)"
},
"payment": {
"anyOf": [
{
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "๋ณด๋ผ ๊ธ์ก (์)"
},
"ways": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "account"
},
"bank": {
"type": "string"
},
"number": {
"type": "string"
},
"holder": {
"type": "string",
"description": "์๊ธ์ฃผ. ์ฌ์ฉ์๊ฐ ๋ณด๋ด๊ธฐ ์ ์ ํ์ธํด์"
}
},
"required": [
"type",
"bank",
"number",
"holder"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "link"
},
"url": {
"type": "string",
"description": "๊ณต๊ธ์์ ์ก๊ธยท๊ฒฐ์ ์ฃผ์. ์ฌ์ฉ์๊ฐ ์ง์ ์ด์ด์"
},
"label": {
"type": "string"
}
},
"required": [
"type",
"url",
"label"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "onsite"
},
"note": {
"type": "string"
}
},
"required": [
"type",
"note"
],
"additionalProperties": false
}
]
},
"description": "๊ณต๊ธ์๊ฐ ๋์ ๋ฐ๋ ๋ฐฉ๋ฒ. ์ฌ์ฉ์๊ฐ ํ๋๋ฅผ ๊ณจ๋ผ ์๊ธฐ ๊ธ์ต ์ฑ์์ ์ง์ ๋ณด๋ด์"
},
"notice": {
"type": "string"
}
},
"required": [
"amount",
"ways",
"notice"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "์ด๋๋ก ์ผ๋ง๋ฅผ ๋ณด๋ด๋์ง. ์๋ฝํ ๋ค์๋ง ์ฑ์์ ธ์. null์ด๋ฉด ๊ณต๊ธ์๊ฐ ์ฐ๋ฝํด์ ์ง์ ์๋ดํด์"
},
"fulfillment": {
"anyOf": [
{
"type": "object",
"properties": {
"note": {
"type": "string",
"description": "ํ๋ฐฐ์ฌ์ ์ก์ฅ ๋ฒํธ ๊ฐ์ ๊ณต๊ธ์์ ํ๋ง๋"
},
"at": {
"type": "string"
}
},
"required": [
"note",
"at"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"rating": {
"description": "๋ฐ์๋ค๊ณ ํ์ธํ๋ฉด์ ์ฌ์ฉ์๊ฐ ๋จ๊ธด ๋ณ์ (1~5)",
"type": [
"number",
"null"
]
},
"declineNote": {
"description": "๊ณต๊ธ์๊ฐ ๊ฑฐ์ ํ๋ฉด์ ๋จ๊ธด ๋ง. ์์ผ๋ฉด ์ฌ์ฉ์์๊ฒ ๊ทธ๋๋ก ์ ํด ์ฃผ์ธ์",
"type": [
"string",
"null"
]
},
"waiting": {
"description": "๋ต์ ๊ธฐ๋ค๋ฆฌ๋ ๋์(status=sent)๊ณผ ๊ฐ๊ฒ๋ฅผ ๊ธฐ๋ค๋ฆฌ๋ ๋์(status=waiting_for_shop)์๋ง ์ฑ์์ ธ์",
"anyOf": [
{
"type": "object",
"properties": {
"minutes": {
"type": "number",
"description": "๋ณด๋ธ ๋ค ์ง๋ ์๊ฐ (๋ถ)"
},
"usualMinutes": {
"description": "์ด ๊ณต๊ธ์๊ฐ ๋ณดํต ๋ตํ๋ ๋ฐ ๊ฑธ๋ฆฌ๋ ์๊ฐ (๋ถ). ๊ธฐ๋ก์ด ์์ผ๋ฉด null",
"type": [
"number",
"null"
]
},
"slow": {
"type": "boolean",
"description": "true๋ฉด ํ์๋ณด๋ค ๋ง์ด ๋ฆ๊ฑฐ๋ ํ๋ฃจ๊ฐ ์ง๋ ๊ฑฐ์์. ๋ค๋ฅธ ๊ณต๊ธ์์๊ฒ๋ ๋ณด๋ด ๋ณด๋ผ๊ณ ๊ถํด ์ฃผ์ธ์"
},
"reached": {
"description": "๊ฐ๊ฒ ์ชฝ์ ์๋ฆผ์ด ๋ฟ์๋์ง. false๊ฐ ์ค๋๊ฐ๋ฉด ๊ฐ๊ฒ๊ฐ ์์ง ์์ฒญ์ ๋ฐ์ง ๋ชปํ ๊ฑฐ์์. ๋ค๋ฅธ ๊ณต๊ธ์์๊ฒ๋ ๋ณด๋ด ๋ณด๋ผ๊ณ ๊ถํด ์ฃผ์ธ์",
"type": "boolean"
},
"note": {
"type": "string",
"description": "์ฌ์ฉ์์๊ฒ ์ ํ ๋ง"
}
},
"required": [
"minutes",
"usualMinutes",
"slow",
"note"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"notice": {
"type": "string"
}
},
"required": [
"requestId",
"status",
"action",
"providerName",
"answers",
"attachments",
"quote",
"createdAt",
"respondedAt",
"providerPhone",
"progress",
"payment",
"fulfillment",
"rating",
"declineNote",
"notice"
],
"additionalProperties": false
}
},
"notice": {
"type": "string"
}
},
"required": [
"requests",
"notice"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}๐ดaccept_quote(requestId, name, phone, consent, address)
agent-direct(์์ด์ ํธ ๋ค์ด๋ ํธ): accept a quoted price for the user. This gives the user's name and phone number to that provider and cannot be undone. Before calling, tell the user (1) the provider name and the price and (2) that their name and phone number will be passed to the provider, and get an explicit yes; set consent=true only then. Use only the name and phone number the user typed in this conversation. For goods that are delivered, also ask the user for the postal code and address and pass them as `address`; it goes to that provider only. The result has the provider's phone number and `payment` guidance. The user pays the provider directly (a payment link, on site, or a bank transfer the provider arranges by phone or text). Never pay for the user, never ask for card numbers, bank account numbers, passwords or verification codes, and never invent an account or link. When the user says they have paid, call report_payment.
Input Schema
{
"type": "object",
"properties": {
"requestId": {
"type": "string"
},
"name": {
"type": "string",
"description": "์ฌ์ฉ์์ ์ด๋ฆ. ์ฌ์ฉ์๊ฐ ์ง์ ๋งํ ๊ฒ"
},
"phone": {
"type": "string",
"description": "์ฌ์ฉ์์ ํด๋ํฐ ๋ฒํธ. ์: 010-1234-5678"
},
"consent": {
"type": "boolean",
"description": "์ฌ์ฉ์๊ฐ ์ด๋ฆ๊ณผ ์ ํ๋ฒํธ๋ฅผ ์ด ๊ณต๊ธ์์๊ฒ ์ ๋ฌํ๋ ๋ฐ ๋์ํ๋์ง"
},
"address": {
"description": "๋ฌผ๊ฑด์ ๋ฐฐ์ก๋ฐ๋ ์ฃผ๋ฌธ์ผ ๋๋ง. ์ฌ์ฉ์๊ฐ ์ง์ ๋งํ ๋ฐ๋ ๊ณณ",
"type": "object",
"properties": {
"zip": {
"type": "string",
"description": "์ฐํธ๋ฒํธ 5์๋ฆฌ"
},
"address": {
"type": "string",
"description": "๊ธฐ๋ณธ ์ฃผ์ (๋๋ก๋ช
)"
},
"addressDetail": {
"default": "",
"description": "์์ธ ์ฃผ์ (๋, ํธ์)",
"type": "string"
},
"memo": {
"default": "",
"description": "๋ฐฐ์ก ๋ฉ๋ชจ",
"type": "string"
}
},
"required": [
"zip",
"address"
]
}
},
"required": [
"requestId",
"name",
"phone",
"consent"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Output Schema
{
"type": "object",
"properties": {
"requestId": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"waiting_for_shop",
"sent",
"quoted",
"declined",
"accepted",
"cancelled"
],
"description": "waiting_for_shop์ ๋ง๋ ๊ฐ๊ฒ๊ฐ ์์ด ๋งก์ ๋ ์์ฒญ์ด์์. ๋ง๋ ๊ฐ๊ฒ๊ฐ ๋ฑ๋กํ๋ฉด sent๋ก ๋ฐ๋์ด์"
},
"action": {
"type": "object",
"properties": {
"actionId": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"actionId",
"title"
],
"additionalProperties": false
},
"providerName": {
"type": "string",
"description": "status๊ฐ waiting_for_shop์ด๋ฉด ์์ง ๊ฐ๊ฒ๊ฐ ์์ด์ ๋น์ด ์์ด์"
},
"answers": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"attachments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"fileId": {
"type": "string"
},
"name": {
"type": "string"
},
"mime": {
"type": "string"
},
"size": {
"type": "number"
},
"kind": {
"type": "string",
"enum": [
"photo",
"file"
]
},
"url": {
"type": "string"
}
},
"required": [
"field",
"fileId",
"name",
"mime",
"size",
"kind",
"url"
],
"additionalProperties": false
},
"description": "์ฌ์งยทํ์ผ ์นธ์ ์ฌ์ฉ์๊ฐ ๋ถ์ธ ํ์ผ. ์ฌ์ฉ์ ํ๋ฉด์ ์ด๋ฏธ ๋ณด์ฌ์"
},
"quote": {
"anyOf": [
{
"type": "object",
"properties": {
"price": {
"type": "number",
"description": "๊ณต๊ธ์๊ฐ ๋ตํ ๊ธ์ก (์)"
},
"note": {
"type": "string",
"description": "๊ณต๊ธ์๊ฐ ๋จ๊ธด ๋ง"
}
},
"required": [
"price",
"note"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string"
},
"respondedAt": {
"type": [
"string",
"null"
]
},
"providerPhone": {
"description": "๊ณต๊ธ์ ์ ํ๋ฒํธ. ์ฌ์ฉ์๊ฐ ์๋ฝํ ๋ค์๋ง ์ฑ์์ ธ์",
"type": [
"string",
"null"
]
},
"progress": {
"anyOf": [
{
"type": "string",
"enum": [
"awaiting_payment",
"payment_reported",
"paid",
"fulfilled",
"received"
]
},
{
"type": "null"
}
],
"description": "์๋ฝํ ๋ค์ ์งํ. awaiting_payment(์ฌ์ฉ์๊ฐ ์์ง ์ ๋ณด๋), payment_reported(๋ณด๋๋ค๊ณ ์๋ฆผ, ๊ณต๊ธ์ ํ์ธ ์ ), paid(๊ณต๊ธ์๊ฐ ์
๊ธ ํ์ธ), fulfilled(๊ณต๊ธ์๊ฐ ๋ณด๋๊ฑฐ๋ ์ผ์ ๋ง์นจ), received(์ฌ์ฉ์๊ฐ ๋ฐ์๋ค๊ณ ํ์ธ)"
},
"payment": {
"anyOf": [
{
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "๋ณด๋ผ ๊ธ์ก (์)"
},
"ways": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "account"
},
"bank": {
"type": "string"
},
"number": {
"type": "string"
},
"holder": {
"type": "string",
"description": "์๊ธ์ฃผ. ์ฌ์ฉ์๊ฐ ๋ณด๋ด๊ธฐ ์ ์ ํ์ธํด์"
}
},
"required": [
"type",
"bank",
"number",
"holder"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "link"
},
"url": {
"type": "string",
"description": "๊ณต๊ธ์์ ์ก๊ธยท๊ฒฐ์ ์ฃผ์. ์ฌ์ฉ์๊ฐ ์ง์ ์ด์ด์"
},
"label": {
"type": "string"
}
},
"required": [
"type",
"url",
"label"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "onsite"
},
"note": {
"type": "string"
}
},
"required": [
"type",
"note"
],
"additionalProperties": false
}
]
},
"description": "๊ณต๊ธ์๊ฐ ๋์ ๋ฐ๋ ๋ฐฉ๋ฒ. ์ฌ์ฉ์๊ฐ ํ๋๋ฅผ ๊ณจ๋ผ ์๊ธฐ ๊ธ์ต ์ฑ์์ ์ง์ ๋ณด๋ด์"
},
"notice": {
"type": "string"
}
},
"required": [
"amount",
"ways",
"notice"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "์ด๋๋ก ์ผ๋ง๋ฅผ ๋ณด๋ด๋์ง. ์๋ฝํ ๋ค์๋ง ์ฑ์์ ธ์. null์ด๋ฉด ๊ณต๊ธ์๊ฐ ์ฐ๋ฝํด์ ์ง์ ์๋ดํด์"
},
"fulfillment": {
"anyOf": [
{
"type": "object",
"properties": {
"note": {
"type": "string",
"description": "ํ๋ฐฐ์ฌ์ ์ก์ฅ ๋ฒํธ ๊ฐ์ ๊ณต๊ธ์์ ํ๋ง๋"
},
"at": {
"type": "string"
}
},
"required": [
"note",
"at"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"rating": {
"description": "๋ฐ์๋ค๊ณ ํ์ธํ๋ฉด์ ์ฌ์ฉ์๊ฐ ๋จ๊ธด ๋ณ์ (1~5)",
"type": [
"number",
"null"
]
},
"declineNote": {
"description": "๊ณต๊ธ์๊ฐ ๊ฑฐ์ ํ๋ฉด์ ๋จ๊ธด ๋ง. ์์ผ๋ฉด ์ฌ์ฉ์์๊ฒ ๊ทธ๋๋ก ์ ํด ์ฃผ์ธ์",
"type": [
"string",
"null"
]
},
"waiting": {
"description": "๋ต์ ๊ธฐ๋ค๋ฆฌ๋ ๋์(status=sent)๊ณผ ๊ฐ๊ฒ๋ฅผ ๊ธฐ๋ค๋ฆฌ๋ ๋์(status=waiting_for_shop)์๋ง ์ฑ์์ ธ์",
"anyOf": [
{
"type": "object",
"properties": {
"minutes": {
"type": "number",
"description": "๋ณด๋ธ ๋ค ์ง๋ ์๊ฐ (๋ถ)"
},
"usualMinutes": {
"description": "์ด ๊ณต๊ธ์๊ฐ ๋ณดํต ๋ตํ๋ ๋ฐ ๊ฑธ๋ฆฌ๋ ์๊ฐ (๋ถ). ๊ธฐ๋ก์ด ์์ผ๋ฉด null",
"type": [
"number",
"null"
]
},
"slow": {
"type": "boolean",
"description": "true๋ฉด ํ์๋ณด๋ค ๋ง์ด ๋ฆ๊ฑฐ๋ ํ๋ฃจ๊ฐ ์ง๋ ๊ฑฐ์์. ๋ค๋ฅธ ๊ณต๊ธ์์๊ฒ๋ ๋ณด๋ด ๋ณด๋ผ๊ณ ๊ถํด ์ฃผ์ธ์"
},
"reached": {
"description": "๊ฐ๊ฒ ์ชฝ์ ์๋ฆผ์ด ๋ฟ์๋์ง. false๊ฐ ์ค๋๊ฐ๋ฉด ๊ฐ๊ฒ๊ฐ ์์ง ์์ฒญ์ ๋ฐ์ง ๋ชปํ ๊ฑฐ์์. ๋ค๋ฅธ ๊ณต๊ธ์์๊ฒ๋ ๋ณด๋ด ๋ณด๋ผ๊ณ ๊ถํด ์ฃผ์ธ์",
"type": "boolean"
},
"note": {
"type": "string",
"description": "์ฌ์ฉ์์๊ฒ ์ ํ ๋ง"
}
},
"required": [
"minutes",
"usualMinutes",
"slow",
"note"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"notice": {
"type": "string"
}
},
"required": [
"requestId",
"status",
"action",
"providerName",
"answers",
"attachments",
"quote",
"createdAt",
"respondedAt",
"providerPhone",
"progress",
"payment",
"fulfillment",
"rating",
"declineNote",
"notice"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}๐ดcancel_request(requestId)
agent-direct(์์ด์ ํธ ๋ค์ด๋ ํธ): withdraw a request the user no longer wants. Works only while status is sent, quoted or waiting_for_shop. If the user sent to several providers and accepted one, withdraw the others so those owners do not waste effort. An accepted request cannot be withdrawn; tell the user to call the provider instead.
Input Schema
{
"type": "object",
"properties": {
"requestId": {
"type": "string"
}
},
"required": [
"requestId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Output Schema
{
"type": "object",
"properties": {
"requestId": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"waiting_for_shop",
"sent",
"quoted",
"declined",
"accepted",
"cancelled"
],
"description": "waiting_for_shop์ ๋ง๋ ๊ฐ๊ฒ๊ฐ ์์ด ๋งก์ ๋ ์์ฒญ์ด์์. ๋ง๋ ๊ฐ๊ฒ๊ฐ ๋ฑ๋กํ๋ฉด sent๋ก ๋ฐ๋์ด์"
},
"action": {
"type": "object",
"properties": {
"actionId": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"actionId",
"title"
],
"additionalProperties": false
},
"providerName": {
"type": "string",
"description": "status๊ฐ waiting_for_shop์ด๋ฉด ์์ง ๊ฐ๊ฒ๊ฐ ์์ด์ ๋น์ด ์์ด์"
},
"answers": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"attachments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"fileId": {
"type": "string"
},
"name": {
"type": "string"
},
"mime": {
"type": "string"
},
"size": {
"type": "number"
},
"kind": {
"type": "string",
"enum": [
"photo",
"file"
]
},
"url": {
"type": "string"
}
},
"required": [
"field",
"fileId",
"name",
"mime",
"size",
"kind",
"url"
],
"additionalProperties": false
},
"description": "์ฌ์งยทํ์ผ ์นธ์ ์ฌ์ฉ์๊ฐ ๋ถ์ธ ํ์ผ. ์ฌ์ฉ์ ํ๋ฉด์ ์ด๋ฏธ ๋ณด์ฌ์"
},
"quote": {
"anyOf": [
{
"type": "object",
"properties": {
"price": {
"type": "number",
"description": "๊ณต๊ธ์๊ฐ ๋ตํ ๊ธ์ก (์)"
},
"note": {
"type": "string",
"description": "๊ณต๊ธ์๊ฐ ๋จ๊ธด ๋ง"
}
},
"required": [
"price",
"note"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string"
},
"respondedAt": {
"type": [
"string",
"null"
]
},
"providerPhone": {
"description": "๊ณต๊ธ์ ์ ํ๋ฒํธ. ์ฌ์ฉ์๊ฐ ์๋ฝํ ๋ค์๋ง ์ฑ์์ ธ์",
"type": [
"string",
"null"
]
},
"progress": {
"anyOf": [
{
"type": "string",
"enum": [
"awaiting_payment",
"payment_reported",
"paid",
"fulfilled",
"received"
]
},
{
"type": "null"
}
],
"description": "์๋ฝํ ๋ค์ ์งํ. awaiting_payment(์ฌ์ฉ์๊ฐ ์์ง ์ ๋ณด๋), payment_reported(๋ณด๋๋ค๊ณ ์๋ฆผ, ๊ณต๊ธ์ ํ์ธ ์ ), paid(๊ณต๊ธ์๊ฐ ์
๊ธ ํ์ธ), fulfilled(๊ณต๊ธ์๊ฐ ๋ณด๋๊ฑฐ๋ ์ผ์ ๋ง์นจ), received(์ฌ์ฉ์๊ฐ ๋ฐ์๋ค๊ณ ํ์ธ)"
},
"payment": {
"anyOf": [
{
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "๋ณด๋ผ ๊ธ์ก (์)"
},
"ways": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "account"
},
"bank": {
"type": "string"
},
"number": {
"type": "string"
},
"holder": {
"type": "string",
"description": "์๊ธ์ฃผ. ์ฌ์ฉ์๊ฐ ๋ณด๋ด๊ธฐ ์ ์ ํ์ธํด์"
}
},
"required": [
"type",
"bank",
"number",
"holder"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "link"
},
"url": {
"type": "string",
"description": "๊ณต๊ธ์์ ์ก๊ธยท๊ฒฐ์ ์ฃผ์. ์ฌ์ฉ์๊ฐ ์ง์ ์ด์ด์"
},
"label": {
"type": "string"
}
},
"required": [
"type",
"url",
"label"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "onsite"
},
"note": {
"type": "string"
}
},
"required": [
"type",
"note"
],
"additionalProperties": false
}
]
},
"description": "๊ณต๊ธ์๊ฐ ๋์ ๋ฐ๋ ๋ฐฉ๋ฒ. ์ฌ์ฉ์๊ฐ ํ๋๋ฅผ ๊ณจ๋ผ ์๊ธฐ ๊ธ์ต ์ฑ์์ ์ง์ ๋ณด๋ด์"
},
"notice": {
"type": "string"
}
},
"required": [
"amount",
"ways",
"notice"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "์ด๋๋ก ์ผ๋ง๋ฅผ ๋ณด๋ด๋์ง. ์๋ฝํ ๋ค์๋ง ์ฑ์์ ธ์. null์ด๋ฉด ๊ณต๊ธ์๊ฐ ์ฐ๋ฝํด์ ์ง์ ์๋ดํด์"
},
"fulfillment": {
"anyOf": [
{
"type": "object",
"properties": {
"note": {
"type": "string",
"description": "ํ๋ฐฐ์ฌ์ ์ก์ฅ ๋ฒํธ ๊ฐ์ ๊ณต๊ธ์์ ํ๋ง๋"
},
"at": {
"type": "string"
}
},
"required": [
"note",
"at"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"rating": {
"description": "๋ฐ์๋ค๊ณ ํ์ธํ๋ฉด์ ์ฌ์ฉ์๊ฐ ๋จ๊ธด ๋ณ์ (1~5)",
"type": [
"number",
"null"
]
},
"declineNote": {
"description": "๊ณต๊ธ์๊ฐ ๊ฑฐ์ ํ๋ฉด์ ๋จ๊ธด ๋ง. ์์ผ๋ฉด ์ฌ์ฉ์์๊ฒ ๊ทธ๋๋ก ์ ํด ์ฃผ์ธ์",
"type": [
"string",
"null"
]
},
"waiting": {
"description": "๋ต์ ๊ธฐ๋ค๋ฆฌ๋ ๋์(status=sent)๊ณผ ๊ฐ๊ฒ๋ฅผ ๊ธฐ๋ค๋ฆฌ๋ ๋์(status=waiting_for_shop)์๋ง ์ฑ์์ ธ์",
"anyOf": [
{
"type": "object",
"properties": {
"minutes": {
"type": "number",
"description": "๋ณด๋ธ ๋ค ์ง๋ ์๊ฐ (๋ถ)"
},
"usualMinutes": {
"description": "์ด ๊ณต๊ธ์๊ฐ ๋ณดํต ๋ตํ๋ ๋ฐ ๊ฑธ๋ฆฌ๋ ์๊ฐ (๋ถ). ๊ธฐ๋ก์ด ์์ผ๋ฉด null",
"type": [
"number",
"null"
]
},
"slow": {
"type": "boolean",
"description": "true๋ฉด ํ์๋ณด๋ค ๋ง์ด ๋ฆ๊ฑฐ๋ ํ๋ฃจ๊ฐ ์ง๋ ๊ฑฐ์์. ๋ค๋ฅธ ๊ณต๊ธ์์๊ฒ๋ ๋ณด๋ด ๋ณด๋ผ๊ณ ๊ถํด ์ฃผ์ธ์"
},
"reached": {
"description": "๊ฐ๊ฒ ์ชฝ์ ์๋ฆผ์ด ๋ฟ์๋์ง. false๊ฐ ์ค๋๊ฐ๋ฉด ๊ฐ๊ฒ๊ฐ ์์ง ์์ฒญ์ ๋ฐ์ง ๋ชปํ ๊ฑฐ์์. ๋ค๋ฅธ ๊ณต๊ธ์์๊ฒ๋ ๋ณด๋ด ๋ณด๋ผ๊ณ ๊ถํด ์ฃผ์ธ์",
"type": "boolean"
},
"note": {
"type": "string",
"description": "์ฌ์ฉ์์๊ฒ ์ ํ ๋ง"
}
},
"required": [
"minutes",
"usualMinutes",
"slow",
"note"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"notice": {
"type": "string"
}
},
"required": [
"requestId",
"status",
"action",
"providerName",
"answers",
"attachments",
"quote",
"createdAt",
"respondedAt",
"providerPhone",
"progress",
"payment",
"fulfillment",
"rating",
"declineNote",
"notice"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}โชreport_payment(requestId)
agent-direct(์์ด์ ํธ ๋ค์ด๋ ํธ): tell the provider that the user has already paid them directly for an accepted request, so the owner can check. This tool does not move money. Call it only after the user says they paid; never assume. progress becomes payment_reported, then paid once the owner confirms.
Input Schema
{
"type": "object",
"properties": {
"requestId": {
"type": "string"
}
},
"required": [
"requestId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Output Schema
{
"type": "object",
"properties": {
"requestId": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"waiting_for_shop",
"sent",
"quoted",
"declined",
"accepted",
"cancelled"
],
"description": "waiting_for_shop์ ๋ง๋ ๊ฐ๊ฒ๊ฐ ์์ด ๋งก์ ๋ ์์ฒญ์ด์์. ๋ง๋ ๊ฐ๊ฒ๊ฐ ๋ฑ๋กํ๋ฉด sent๋ก ๋ฐ๋์ด์"
},
"action": {
"type": "object",
"properties": {
"actionId": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"actionId",
"title"
],
"additionalProperties": false
},
"providerName": {
"type": "string",
"description": "status๊ฐ waiting_for_shop์ด๋ฉด ์์ง ๊ฐ๊ฒ๊ฐ ์์ด์ ๋น์ด ์์ด์"
},
"answers": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"attachments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"fileId": {
"type": "string"
},
"name": {
"type": "string"
},
"mime": {
"type": "string"
},
"size": {
"type": "number"
},
"kind": {
"type": "string",
"enum": [
"photo",
"file"
]
},
"url": {
"type": "string"
}
},
"required": [
"field",
"fileId",
"name",
"mime",
"size",
"kind",
"url"
],
"additionalProperties": false
},
"description": "์ฌ์งยทํ์ผ ์นธ์ ์ฌ์ฉ์๊ฐ ๋ถ์ธ ํ์ผ. ์ฌ์ฉ์ ํ๋ฉด์ ์ด๋ฏธ ๋ณด์ฌ์"
},
"quote": {
"anyOf": [
{
"type": "object",
"properties": {
"price": {
"type": "number",
"description": "๊ณต๊ธ์๊ฐ ๋ตํ ๊ธ์ก (์)"
},
"note": {
"type": "string",
"description": "๊ณต๊ธ์๊ฐ ๋จ๊ธด ๋ง"
}
},
"required": [
"price",
"note"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string"
},
"respondedAt": {
"type": [
"string",
"null"
]
},
"providerPhone": {
"description": "๊ณต๊ธ์ ์ ํ๋ฒํธ. ์ฌ์ฉ์๊ฐ ์๋ฝํ ๋ค์๋ง ์ฑ์์ ธ์",
"type": [
"string",
"null"
]
},
"progress": {
"anyOf": [
{
"type": "string",
"enum": [
"awaiting_payment",
"payment_reported",
"paid",
"fulfilled",
"received"
]
},
{
"type": "null"
}
],
"description": "์๋ฝํ ๋ค์ ์งํ. awaiting_payment(์ฌ์ฉ์๊ฐ ์์ง ์ ๋ณด๋), payment_reported(๋ณด๋๋ค๊ณ ์๋ฆผ, ๊ณต๊ธ์ ํ์ธ ์ ), paid(๊ณต๊ธ์๊ฐ ์
๊ธ ํ์ธ), fulfilled(๊ณต๊ธ์๊ฐ ๋ณด๋๊ฑฐ๋ ์ผ์ ๋ง์นจ), received(์ฌ์ฉ์๊ฐ ๋ฐ์๋ค๊ณ ํ์ธ)"
},
"payment": {
"anyOf": [
{
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "๋ณด๋ผ ๊ธ์ก (์)"
},
"ways": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "account"
},
"bank": {
"type": "string"
},
"number": {
"type": "string"
},
"holder": {
"type": "string",
"description": "์๊ธ์ฃผ. ์ฌ์ฉ์๊ฐ ๋ณด๋ด๊ธฐ ์ ์ ํ์ธํด์"
}
},
"required": [
"type",
"bank",
"number",
"holder"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "link"
},
"url": {
"type": "string",
"description": "๊ณต๊ธ์์ ์ก๊ธยท๊ฒฐ์ ์ฃผ์. ์ฌ์ฉ์๊ฐ ์ง์ ์ด์ด์"
},
"label": {
"type": "string"
}
},
"required": [
"type",
"url",
"label"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "onsite"
},
"note": {
"type": "string"
}
},
"required": [
"type",
"note"
],
"additionalProperties": false
}
]
},
"description": "๊ณต๊ธ์๊ฐ ๋์ ๋ฐ๋ ๋ฐฉ๋ฒ. ์ฌ์ฉ์๊ฐ ํ๋๋ฅผ ๊ณจ๋ผ ์๊ธฐ ๊ธ์ต ์ฑ์์ ์ง์ ๋ณด๋ด์"
},
"notice": {
"type": "string"
}
},
"required": [
"amount",
"ways",
"notice"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "์ด๋๋ก ์ผ๋ง๋ฅผ ๋ณด๋ด๋์ง. ์๋ฝํ ๋ค์๋ง ์ฑ์์ ธ์. null์ด๋ฉด ๊ณต๊ธ์๊ฐ ์ฐ๋ฝํด์ ์ง์ ์๋ดํด์"
},
"fulfillment": {
"anyOf": [
{
"type": "object",
"properties": {
"note": {
"type": "string",
"description": "ํ๋ฐฐ์ฌ์ ์ก์ฅ ๋ฒํธ ๊ฐ์ ๊ณต๊ธ์์ ํ๋ง๋"
},
"at": {
"type": "string"
}
},
"required": [
"note",
"at"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"rating": {
"description": "๋ฐ์๋ค๊ณ ํ์ธํ๋ฉด์ ์ฌ์ฉ์๊ฐ ๋จ๊ธด ๋ณ์ (1~5)",
"type": [
"number",
"null"
]
},
"declineNote": {
"description": "๊ณต๊ธ์๊ฐ ๊ฑฐ์ ํ๋ฉด์ ๋จ๊ธด ๋ง. ์์ผ๋ฉด ์ฌ์ฉ์์๊ฒ ๊ทธ๋๋ก ์ ํด ์ฃผ์ธ์",
"type": [
"string",
"null"
]
},
"waiting": {
"description": "๋ต์ ๊ธฐ๋ค๋ฆฌ๋ ๋์(status=sent)๊ณผ ๊ฐ๊ฒ๋ฅผ ๊ธฐ๋ค๋ฆฌ๋ ๋์(status=waiting_for_shop)์๋ง ์ฑ์์ ธ์",
"anyOf": [
{
"type": "object",
"properties": {
"minutes": {
"type": "number",
"description": "๋ณด๋ธ ๋ค ์ง๋ ์๊ฐ (๋ถ)"
},
"usualMinutes": {
"description": "์ด ๊ณต๊ธ์๊ฐ ๋ณดํต ๋ตํ๋ ๋ฐ ๊ฑธ๋ฆฌ๋ ์๊ฐ (๋ถ). ๊ธฐ๋ก์ด ์์ผ๋ฉด null",
"type": [
"number",
"null"
]
},
"slow": {
"type": "boolean",
"description": "true๋ฉด ํ์๋ณด๋ค ๋ง์ด ๋ฆ๊ฑฐ๋ ํ๋ฃจ๊ฐ ์ง๋ ๊ฑฐ์์. ๋ค๋ฅธ ๊ณต๊ธ์์๊ฒ๋ ๋ณด๋ด ๋ณด๋ผ๊ณ ๊ถํด ์ฃผ์ธ์"
},
"reached": {
"description": "๊ฐ๊ฒ ์ชฝ์ ์๋ฆผ์ด ๋ฟ์๋์ง. false๊ฐ ์ค๋๊ฐ๋ฉด ๊ฐ๊ฒ๊ฐ ์์ง ์์ฒญ์ ๋ฐ์ง ๋ชปํ ๊ฑฐ์์. ๋ค๋ฅธ ๊ณต๊ธ์์๊ฒ๋ ๋ณด๋ด ๋ณด๋ผ๊ณ ๊ถํด ์ฃผ์ธ์",
"type": "boolean"
},
"note": {
"type": "string",
"description": "์ฌ์ฉ์์๊ฒ ์ ํ ๋ง"
}
},
"required": [
"minutes",
"usualMinutes",
"slow",
"note"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"notice": {
"type": "string"
}
},
"required": [
"requestId",
"status",
"action",
"providerName",
"answers",
"attachments",
"quote",
"createdAt",
"respondedAt",
"providerPhone",
"progress",
"payment",
"fulfillment",
"rating",
"declineNote",
"notice"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}โชconfirm_request_received(requestId, rating)
agent-direct(์์ด์ ํธ ๋ค์ด๋ ํธ): record that the user received the goods or that the work is finished. Call it only when the user says so. If there is a problem, do not call it; tell the user to contact the provider by phone (providerPhone). You may ask the user for a 1-5 star rating and pass it as `rating`; pass it only if the user gives a score, never make one up. It becomes part of the provider's public record.
Input Schema
{
"type": "object",
"properties": {
"requestId": {
"type": "string"
},
"rating": {
"description": "์ฌ์ฉ์๊ฐ ๋งํ ๋ณ์ (1~5). ๋งํ์ง ์์์ผ๋ฉด ๋น์์",
"type": "integer",
"minimum": 1,
"maximum": 5
}
},
"required": [
"requestId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Output Schema
{
"type": "object",
"properties": {
"requestId": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"waiting_for_shop",
"sent",
"quoted",
"declined",
"accepted",
"cancelled"
],
"description": "waiting_for_shop์ ๋ง๋ ๊ฐ๊ฒ๊ฐ ์์ด ๋งก์ ๋ ์์ฒญ์ด์์. ๋ง๋ ๊ฐ๊ฒ๊ฐ ๋ฑ๋กํ๋ฉด sent๋ก ๋ฐ๋์ด์"
},
"action": {
"type": "object",
"properties": {
"actionId": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"actionId",
"title"
],
"additionalProperties": false
},
"providerName": {
"type": "string",
"description": "status๊ฐ waiting_for_shop์ด๋ฉด ์์ง ๊ฐ๊ฒ๊ฐ ์์ด์ ๋น์ด ์์ด์"
},
"answers": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"attachments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"fileId": {
"type": "string"
},
"name": {
"type": "string"
},
"mime": {
"type": "string"
},
"size": {
"type": "number"
},
"kind": {
"type": "string",
"enum": [
"photo",
"file"
]
},
"url": {
"type": "string"
}
},
"required": [
"field",
"fileId",
"name",
"mime",
"size",
"kind",
"url"
],
"additionalProperties": false
},
"description": "์ฌ์งยทํ์ผ ์นธ์ ์ฌ์ฉ์๊ฐ ๋ถ์ธ ํ์ผ. ์ฌ์ฉ์ ํ๋ฉด์ ์ด๋ฏธ ๋ณด์ฌ์"
},
"quote": {
"anyOf": [
{
"type": "object",
"properties": {
"price": {
"type": "number",
"description": "๊ณต๊ธ์๊ฐ ๋ตํ ๊ธ์ก (์)"
},
"note": {
"type": "string",
"description": "๊ณต๊ธ์๊ฐ ๋จ๊ธด ๋ง"
}
},
"required": [
"price",
"note"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string"
},
"respondedAt": {
"type": [
"string",
"null"
]
},
"providerPhone": {
"description": "๊ณต๊ธ์ ์ ํ๋ฒํธ. ์ฌ์ฉ์๊ฐ ์๋ฝํ ๋ค์๋ง ์ฑ์์ ธ์",
"type": [
"string",
"null"
]
},
"progress": {
"anyOf": [
{
"type": "string",
"enum": [
"awaiting_payment",
"payment_reported",
"paid",
"fulfilled",
"received"
]
},
{
"type": "null"
}
],
"description": "์๋ฝํ ๋ค์ ์งํ. awaiting_payment(์ฌ์ฉ์๊ฐ ์์ง ์ ๋ณด๋), payment_reported(๋ณด๋๋ค๊ณ ์๋ฆผ, ๊ณต๊ธ์ ํ์ธ ์ ), paid(๊ณต๊ธ์๊ฐ ์
๊ธ ํ์ธ), fulfilled(๊ณต๊ธ์๊ฐ ๋ณด๋๊ฑฐ๋ ์ผ์ ๋ง์นจ), received(์ฌ์ฉ์๊ฐ ๋ฐ์๋ค๊ณ ํ์ธ)"
},
"payment": {
"anyOf": [
{
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "๋ณด๋ผ ๊ธ์ก (์)"
},
"ways": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "account"
},
"bank": {
"type": "string"
},
"number": {
"type": "string"
},
"holder": {
"type": "string",
"description": "์๊ธ์ฃผ. ์ฌ์ฉ์๊ฐ ๋ณด๋ด๊ธฐ ์ ์ ํ์ธํด์"
}
},
"required": [
"type",
"bank",
"number",
"holder"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "link"
},
"url": {
"type": "string",
"description": "๊ณต๊ธ์์ ์ก๊ธยท๊ฒฐ์ ์ฃผ์. ์ฌ์ฉ์๊ฐ ์ง์ ์ด์ด์"
},
"label": {
"type": "string"
}
},
"required": [
"type",
"url",
"label"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "onsite"
},
"note": {
"type": "string"
}
},
"required": [
"type",
"note"
],
"additionalProperties": false
}
]
},
"description": "๊ณต๊ธ์๊ฐ ๋์ ๋ฐ๋ ๋ฐฉ๋ฒ. ์ฌ์ฉ์๊ฐ ํ๋๋ฅผ ๊ณจ๋ผ ์๊ธฐ ๊ธ์ต ์ฑ์์ ์ง์ ๋ณด๋ด์"
},
"notice": {
"type": "string"
}
},
"required": [
"amount",
"ways",
"notice"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "์ด๋๋ก ์ผ๋ง๋ฅผ ๋ณด๋ด๋์ง. ์๋ฝํ ๋ค์๋ง ์ฑ์์ ธ์. null์ด๋ฉด ๊ณต๊ธ์๊ฐ ์ฐ๋ฝํด์ ์ง์ ์๋ดํด์"
},
"fulfillment": {
"anyOf": [
{
"type": "object",
"properties": {
"note": {
"type": "string",
"description": "ํ๋ฐฐ์ฌ์ ์ก์ฅ ๋ฒํธ ๊ฐ์ ๊ณต๊ธ์์ ํ๋ง๋"
},
"at": {
"type": "string"
}
},
"required": [
"note",
"at"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"rating": {
"description": "๋ฐ์๋ค๊ณ ํ์ธํ๋ฉด์ ์ฌ์ฉ์๊ฐ ๋จ๊ธด ๋ณ์ (1~5)",
"type": [
"number",
"null"
]
},
"declineNote": {
"description": "๊ณต๊ธ์๊ฐ ๊ฑฐ์ ํ๋ฉด์ ๋จ๊ธด ๋ง. ์์ผ๋ฉด ์ฌ์ฉ์์๊ฒ ๊ทธ๋๋ก ์ ํด ์ฃผ์ธ์",
"type": [
"string",
"null"
]
},
"waiting": {
"description": "๋ต์ ๊ธฐ๋ค๋ฆฌ๋ ๋์(status=sent)๊ณผ ๊ฐ๊ฒ๋ฅผ ๊ธฐ๋ค๋ฆฌ๋ ๋์(status=waiting_for_shop)์๋ง ์ฑ์์ ธ์",
"anyOf": [
{
"type": "object",
"properties": {
"minutes": {
"type": "number",
"description": "๋ณด๋ธ ๋ค ์ง๋ ์๊ฐ (๋ถ)"
},
"usualMinutes": {
"description": "์ด ๊ณต๊ธ์๊ฐ ๋ณดํต ๋ตํ๋ ๋ฐ ๊ฑธ๋ฆฌ๋ ์๊ฐ (๋ถ). ๊ธฐ๋ก์ด ์์ผ๋ฉด null",
"type": [
"number",
"null"
]
},
"slow": {
"type": "boolean",
"description": "true๋ฉด ํ์๋ณด๋ค ๋ง์ด ๋ฆ๊ฑฐ๋ ํ๋ฃจ๊ฐ ์ง๋ ๊ฑฐ์์. ๋ค๋ฅธ ๊ณต๊ธ์์๊ฒ๋ ๋ณด๋ด ๋ณด๋ผ๊ณ ๊ถํด ์ฃผ์ธ์"
},
"reached": {
"description": "๊ฐ๊ฒ ์ชฝ์ ์๋ฆผ์ด ๋ฟ์๋์ง. false๊ฐ ์ค๋๊ฐ๋ฉด ๊ฐ๊ฒ๊ฐ ์์ง ์์ฒญ์ ๋ฐ์ง ๋ชปํ ๊ฑฐ์์. ๋ค๋ฅธ ๊ณต๊ธ์์๊ฒ๋ ๋ณด๋ด ๋ณด๋ผ๊ณ ๊ถํด ์ฃผ์ธ์",
"type": "boolean"
},
"note": {
"type": "string",
"description": "์ฌ์ฉ์์๊ฒ ์ ํ ๋ง"
}
},
"required": [
"minutes",
"usualMinutes",
"slow",
"note"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"notice": {
"type": "string"
}
},
"required": [
"requestId",
"status",
"action",
"providerName",
"answers",
"attachments",
"quote",
"createdAt",
"respondedAt",
"providerPhone",
"progress",
"payment",
"fulfillment",
"rating",
"declineNote",
"notice"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}Community
Evidence