View as Markdown
Tisane Labs icon

Tisane Labs ACTION

Analyze Text

Analyze text for language, entities, sentiment, and other insights. See the documentation
  • Action
  • Read only
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

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

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.

Analyze Text inputs
Property Type Description
language Language string
The langauge to analyze
Required Dynamic
content Content string
The content to analyze
Required
format Format string
The format of the content
Optional
disableSpellcheck Disable Spellcheck boolean
Determines whether the automatic spellchecking is to be disabled. Default: false
Optional
lowercaseSpellcheckOnly Lowercase Spellcheck Only boolean
Determines whether the automatic spellchecking is only to be applied to words in lowercase. Default: false
Optional
minGenericFrequency Minimum Generic Frequency integer
Allows excluding more esoteric terms; The valid values are 0 thru 10.
Optional
subscope Subscope boolean
Enables sub-scope parsing, for scenarios like hashtag, URL parsing, and obfuscated content (e.g. ihateyou). Default: false
Optional
abuse Abuse boolean
Output instances of abusive conten. Default: true
Optional
sentiment Sentiment boolean
Output sentiment-bearing snippets. Default: true
Optional
documentSentiment Document Sentiment boolean
output document-level sentiment. Default: false
Optional
entities Entities boolean
Output entities. Default: true
Optional
topics Topics boolean
Output topics. Default: true
Optional
words Words boolean
Output the lexical chunks / words for every sentence. Default: false
Optional
fetchDefinitions Fetch Definitions boolean
Include definitions of the words in the output. Only relevant when the words setting is true. Default: `false
Optional
parses Parse boolean
Output parse forests of phrases
Optional
deterministic Deterministic boolean
Whether the n-best senses and n-best parses are to be output in addition to the detected sense. If true, only the detected sense will be output. Default: true
Optional
snippets Snippets boolean
Include the text snippets in the abuse, sentiment, and entities sections. Default: false
Optional
explain Explain boolean
If true, a reasoning for the abuse and sentiment snippets is provided when possible
Optional
featureStandard Feature Standard string
Determines the standard used to output the features (grammar, style, semantics) in the response object
Optional
topicStandard Topic Standard string
Determines the standard used to output the topics in the response object
Optional
sentimentAnalysisType Sentiment Analysis Type string
The type of the sentiment analysis strategy
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-analyze-text
Version
0.0.2
App
Tisane Labs
Authentication
API key
Read-only
Yes
Destructive
No
Open world
Yes