discover_store
Probe a domain to check for negotiate.v1 protocol support and retrieve store details, endpoints, products, and limits.
Instructions
Probe a domain to discover whether it speaks the negotiate.v1 protocol.
Fetches /negotiate.json (with /.well-known/negotiate.json fallback) and validates the schema. Returns the full protocol descriptor on success.
Args: domain: Site to probe. Accepts 'example.com', 'https://example.com', or with trailing slash.
Returns: The negotiate.v1 descriptor: store info, endpoints, products, limits.
Raises: RuntimeError if the domain doesn't speak negotiate.v1 or can't be reached.
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>"
},
"name": "discover_store"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes |