webtools_images_for_llm
Batch of up to 10 image URLs prepared for a vision LLM in one paid call: each auto-rotated, resized to max_side (default 1568 px), re-encoded JPEG/PNG/WebP (<= 2 MB base64 each), with data URI, size and sha256. Per-image errors listed; if no image works the call is not charged. Single image: GET /image-for-llm. Price: $0.05 USDC per call, paid with x402 on Base.
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": {
"urls": "<urls>"
},
"name": "webtools_images_for_llm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | 1-10 public http(s) image URLs (JSON array, or a comma/newline-separated string) | |
| format | No | Output format (default jpeg) | |
| quality | No | JPEG/WebP quality 40-95 (default 85) | |
| max_side | No | Longest side in px, 64-4096 (default 1568); never enlarged |