Buy an Agentry ad product (AdCP)
buy_productsAdCP buy_products: place a fixed-price order for a product from list_products. Agentry stores the order and replies status "submitted" with a task_id; a human reviews it within 3 working days. Then send the article with sync_creatives and track it with get_media_buys. Payment by invoice after publication.
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": {
"idempotency_key": "<idempotency_key>",
"feed_version": "<feed_version>",
"purchases": "<purchases>",
"start_time": "<start_time>",
"end_time": "<end_time>"
},
"name": "buy_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| brand | No | ||
| account | No | ||
| end_time | Yes | ||
| purchases | Yes | ||
| start_time | Yes | ||
| feed_version | Yes | ||
| total_budget | No | ||
| idempotency_key | Yes | ||
| pricing_version | No | ||
| purchase_order_ref | No |