buy_by_answer
USE THIS when the human accepts the recommendation that came from an answer page. Order in one call by page slug instead of product id. Returns pay_url for the human to approve; no card is charged by the agent.
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": {
"slug": "<slug>"
},
"name": "buy_by_answer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qty | No | ||
| slug | Yes | ||
| buyer | No |