Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Add Storage
CLOUDLAYER_ADD_STORAGEAdd a user-owned S3-compatible storage configuration for storing generated assets. This action allows Enterprise plan users to configure their own S3-compatible storage (AWS S3, DigitalOcean Spaces, Wasabi, MinIO, etc.) instead of using the built-in cloud storage included with Cloudlayer accounts. Note: User storage is only available on Enterprise plans. Standard plans will receive an 'allowed: false' response indicating the feature requires a plan upgrade.
Convert HTML to Image (V2)
CLOUDLAYER_CONVERT_HTML_TO_IMAGEConvert HTML content to a PNG, JPG, or WebP image using the v2 API, with viewport configuration, transparency, auto-scroll, and custom wait conditions. Returns job details; the image asset may be available once processing completes.
Convert HTML to PDF (v2)
CLOUDLAYER_CONVERT_HTML_TO_PDF_V2Tool to convert HTML content to PDF using CloudLayer v2 API. Use when you need to generate a PDF from raw HTML with advanced options like custom paper size, margins, headers/footers, and viewport settings. The HTML is automatically Base64 encoded before sending to the API.
Convert URL to PDF (Simple)
CLOUDLAYER_CONVERT_URL_TO_PDF_GETConvert a URL to PDF using a GET request with minimal parameters. The v2 API normally returns a job for asynchronous processing rather than an immediately available PDF.
Delete Storage Configuration
CLOUDLAYER_DELETE_STORAGEDelete a user storage configuration by its ID. A configuration already reported as nonexistent is treated as a successful no-op.
Get Account Info
CLOUDLAYER_GET_ACCOUNT_INFOTool to retrieve Cloudlayer account usage, credits, and document counts. Use when monitoring account limits and subscription status.
Get Asset
CLOUDLAYER_GET_ASSETTool to retrieve a specific asset by its ID. Use when you need to fetch metadata or download URL of an existing asset after its generation.
Get Job By ID
CLOUDLAYER_GET_JOB_BY_IDRetrieve details of a specific Cloudlayer job by its ID. Use this to check the status of an async job, get the asset download URL after completion, or view job parameters. Returns 401 if the job ID doesn't exist or doesn't belong to your account.
Get API Status
CLOUDLAYER_GET_STATUSTool to test API reachability. Use when checking if the Cloudlayer API is available.
Get Storage Configuration by ID
CLOUDLAYER_GET_STORAGE_BY_IDTool to retrieve a specific storage configuration by its ID. Use when you need to inspect or validate details of a user storage configuration.
List Assets
CLOUDLAYER_LIST_ASSETSList assets in your CloudLayer account with cursor-based pagination. Returns PDFs and images generated via HTML/URL conversion jobs. Use this to find asset IDs for further operations like downloading or deleting assets.
List Jobs
CLOUDLAYER_LIST_JOBSList jobs in your CloudLayer account with cursor-based pagination. Use when you need to view your recent jobs and their statuses.
List Storage Configurations
CLOUDLAYER_LIST_STORAGERetrieves all user storage configurations (S3-compatible buckets) for the authenticated Cloudlayer account. Use this to view configured external storage destinations where generated documents can be saved. Note: User Storage is an Enterprise plan feature. Non-Enterprise accounts will receive an empty list.
Template to PDF
CLOUDLAYER_TEMPLATE_TO_PDFGenerate a PDF document from an HTML/Nunjucks template with dynamic data. Provide either: - A `templateId` for predefined templates from CloudLayer's template library, OR - A base64-encoded `template` string containing custom HTML/Nunjucks markup. The `data` parameter populates template variables (e.g., {{name}}, {{items}}) with your JSON data. By default, jobs run asynchronously and return a job ID to poll for completion via get_job_by_id.
Convert URL to Image
CLOUDLAYER_URL_TO_IMAGE_POSTConverts a webpage URL to an image (PNG, JPG, or WebP). Supports custom viewport settings, wait conditions, transparency, auto-scroll, and thumbnail preview generation. The API is asynchronous - use the returned job ID to poll for results.
Convert URL to PDF
CLOUDLAYER_URL_TO_PDF_POSTConvert a URL to PDF using a POST request, with options for paper size, margins, headers, and footers.