View as Markdown
Tisane Labs icon

Tisane Labs ACTION

Detect Language

Detects languages used in the specified text fragment. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Tisane Labs account once, then configure and run Detect Language 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: "tisane_labs-detect-language",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    tisane_labs: { authProvisionId: "apn_xxxxxxx" },
    content: "Content",
    languages: ["Languages"],
  },
})

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.

Detect Language inputs
Property Type Description
content Content string
The content to analyze
Required
languages Languages string[]
An array of language codes to choose from; used for intelligent cues.
Optional Dynamic
delimiter Delimiter string
A regular expression to segment the fragment; by default, languages are detected globally
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
tisane_labs-detect-language
Version
0.0.2
App
Tisane Labs
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes