negotiate_terms
Negotiate discounts and shipping options for a cart by providing cart ID and agent profile URL.
Instructions
Negotiate capabilities, discounts, and shipping options between an agent and the merchant.
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": {
"cart_id": "<cart_id>",
"agent_profile_url": "<agent_profile_url>"
},
"name": "negotiate_terms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart_id | Yes | Cart or checkout session ID | |
| discount_code | No | Discount code to apply | |
| agent_profile_url | Yes | URL to the agent UCP profile |