ads_integrate
Fetch the exact x402ads embed snippet for a registered slot_id as structured data, then paste it into your page to poll every 15 seconds and render the currently paid ad.
Instructions
Fetch the exact embed snippet for an x402ads slot_id (from ads_register_slot) as structured data — no webpage reading required. Paste or inject the returned snippet into your page; it polls every 15s and renders whatever is currently paid for that slot.
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": {
"slot_id": "<slot_id>"
},
"name": "ads_integrate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot_id | Yes |