Preview Recommendations
preview_recommendationsPreview the sponsored and similar service recommendations injected into a 402 response for a given endpoint and category via the x402 Ads middleware.
Instructions
Free. See the exact typed recommendations block (sponsored + similar x402 services) that the @forgemeshlabs/x402-ads middleware would inject into a 402 response for a given endpoint and category.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "preview_recommendations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | No | Your service identifier, used only for self-exclusion in results | |
| category | No | Category to match recommendations against, e.g. finance, blockchain, images | |
| endpoint | No | The probed endpoint path, e.g. /api/forecast |