Make an ad from a web page
make_adBuild a 15-second video ad kit from a business's web page: its homepage, a product page, a restaurant's site. It takes two calls, because the user's email address has to be proved first. Call it with url and email: a code is emailed to the user. Ask them for the code, then call it again with url, email and code: that returns an id and a page the user can open to watch the build. The ad takes about five minutes, so follow it with get_ad; the user is also emailed when it is ready.
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": {
"url": "<url>",
"email": "<email>"
},
"name": "make_ad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The page the ad should send people to. | |
| code | No | The code Pagecuts emailed to that address. Leave it out on the first call. | |
| Yes | The user's own email address. Ask for it; never guess it. | ||
| instructions | No | Optional. What this ad should push, in the user's words: an offer, a product, an event, who it is for. Up to 2,000 characters. |