ucp_discover
Discover a merchant's UCP capabilities and supported payment methods. Returns protocol version, capabilities list, and accepted payment handlers.
Instructions
Discover a merchant's UCP capabilities and supported payment methods.
Args: merchant_url: The base URL of the UCP-enabled merchant (e.g., http://localhost:8182)
Returns: Dictionary containing: - capabilities: List of UCP capabilities the merchant supports - payment_handlers: List of payment methods accepted - ucp_version: The UCP protocol version
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": {
"merchant_url": "<merchant_url>"
},
"name": "ucp_discover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| merchant_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||