View as Markdown
Anchor Browser icon

Anchor Browser ACTION

Create Profile

Creates a new profile from a session. A Profile stores cookies, local storage, and cache. See the documentation.
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Anchor Browser account once, then configure and run Create Profile 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: "anchor_browser-create-profile",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    anchor_browser: { authProvisionId: "apn_xxxxxxx" },
    name: "Profile Name",
    description: "Profile Description",
  },
})

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.

Create Profile inputs
Property Type Description
name Profile Name string
The name of the profile.
Required
description Profile Description string
The description of the profile.
Optional
source Source string
The source of the profile data. currently only session is supported.
Required
sessionId Session ID string
The session ID is required if the source is set to session. The session must be running, and the profile will be stored once the session terminates.
Required Dynamic

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
anchor_browser-create-profile
Version
0.0.2
App
Anchor Browser
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes