Search Policies
search-policiesSearch store policies on any UCP-enabled Shopify store.
Query return policies, shipping policies, refund policies, privacy policies,
terms of service, or any other store policy. Returns the matching policy text.
Use this when a user asks about a store's policies before or after purchase —
e.g., "what is the return policy?", "do they offer free shipping?", "refund window?"
Example: domain: "allbirds.com", query: "return policy"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": {
"domain": "<domain>",
"query": "<query>"
},
"name": "search-policies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Policy search term (e.g., "return policy", "shipping", "refund window", "privacy policy") | |
| domain | Yes | The store domain (e.g., "allbirds.com") |