Zactonz
v0.3.0Screenshots, page to Markdown, link previews, DNS, SSL, WHOIS, QR codes and more for AI agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
capture_screenshot Capture a screenshot of a web page
Loads a public web page in a headless browser and captures it as a JPEG, PNG or WebP image, or as a PDF. Returns a link to the file, and the image itself when it is small enough to look at directly. Suited to checking how a page renders or keeping a visual record of it.
| Parameter | Type | Description |
|---|---|---|
url * | string | Absolute URL of the page to capture. |
delay | integer | Seconds to wait after the page has loaded before capturing, 0 to 15. Default 5. |
format | string | Output type. `jpeg` (default), `png`, `webp`, or `pdf` for a paged document. |
height | integer | Viewport height in pixels, 150 to 4320. Values outside the range are clamped. Default 1024. |
marginBottom | number | PDF only. Bottom margin in inches, 0 to 5. Default 0.4. |
marginLeft | number | PDF only. Left margin in inches, 0 to 5. Default 0.4. |
marginRight | number | PDF only. Right margin in inches, 0 to 5. Default 0.4. |
marginTop | number | PDF only. Top margin in inches, 0 to 5. Default 0.4. |
orientation | string | PDF only. |
paperHeight | number | PDF only. Paper height in inches. |
paperWidth | number | PDF only. Paper width in inches. |
quality | integer | JPEG quality from 1 to 100. Sent as 80 when omitted, which keeps most captures small enough to be returned inline. Ignored for other formats. |
scale | number | PDF only. Render scale. |
width | integer | Viewport width in pixels, 200 to 3840. Values outside the range are clamped. Default 1280. |
render_html Render HTML to an image or PDF
Renders an HTML document you provide as a JPEG, PNG or WebP image, or as a PDF: an invoice, a report, a certificate. Returns a link to the file, and the image itself when it is small enough. Images, fonts and stylesheets referenced by the HTML must use absolute URLs.
| Parameter | Type | Description |
|---|---|---|
html * | string | The HTML document to render, up to 2 MB. |
format | string | Output type. `jpeg` (default), `png`, `webp`, or `pdf` for a paged document. |
height | integer | Viewport height in pixels, 150 to 4320. Values outside the range are clamped. Default 1024. |
quality | integer | JPEG quality from 1 to 100. Sent as 80 when omitted, which keeps most captures small enough to be returned inline. Ignored for other formats. |
width | integer | Viewport width in pixels, 200 to 3840. Values outside the range are clamped. Default 1280. |
read_webpage Read a web page as Markdown
Fetches a public web page and returns its main content as Markdown, without navigation, adverts or scripts. For pages that build their content with JavaScript, set render to true.
| Parameter | Type | Description |
|---|---|---|
url * | string | The page to read. |
fresh | boolean | When true, bypasses the cache. |
images | boolean | When false, drops images from the output. |
links | boolean | When false, replaces links with their text. |
max_chars | integer | Longest Markdown to return, in characters, from 1000 to 500000. Sent as 20000 when omitted. The reply says whether the text was cut short. |
mode | string | `article` (default) keeps the main content. `full` converts the whole body. |
render | boolean | When true, loads the page in a headless browser first. |
convert_html_to_markdown Convert HTML to Markdown
Converts HTML you already hold to Markdown. Nothing is fetched.
| Parameter | Type | Description |
|---|---|---|
html * | string | The HTML to convert, up to 2 MB. |
images | boolean | When false, drops images from the output. |
links | boolean | When false, replaces links with their text. |
max_chars | integer | Longest Markdown to return, in characters, from 1000 to 500000. Sent as 20000 when omitted. |
mode | string | `article` (default) keeps the main content. `full` converts the whole body. |
preview_link Preview a link
Reads the metadata of a public URL: title, description, preview image, favicon, site name, author, publication date, language and feeds. A quick way to learn what a link points to without reading the page.
| Parameter | Type | Description |
|---|---|---|
url * | string | The page to preview. `https://` is assumed when the scheme is omitted. |
fresh | boolean | When true, bypasses the one-hour cache. |
render | boolean | When true, loads the page in a headless browser before reading its tags. |
verify_image | boolean | When true, downloads the preview image to confirm it exists and to report its real dimensions and type. |
lookup_dns Look up DNS records
Returns the DNS records of a host or domain (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, SRV) and its DNSSEC status.
| Parameter | Type | Description |
|---|---|---|
name * | string | Host or domain name. |
type | array | Record types to look up. Omit for A, AAAA, MX, TXT, NS, CNAME, SOA and CAA. |
inspect_ssl_certificate Inspect an SSL certificate
Connects to a host and reports its TLS certificate: issuer, subject, validity dates, days remaining, whether the chain is trusted and the name matches, and the protocol and cipher in use.
| Parameter | Type | Description |
|---|---|---|
host * | string | Host name, or a URL from which the host is taken. |
fresh | boolean | When true, bypasses the cache. |
port | integer | TLS port: 443, 8443, 465, 993, 995, 636 or 5061. |
lookup_whois Look up a domain registration
Returns the registration record of a domain from RDAP or WHOIS: registrar, creation, update and expiry dates, status codes, nameservers and abuse contact.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain name. A host name or URL is reduced to its registrable domain. |
raw | boolean | When true, includes the raw WHOIS text when the fallback service was used. |
check_email_domain Check the email setup of a domain
Audits how a domain is configured for email: MX, SPF, DKIM, DMARC, MTA-STS, TLS-RPT and BIMI records, whether it is a disposable or free mail provider, a score out of 100 and a list of findings.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain to audit. An email address is accepted and reduced to its domain. |
probe | boolean | When true, connects to the primary MX to read its banner and STARTTLS support. |
selectors | array | DKIM selectors to check in addition to the common ones, up to 20. |
verify_emails Verify email addresses
Checks whether email addresses can receive mail by asking the receiving mail server, without sending a message. Returns valid or invalid for each address. Can take up to a minute.
| Parameter | Type | Description |
|---|---|---|
emails * | array | The addresses to check, at most ten. |
generate_qr_code Generate a QR code
Encodes text or a URL as a QR code. Returns a link to the image and the image itself. With the text format it returns the code as rows of 0 and 1 instead.
| Parameter | Type | Description |
|---|---|---|
content * | string | The text or URL to encode, up to 4000 characters. |
accuracy | string | Error-correction level. Higher levels survive more damage but produce denser codes. |
bgcolor | string | Background colour as six hex digits, for example `ff6700`, or a decimal RGB integer. Default white. |
color | string | Foreground colour as six hex digits, for example `ff6700`, or a decimal RGB integer. Default black. |
format | string | `png` (default), `jpg`, `svg`, or `text` for a 0/1 matrix in JSON. |
padding | integer | Quiet zone around the code in modules, 0 to 20. Default 2. |
size | integer | Pixels per QR module, from `1` to `20`. |
read_qr_code Read a QR code
Decodes the QR code in an image and returns the text it holds.
| Parameter | Type | Description |
|---|---|---|
image * | string | A link to the image, or the base64-encoded image bytes when format is `base64`. |
format | string | How `image` is given: `url` for a link, `base64` for the image bytes. |
generate_barcode Generate a barcode
Renders a barcode: Code 128, Code 39, Code 93, EAN-13, EAN-8, UPC-A, UPC-E, ITF-14 or Codabar. Returns a link valid for 24 hours, the dimensions and the image itself.
| Parameter | Type | Description |
|---|---|---|
content * | string | The value to encode. Each symbology has its own alphabet and length, listed under the `type` parameter. |
bgcolor | string | Background colour as six hex digits. |
color | string | Bar colour as six hex digits. |
format | string | `png` (default), `svg` or `jpg`. |
height | integer | Bar height in pixels, 20 to 300. |
scale | integer | Width of the narrowest bar in pixels, 1 to 10. |
type | string | `code128` (printable ASCII, up to 80 characters), `code39` (digits, capitals and `- . $ / + %`), `code93`, `ean13` (12 digits, or 13 with the check digit), `ean8` (7 or 8 digits), `upca` (11 or 12 dig… |
generate_social_image Generate a social card image
Creates an Open Graph image, the card shown when a link is shared, from a title and an optional subtitle, site label and logo. Returns a link valid for seven days and the image itself.
| Parameter | Type | Description |
|---|---|---|
title * | string | Main text, up to 120 characters. |
accent | string | Accent colour as six hex digits. |
bg | string | Background colour as six hex digits, overriding the theme. |
font | string | `titillium`, `system` or `serif`. |
format | string | `png` (default), `jpeg` or `webp`. |
logo | string | Public URL of a PNG, JPEG, WebP, GIF or SVG logo, up to 512 KB. |
site | string | Short label shown at the bottom, for example your domain, up to 60 characters. |
size | string | Pixel size. |
subtitle | string | Secondary line, up to 200 characters. |
template | string | `card` (accent bar and logo), `minimal` (centred) or `split` (text beside an accent panel). |
theme | string | `light` or `dark`. |
convert_image Convert or resize an image
Converts an image at a public URL to WebP, AVIF, JPEG, PNG or GIF, optionally resizing, cropping, rotating, flipping, blurring, sharpening or removing colour. Returns a link valid for 24 hours with the source and output details, and the image itself when it is small enough.
| Parameter | Type | Description |
|---|---|---|
url * | string | Public URL of the image to convert. |
background | string | Six hex digits used to flatten transparency and to pad `contain`. JPEG output is flattened on white when unset. |
blur | integer | Gaussian blur passes, 0 to 20. |
fit | string | `inside` (default, shrink to fit, never enlarge), `cover` (fill and crop), `contain` (fit with padding, see `background`) or `fill` (stretch). |
flip | string | `h`, `v` or `both`. |
format | string | Output format: `webp` (default), `avif`, `jpeg`, `png`, `gif`, or `keep` to keep the source format. |
grayscale | boolean | When true, converts to grayscale. |
height | integer | Target height in pixels, up to 8000. Omit to derive from the width. |
quality | integer | 1 to 100 for lossy formats. |
rotate | integer | Clockwise degrees, 0 to 359. EXIF orientation is always applied first. |
sharpen | boolean | When true, applies a sharpening kernel. |
width | integer | Target width in pixels, up to 8000. Omit to derive from the height. |
inspect_image Inspect an image
Reports the width, height, format, file size, orientation, transparency and dominant colours of an image at a public URL.
| Parameter | Type | Description |
|---|---|---|
url * | string | Public URL of the image to inspect. |
translate_text Translate text
Translates text from one language to another. 46 languages are supported.
| Parameter | Type | Description |
|---|---|---|
text * | string | The text to translate. |
to * | string | Two-letter code of the target language, such as `es`, `fr`, `de`, `ar` or `ur`. |
from | string | Two-letter code of the source language, such as `en`. Defaults to English. |
get_drive_download_link Get a Google Drive download link
Converts a Google Drive share link into a URL that downloads the file directly.
| Parameter | Type | Description |
|---|---|---|
url * | string | The Google Drive share link. |
check_api_key Check a Zactonz API key
Reports the plan of a configured Zactonz API key and the quota it has left today and this month. Costs nothing.
| Parameter | Type | Description |
|---|---|---|
product * | string | The product whose key to check. |