Connect Cloudlayer to AI agents

Connect Cloudlayer to Claude, Codex, Cursor, or other AI agents for your entire team. Metorial security, governance, observability, and gives your team a unified Magic MCP url to connect.

Supported Tools

list_jobs

List Jobs

List your document generation jobs, ordered by creation date (newest first). Supports pagination to browse through job history.

get_account_status

Get Account Status

Check your Cloudlayer account status including remaining API credits and rate limit information. This endpoint does not consume API credits.

generate_image_from_url

Generate Image from URL

Capture a publicly accessible web page and convert it into an image (PNG, JPG, or WebP). Useful for turning dashboards or web pages into image snapshots. Optionally provide HTTP Basic Auth credentials or session cookies if the target URL requires authentication. The API call is asynchronous by default and returns a job ID.

generate_image_from_template

Generate Image from Template

Generate an image (PNG, JPG, or WebP) using a predefined template from the Cloudlayer gallery or a custom Nunjucks HTML template. Pass in your dynamic data to populate template variables. For predefined templates, provide the **templateId** and matching **templateData**. For custom templates, provide a base64-encoded HTML template string. The API call is asynchronous by default and returns a job ID.

list_assets

List Assets

List generated assets (PDFs and images) stored in your Cloudlayer account. Returns asset metadata including download URLs. Supports pagination.

generate_image_from_html

Generate Image from HTML

Convert HTML content into an image (PNG, JPG, or WebP). Provide your HTML as a **base64-encoded string** — it can include JavaScript, CSS, custom fonts, and image imports. Configure viewport dimensions, device scale factor, output format, and enable transparent backgrounds for PNG/WebP. The API call is asynchronous by default and returns a job ID.

get_job

Get Job

Retrieve the details and status of a specific document generation job by its ID. Use this to check whether an asynchronous PDF or image generation job has completed and to get the resulting asset URL.

generate_pdf_from_url

Generate PDF from URL

Capture a publicly accessible web page and convert it into a PDF document. Supports batch processing — provide an array of URLs to combine into a single multi-page PDF. Optionally provide HTTP Basic Auth credentials or session cookies if the target URL requires authentication. The API call is asynchronous by default and returns a job ID.

generate_pdf_from_template

Generate PDF from Template

Generate a PDF document using a predefined template from the Cloudlayer gallery or a custom Nunjucks HTML template. Pass in your dynamic data to populate template variables. For predefined templates, provide the **templateId** and matching **templateData**. For custom templates, provide a base64-encoded HTML template string. The API call is asynchronous by default and returns a job ID.

generate_pdf_from_html

Generate PDF from HTML

Convert HTML content into a PDF document. Provide your HTML as a **base64-encoded string** — it can include JavaScript, CSS, imported fonts, embedded images, and external resources. Configure paper format, margins, headers/footers, orientation, and more. The API call is asynchronous by default and returns a job ID. Use the **Get Job** tool to check completion and retrieve the asset URL.

get_asset

Get Asset

Retrieve details for a specific generated asset (PDF or image) by its ID. Returns the asset metadata including a pre-authenticated download URL.

More integrations teams use with Cloudlayer

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Subscribe to webhooks for list and library change notifications. Retrieve site properties and search for sites across Microsoft 365.

Confluence

Create, read, update, and delete pages, blog posts, comments, and attachments in Confluence spaces. Manage spaces, permissions, labels, and content restrictions. Search content using Confluence Query Language (CQL). Upload and download file attachments with versioning. Manage users, groups, and group memberships. Create and manage whiteboards, databases, folders, and templates. View and update inline tasks. Access audit logs. Listen for webhooks on page, blog, comment, attachment, space, label, and user events.

Notion

Create, read, update, and archive pages and databases in a Notion workspace. Manage blocks (paragraphs, lists, headings, embeds, etc.) within pages. Query databases with filters and sorts across rich property types including text, numbers, dates, selects, relations, and formulas. Search across pages and databases by title. Add and read comments on pages and blocks. Upload files to pages. Manage workspace users and retrieve user profiles. Receive real-time webhook notifications for page changes, new pages, comments, and database schema updates.

Google Sheets

Create, read, and update spreadsheets and their cell data. Read and write values to individual cells, ranges, or multiple ranges using A1 notation or named ranges. Apply cell formatting including text styles, backgrounds, borders, number formats, and conditional formatting. Manage sheets (tabs) within a spreadsheet—add, delete, copy, rename, and reorder them. Create and manage embedded charts, pivot tables, filter views, data validation rules, protected ranges, named ranges, and merged cells. Perform batch operations to apply multiple updates atomically. Monitor spreadsheet changes via Google Drive push notifications.

Google Drive

Upload, download, create, copy, move, rename, trash, and permanently delete files and folders in Google Drive. Search for files using complex queries filtering by name, MIME type, owner, modification date, labels, and other metadata. Share files and folders with specific users, groups, or domains with role-based permissions (owner, writer, commenter, reader). Manage shared drives and their members. Export Google Workspace files (Docs, Sheets, Slides) to standard formats like PDF, DOCX, and XLSX. Track file revision history and restore earlier versions. Create, read, update, and delete threaded comments and replies on files. Apply and read custom labels on files. Monitor file and folder changes via push notifications or webhook subscriptions. Store app-specific data in a hidden per-user folder.

Google Slides

Create, read, edit, and delete Google Slides presentations. Create and manipulate slides with predefined or custom layouts. Insert, style, and replace text across slides, including bulk placeholder replacement for template-based generation. Add and position shapes, text boxes, lines, and images. Embed and refresh charts linked to Google Sheets. Manage speaker notes, duplicate or reorder slides, and perform batch updates combining multiple operations in a single call. Supports automated report and deck generation using templates with placeholder text and image substitution.

Technical notes for Cloudlayer

Generate PDF and image documents from HTML content, URLs, or templates. Convert web pages and HTML into PDFs with configurable paper formats, margins, headers/footers, and orientation. Generate images (PNG, JPG, WebP) from HTML or URLs with configurable viewports and transparency. Use predefined or custom Nunjucks templates with dynamic data for document generation. Batch-convert multiple URLs into a single combined PDF. Store generated assets in cloud storage with CDN access or custom S3-compatible storage. Generate image previews and thumbnails of documents. Manage jobs, check account status and credits, and receive webhook notifications on job completion.

Connect Cloudlayer to production AI agents

See how Metorial gives Cloudlayer access the governance, tracing, and security controls teams need.

Frequently asked questions

Common questions about connecting Cloudlayer to AI agents with Metorial.

  1. Can Metorial connect Cloudlayer to AI agents?
    Yes. Metorial connects AI agents to Cloudlayer through a governed integration layer, so teams can use the provider while keeping access controlled and observable.
  2. Metorial is MCP compatible and lets teams expose approved provider tools to MCP-capable agents and clients through a controlled access layer.
  3. Metorial applies policies across users, groups, providers, agents, and individual tools, then records the context around every agent interaction.
  4. Yes. Metorial records provider activity so teams can inspect tool calls, troubleshoot integrations, and give security teams the visibility they need.