View as Markdown
Cloudmersive icon

Cloudmersive ACTION

Screenshot Website

Take a screenshot of a website See docs here
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Cloudmersive account once, then configure and run Screenshot Website from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "cloudmersive-screenshot-website",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    cloudmersive: { authProvisionId: "apn_xxxxxxx" },
    url: "Website URL",
    extraLoadingWait: 10,
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Screenshot Website inputs
Property Type Description
url Website URL string
URL address of the website to screenshot. HTTP and HTTPS are both supported, as are custom ports.
Required
extraLoadingWait Extra Loading Wait integer
Additional number of milliseconds to wait once the web page has finished loading before taking the screenshot. Can be helpful for highly asynchronous websites. Provide a value of 0 for the default of 5000 milliseconds (5 seconds). Maximum is 20000 milliseconds (20 seconds).
Optional
screenshotWidth Screenshot Width integer
Width of the screenshot in pixels; supply 0 to default to 1280 x 1024.
Optional
screenshotHeight Screenshot Height integer
Height of the screenshot in pixels; supply 0 to default to 1280 x 1024, supply -1 to measure the full screen height of the page and attempt to take a screen-height screenshot.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
cloudmersive-screenshot-website
Version
0.0.4
App
Cloudmersive
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes