extract_images_tool
Extract all images from HTML content with filters for minimum dimensions and URL resolution. Get image details like src, alt, title, and dimensions.
Instructions
Extracts all images from HTML content.
Args: html: HTML content base_url: Base URL for resolving relative image URLs min_width: Minimum image width filter min_height: Minimum image height filter
Returns: Dictionary with list of images containing src, alt, title, dimensions, etc.
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": {
"html": "<html>"
},
"name": "extract_images_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | ||
| base_url | No | ||
| min_width | No | ||
| min_height | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||