Open the return form
open_return_form
Action: navigate https://shop.mcpifyscsr.xyz/return/1
Locators (best first)
none
Pre (before acting)
none
Post (verified after)
- URL matches //return/1$/
- text present "Find Your Order"
return_item · v1 approvedRequest a return on the Demo Bazaar Online Store (DEMO, a fictional shop): finds the delivered order, picks the item and the reason, the pickup date and where the refund goes. It PAUSES for the user's confirmation before sending the OTP and again before the final submission, and asks the user for the OTP sent to their mobile. Returns return_id and refund_amount.
Start URL: https://shop.mcpifyscsr.xyz/return/1
Outputs: return_id, refund_amount
{
"type": "object",
"required": [
"order_id",
"mobile",
"item",
"reason",
"pickup_date",
"refund_method"
],
"properties": {
"item": {
"enum": [
"Cotton T-shirt, blue, size M",
"Steel water bottle, 1 litre",
"Wired earphones, black",
"Canvas tote bag, green"
],
"type": "string",
"title": "Item to return"
},
"mobile": {
"type": "string",
"title": "Mobile number",
"pattern": "^\\d{10}$",
"description": "The 10-digit mobile number the order was placed with"
},
"reason": {
"enum": [
"Wrong size",
"Damaged item",
"Not as described",
"Changed my mind"
],
"type": "string",
"title": "Reason for the return"
},
"order_id": {
"type": "string",
"title": "Order ID",
"pattern": "^DB-ORD-\\d{6}$",
"description": "From the order e-mail, e.g. DB-ORD-100245"
},
"pickup_date": {
"type": "string",
"title": "Pickup date",
"format": "date",
"description": "YYYY-MM-DD, today or later"
},
"refund_method": {
"enum": [
"Original payment method",
"Store credit"
],
"type": "string",
"title": "Where the refund goes",
"default": "Original payment method"
}
},
"additionalProperties": false
}Open the return form
open_return_form
Action: navigate https://shop.mcpifyscsr.xyz/return/1
Locators (best first)
none
Pre (before acting)
none
Post (verified after)
Fill the order ID
enter_order_id
Action: fill ← input.order_id
Locators (best first)
Pre (before acting)
Post (verified after)
Fill the mobile number the order was placed with
enter_mobile
Action: fill ← input.mobile
Locators (best first)
{
"id": "5c1a0b6e-0000-4000-8000-000000000007",
"siteId": "site-shop",
"name": "return_item",
"title": "Return an item",
"description": "Request a return on the Demo Bazaar Online Store (DEMO, a fictional shop): finds the delivered order, picks the item and the reason, the pickup date and where the refund goes. It PAUSES for the user's confirmation before sending the OTP and again before the final submission, and asks the user for the OTP sent to their mobile. Returns return_id and refund_amount.",
"version": 1,
"status": "approved",
"inputSchema": {
"type": "object",
"required": [
"order_id",
"mobile",
"item",
"reason",
"pickup_date",
"refund_method"
],
"properties": {
"item": {
"enum": [
"Cotton T-shirt, blue, size M",
"Steel water bottle, 1 litre",
"Wired earphones, black",
"Canvas tote bag, green"
],
"type": "string",
"title": "Item to return"
},
"mobile": {
"type": "string",
"title": "Mobile number",
"pattern": "^\\d{10}$",
"description": "The 10-digit mobile number the order was placed with"
},
"reason": {
"enum": [
"Wrong size",
"Damaged item",
"Not as described",
"Changed my mind"
],
"type": "string",
"title": "Reason for the return"
},
"order_id": {
"type": "string",
"title": "Order ID",
"pattern": "^DB-ORD-\\d{6}$",
"description": "From the order e-mail, e.g. DB-ORD-100245"
},
"pickup_date": {
"type": "string",
"title": "Pickup date",
"format": "date",
"description": "YYYY-MM-DD, today or later"
},
"refund_method": {
"enum": [
"Original payment method",
"Store credit"
],
"type": "string",
"title": "Where the refund goes",
"default": "Original payment method"
}
},
"additionalProperties": false
},
"outputs": [
"return_id",
"refund_amount"
],
"startUrl": "https://shop.mcpifyscsr.xyz/return/1",
"steps": [
{
"id": "open_return_form",
"intent": "Open the return form",
"action": {
"type": "navigate",
"url": "https://shop.mcpifyscsr.xyz/return/1"
},
"locators": [],
"pre": [],
"post": [
{
"kind": "urlMatches",
"pattern": "/return/1$"
},
{
"kind": "textPresent",
"text": "Find Your Order"
}
],
"risk": "read",
"repair": "auto"
},
{
"id": "enter_order_id",
"intent": "Fill the order ID",
"action": {
"type": "fill",
"param": "order_id"
},
"locators": [
{
"kind": "testid",
"value": "order_id"
},
{
"kind": "id",
"value": "txtOrderId"
},
{
"kind": "name",
"value": "orderId"
},
{
"kind": "label",
"value": "Order ID"
}
],
"pre": [
{
"kind": "visible",
"locators": [
{
"kind": "testid",
"value": "order_id"
},
{
"kind": "id",
"value": "txtOrderId"
},
{
"kind": "name",
"value": "orderId"
},
{
"kind": "label",
"value": "Order ID"
}
]
}
],
"post": [
{
"kind": "valueEquals",
"locators": [
{
"kind": "testid",
"value": "order_id"
},
{
"kind": "id",
"value": "txtOrderId"
},
{
"kind": "name",
"value": "orderId"
},
{
"kind": "label",
"value": "Order ID"
}
],
"param": "order_id"
},
{
"kind": "noErrorNear",
"locators": [
{
"kind": "testid",
"value": "order_id"
},
{
"kind": "id",
"value": "txtOrderId"
},
{
"kind": "name",
"value": "orderId"
},
{
"kind": "label",
"value": "Order ID"
}
]
}
],
"risk": "fill",
"repair": "auto"
},
{
"id": "enter_mobile",
"intent": "Fill the mobile number the order was placed with",
"action": {
"type": "fill",
"param": "mobile"
},
"locators": [
{
"kind": "testid",
"value": "mobile"
},
{
"kind": "id",
"value": "txtMobile"
},
{
"kind": "name",
"value": "mobile"
},
{
"kind": "label",
"value": "Mobile Number"
}
],
"pre": [
{
"kind": "visible",
"locators": [
{
"kind": "testid",
"value": "mobile"
},
{
"kind": "id",
"value": "txtMobile"
},
{
"kind": "name",
"value": "mobile"
},
{
"kind": "label",
"value": "Mobile Number"
}
]
}
],
"post": [
{
"kind": "valueEquals",
"locators": [
{
"kind": "testid",
"value": "mobile"
},
{
"kind": "id",
"value": "txtMobile"
},
{
"kind": "name",
"value": "mobile"
},
{
"kind": "label",
"value": "Mobile Number"
}
],
"param": "mobile"
},
{
"kind": "noErrorNear",
"locators": [
{
"kind": "testid",
"value": "mobile"
},
{
"kind": "id",
"value": "txtMobile"
},
{
"kind": "name",
"value": "mobile"
},
{
"kind": "label",
"value": "Mobile Number"
}
]
}
],
"risk": "fill",
"repair": "auto"
},
{
"id": "find_order",
"intent": "Find the order and go to the item page",
"action": {
"type": "click"
},
"locators": [
{
"kind": "testid",
"value": "next_1"
},
{
"kind": "id",
"value": "btnNext1"
},
{
"kind": "role",
"role": "button",
"name": "Next"
},
{
"kind": "text",
"value": "Next"
}
],
"pre": [
{
"kind": "visible",
"locators": [
{
"kind": "testid",
"value": "next_1"
},
{
"kind": "id",
"value": "btnNext1"
},
{
"kind": "role",
"role": "button",
"name": "Next"
},
{
"kind": "text",
"value": "Next"
}
]
}
],
"post": [
{
"kind": "urlMatches",
"pattern": "/return/2$"
}
],
"risk": "fill",
"repair": "auto",
"timeoutMs": 15000
},
{
"id": "select_item",
"intent": "Select the item to return",
"action": {
"type": "select",
"param": "item"
},
"locators": [
{
"kind": "testid",
"value": "item"
},
{
"kind": "id",
"value": "ddlItem"
},
{
"kind": "name",
"value": "item"
},
{
"kind": "label",
"value": "Item to return"
}
],
"pre": [
{
"kind": "visible",
"locators": [
{
"kind": "testid",
"value": "item"
},
{
"kind": "id",
"value": "ddlItem"
},
{
"kind": "name",
"value": "item"
},
{
"kind": "label",
"value": "Item to return"
}
]
}
],
"post": [
{
"kind": "valueEquals",
"locators": [
{
"kind": "testid",
"value": "item"
},
{
"kind": "id",
"value": "ddlItem"
},
{
"kind": "name",
"value": "item"
},
{
"kind": "label",
"value": "Item to return"
}
],
"param": "item"
},
{
"kind": "noErrorNear",
"locators": [
{
"kind": "testid",
"value": "item"
},
{
"kind": "id",
"value": "ddlItem"
},
{
"kind": "name",
"value": "item"
},
{
"kind": "label",
"value": "Item to return"
}
]
}
],
"risk": "fill",
"repair": "auto"
},
{
"id": "select_reason",
"intent": "Select the reason for the return",
"action": {
"type": "select",
"param": "reason"
},
"locators": [
{
"kind": "testid",
"value": "reason"
},
{
"kind": "id",
"value": "ddlReason"
},
{
"kind": "name",
"value": "reason"
},
{
"kind": "label",
"value": "Reason"
}
],
"pre": [
{
"kind": "visible",
"locators": [
{
"kind": "testid",
"value": "reason"
},
{
"kind": "id",
"value": "ddlReason"
},
{
"kind": "name",
"value": "reason"
},
{
"kind": "label",
"value": "Reason"
}
]
}
],
"post": [
{
"kind": "valueEquals",
"locators": [
{
"kind": "testid",
"value": "reason"
},
{
"kind": "id",
"value": "ddlReason"
},
{
"kind": "name",
"value": "reason"
},
{
"kind": "label",
"value": "Reason"
}
],
"param": "reason"
},
{
"kind": "noErrorNear",
"locators": [
{
"kind": "testid",
"value": "reason"
},
{
"kind": "id",
"value": "ddlReason"
},
{
"kind": "name",
"value": "reason"
},
{
"kind": "label",
"value": "Reason"
}
]
}
],
"risk": "fill",
"repair": "auto"
},
{
"id": "continue_to_pickup",
"intent": "Save the item and reason and go to the pickup page",
"action": {
"type": "click"
},
"locators": [
{
"kind": "testid",
"value": "next_2"
},
{
"kind": "id",
"value": "btnNext2"
},
{
"kind": "role",
"role": "button",
"name": "Next"
},
{
"kind": "text",
"value": "Next"
}
],
"pre": [
{
"kind": "visible",
"locators": [
{
"kind": "testid",
"value": "next_2"
},
{
"kind": "id",
"value": "btnNext2"
},
{
"kind": "role",
"role": "button",
"name": "Next"
},
{
"kind": "text",
"value": "Next"
}
]
}
],
"post": [
{
"kind": "urlMatches",
"pattern": "/return/3$"
}
],
"risk": "fill",
"repair": "auto",
"timeoutMs": 15000
},
{
"id": "enter_pickup_date",
"intent": "Fill the pickup date",
"action": {
"type": "fill",
"param": "pickup_date"
},
"locators": [
{
"kind": "testid",
"value": "pickup_date"
},
{
"kind": "id",
"value": "txtPickupDate"
},
{
"kind": "name",
"value": "pickupDate"
},
{
"kind": "label",
"value": "Pickup Date"
}
],
"pre": [
{
"kind": "visible",
"locators": [
{
"kind": "testid",
"value": "pickup_date"
},
{
"kind": "id",
"value": "txtPickupDate"
},
{
"kind": "name",
"value": "pickupDate"
},
{
"kind": "label",
"value": "Pickup Date"
}
]
}
],
"post": [
{
"kind": "valueEquals",
"locators": [
{
"kind": "testid",
"value": "pickup_date"
},
{
"kind": "id",
"value": "txtPickupDate"
},
{
"kind": "name",
"value": "pickupDate"
},
{
"kind": "label",
"value": "Pickup Date"
}
],
"param": "pickup_date"
},
{
"kind": "noErrorNear",
"locators": [
{
"kind": "testid",
"value": "pickup_date"
},
{
"kind": "id",
"value": "txtPickupDate"
},
{
"kind": "name",
"value": "pickupDate"
},
{
"kind": "label",
"value": "Pickup Date"
}
]
}
],
"risk": "fill",
"repair": "auto"
},
{
"id": "select_refund_method",
"intent": "Select where the refund goes",
"action": {
"type": "select",
"param": "refund_method"
},
"locators": [
{
"kind": "testid",
"value": "refund_method"
},
{
"kind": "id",
"value": "ddlRefund"
},
{
"kind": "name",
"value": "refundMethod"
},
{
"kind": "label",
"value": "Refund To"
}
],
"pre": [
{
"kind": "visible",
"locators": [
{
"kind": "testid",
"value": "refund_method"
},
{
"kind": "id",
"value": "ddlRefund"
},
{
"kind": "name",
"value": "refundMethod"
},
{
"kind": "label",
"value": "Refund To"
}
]
}
],
"post": [
{
"kind": "valueEquals",
"locators": [
{
"kind": "testid",
"value": "refund_method"
},
{
"kind": "id",
"value": "ddlRefund"
},
{
"kind": "name",
"value": "refundMethod"
},
{
"kind": "label",
"value": "Refund To"
}
],
"param": "refund_method"
},
{
"kind": "noErrorNear",
"locators": [
{
"kind": "testid",
"value": "refund_method"
},
{
"kind": "id",
"value": "ddlRefund"
},
{
"kind": "name",
"value": "refundMethod"
},
{
"kind": "label",
"value": "Refund To"
}
]
}
],
"risk": "fill",
"repair": "auto"
},
{
"id": "continue_to_verification",
"intent": "Save pickup and refund and go to the verification page",
"action": {
"type": "click"
},
"locators": [
{
"kind": "testid",
"value": "next_3"
},
{
"kind": "id",
"value": "btnNext3"
},
{
"kind": "role",
"role": "button",
"name": "Next"
},
{
"kind": "text",
"value": "Next"
}
],
"pre": [
{
"kind": "visible",
"locators": [
{
"kind": "testid",
"value": "next_3"
},
{
"kind": "id",
"value": "btnNext3"
},
{
"kind": "role",
"role": "button",
"name": "Next"
},
{
"kind": "text",
"value": "Next"
}
]
}
],
"post": [
{
"kind": "urlMatches",
"pattern": "/return/4$"
}
],
"risk": "fill",
"repair": "auto",
"timeoutMs": 15000
},
{
"id": "send_otp",
"intent": "Send an OTP to the customer's mobile number",
"action": {
"type": "click"
},
"locators": [
{
"kind": "testid",
"value": "send_otp"
},
{
"kind": "id",
"value": "btnSendOtp"
},
{
"kind": "role",
"role": "button",
"name": "Send OTP"
},
{
"kind": "text",
"value": "Send OTP"
}
],
"pre": [
{
"kind": "visible",
"locators": [
{
"kind": "testid",
"value": "send_otp"
},
{
"kind": "id",
"value": "btnSendOtp"
},
{
"kind": "role",
"role": "button",
"name": "Send OTP"
},
{
"kind": "text",
"value": "Send OTP"
}
]
}
],
"post": [
{
"kind": "textPresent",
"text": "OTP has been sent"
}
],
"risk": "commit",
"repair": "human",
"timeoutMs": 15000
},
{
"id": "enter_otp",
"intent": "Enter the OTP the customer received by SMS",
"action": {
"type": "userInput",
"param": "otp",
"prompt": "Please tell me the 6-digit OTP sent to your mobile number."
},
"locators": [
{
"kind": "testid",
"value": "otp"
},
{
"kind": "id",
"value": "txtOtp"
},
{
"kind": "name",
"value": "otp"
},
{
"kind": "label",
"value": "Enter OTP"
}
],
"pre": [
{
"kind": "visible",
"locators": [
{
"kind": "testid",
"value": "otp"
},
{
"kind": "id",
"value": "txtOtp"
},
{
"kind": "name",
"value": "otp"
},
{
"kind": "label",
"value": "Enter OTP"
}
]
}
],
"post": [],
"risk": "auth",
"repair": "human",
"sensitive": true
},
{
"id": "submit_return",
"intent": "Submit the return request",
"action": {
"type": "click"
},
"locators": [
{
"kind": "testid",
"value": "submit_return"
},
{
"kind": "id",
"value": "btnSubmit"
},
{
"kind": "role",
"role": "button",
"name": "Submit Return"
},
{
"kind": "text",
"value": "Submit Return"
}
],
"pre": [
{
"kind": "visible",
"locators": [
{
"kind": "testid",
"value": "submit_return"
},
{
"kind": "id",
"value": "btnSubmit"
},
{
"kind": "role",
"role": "button",
"name": "Submit Return"
},
{
"kind": "text",
"value": "Submit Return"
}
]
}
],
"post": [
{
"kind": "urlMatches",
"pattern": "/return/done$"
}
],
"risk": "commit",
"repair": "human",
"timeoutMs": 15000
},
{
"id": "read_return_id",
"intent": "Read the return ID from the confirmation page",
"action": {
"type": "extract"
},
"locators": [
{
"kind": "id",
"value": "lblReturnId"
}
],
"pre": [],
"post": [
{
"kind": "extract",
"locators": [
{
"kind": "id",
"value": "lblReturnId"
}
],
"as": "return_id",
"pattern": "DB-RET-\\d{4}-\\d{6}"
}
],
"risk": "read",
"repair": "auto"
},
{
"id": "read_refund_amount",
"intent": "Read the refund amount",
"action": {
"type": "extract"
},
"locators": [
{
"kind": "id",
"value": "lblRefund"
}
],
"pre": [],
"post": [
{
"kind": "extract",
"locators": [
{
"kind": "id",
"value": "lblRefund"
}
],
"as": "refund_amount",
"pattern": "Rs\\. [\\d,]+\\.\\d{2}"
}
],
"risk": "read",
"repair": "auto"
}
],
"createdAt": "2026-12-01T00:00:00.000Z",
"updatedAt": "2026-12-01T00:00:00.000Z"
}Pre (before acting)
Post (verified after)
Find the order and go to the item page
find_order
Action: click
Locators (best first)
Pre (before acting)
Post (verified after)
Select the item to return
select_item
Action: select ← input.item
Locators (best first)
Pre (before acting)
Post (verified after)
Select the reason for the return
select_reason
Action: select ← input.reason
Locators (best first)
Pre (before acting)
Post (verified after)
Save the item and reason and go to the pickup page
continue_to_pickup
Action: click
Locators (best first)
Pre (before acting)
Post (verified after)
Fill the pickup date
enter_pickup_date
Action: fill ← input.pickup_date
Locators (best first)
Pre (before acting)
Post (verified after)
Select where the refund goes
select_refund_method
Action: select ← input.refund_method
Locators (best first)
Pre (before acting)
Post (verified after)
Save pickup and refund and go to the verification page
continue_to_verification
Action: click
Locators (best first)
Pre (before acting)
Post (verified after)
Send an OTP to the customer's mobile number
send_otp
Action: click
Locators (best first)
Pre (before acting)
Post (verified after)
Enter the OTP the customer received by SMS
enter_otp
Action: ask user: Please tell me the 6-digit OTP sent to your mobile number. (→ otp)
Locators (best first)
Pre (before acting)
Post (verified after)
none
Submit the return request
submit_return
Action: click
Locators (best first)
Pre (before acting)
Post (verified after)
Read the return ID from the confirmation page
read_return_id
Action: extract
Locators (best first)
Pre (before acting)
none
Post (verified after)
Read the refund amount
read_refund_amount
Action: extract
Locators (best first)
Pre (before acting)
none
Post (verified after)