View as Markdown
WuBook RateChecker icon

WuBook RateChecker ACTION

Add Manual Snapshot

Adds a manual snapshot for a stay. See the docs
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's WuBook RateChecker account once, then configure and run Add Manual Snapshot 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: "wubook_ratechecker-add-manual-snapshot",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    wubook_ratechecker: { authProvisionId: "apn_xxxxxxx" },
    competitorId: "Competitor",
    stayId: "Stay",
  },
})

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.

Add Manual Snapshot inputs
Property Type Description
competitorId Competitor string
Identifier of a competitor
Required Dynamic
stayId Stay string
Identifier of a stay
Required Dynamic
length Length string
Length of the snapshot
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
wubook_ratechecker-add-manual-snapshot
Version
0.0.2
App
WuBook RateChecker
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes