View as Markdown
Google Safe Browsing icon

Google Safe Browsing ACTION

Check URL Safety

Scan a given URL or URLs for potential security threats. See the documentation
  • Action
  • Read only
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Google Safe Browsing account once, then configure and run Check URL Safety 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: "google_safebrowsing-check-url-safety",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    google_safebrowsing: { authProvisionId: "apn_xxxxxxx" },
    threatTypes: ["Threat Types"],
    platformTypes: ["Platform Types"],
  },
})

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.

Check URL Safety inputs
Property Type Description
threatTypes Threat Types string[]
The threat types to be checked
Required Dynamic
platformTypes Platform Types string[]
The platform types to be checked
Required Dynamic
threatEntryTypes Threat Entry Types string[]
The entry types to be checked
Required Dynamic
threatEntries Threat Entries string[]
An array of URLs to be checked
Required

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
google_safebrowsing-check-url-safety
Version
0.0.2
App
Google Safe Browsing
Authentication
API key
Read-only
Yes
Destructive
No
Open world
Yes