View as Markdown
Gami5d icon

Gami5d ACTION

Record Observation

Record an observation for evaluation in the gami5d platform. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Gami5d account once, then configure and run Record Observation 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: "gami5d-record-observation",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    gami5d: { authProvisionId: "apn_xxxxxxx" },
    playerUniqueRef: "Player Unique Ref",
    userId: "User ID",
  },
})

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.

Record Observation inputs
Property Type Description
playerUniqueRef Player Unique Ref string
The unique reference for the player in your system to identify the player and link this observation. This reference should have been provided when creating the player. Example: P256310. If the unique reference is not found, then a new player will be created.
Required
userId User ID string
Provide an ID which will be marked as the author of this record. Example: john.doe@myinc.com
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
gami5d-record-observation
Version
0.0.2
App
Gami5d
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes