ads_integrate
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||