Skip to main content
TextRazor logo
  • Category: artificial intelligence
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 6
  • Triggers: 0
  • Slug: TEXTRAZOR
  • Version: 20261101_00

Tools

Slug: TEXTRAZOR_ACCOUNT_INFOThis tool retrieves comprehensive information about a TextRazor account, providing essential details about the account’s status, usage, and limits. It returns an Account object containing properties such as the current subscription plan, concurrent request limits, and daily usage among others, making it crucial for monitoring API usage, managing requests, and ensuring compliance with subscription limits.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TEXTRAZOR_CLASSIFY_TEXTClassify supplied text using selected built-in TextRazor classifiers, such as IAB or IPTC Media Topics. Specify a cleanup mode and language if needed; the analysis can return matching categories and their scores. Input text is limited to 200 KB of UTF-8.

Input Parameters

string
required
The text content to be classified (up to 200kb UTF-8 encoded text)
string
required
Comma-separated list of classifiers to use for text classification
string
Controls preprocessing cleanup mode (raw, stripTags, cleanHTML)
string
Force TextRazor to analyze content with specific language (ISO-639-2 code)

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TEXTRAZOR_CUSTOM_CLASSIFIER_MANAGERManage TextRazor custom classifiers and categories: create or update categories, list or retrieve them, and delete individual categories or an entire classifier and its categories.

Input Parameters

integer
Maximum number of categories to return when listing categories.
integer
Offset for pagination when listing categories.
string ("create_update" | "delete" | "get_categories" | "get_category" | "delete_category")
required
The operation to perform on the classifier.
array
List of categories to create/update. Required for create_update operation.
string
The category ID when performing operations on a specific category.
string
required
The unique identifier for the classifier.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TEXTRAZOR_DICTIONARY_MANAGERManage TextRazor custom entity dictionaries and submit requests to add, retrieve, or remove entries. New dictionaries use case-insensitive token matching for English; their IDs can be used in text analysis requests.

Input Parameters

array
List of dictionary entries to add or delete. Required for ‘add_entries’ and ‘delete_entries’ operations. Each entry must have at least a ‘text’ field.
string ("create" | "list" | "get" | "delete" | "add_entries" | "get_entries" | "delete_entries")
required
The operation to perform: ‘create’ creates a new dictionary, ‘list’ lists all dictionaries, ‘get’ retrieves dictionary details, ‘delete’ removes a dictionary, ‘add_entries’ adds entities to a dictionary, ‘get_entries’ retrieves all entries from a dictionary, ‘delete_entries’ removes specific entries from a dictionary.
string
The unique identifier for the dictionary. Required for all operations except ‘list’. Use a descriptive name like ‘tech_companies’ or ‘product_names’.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TEXTRAZOR_EXTRACT_ENTITIESExtract named entities (people, places, companies, etc.) from text using TextRazor’s entity extraction API. The tool will identify and classify named entities within the provided text, returning detailed information about each entity including its type, confidence score, and relevance score. The API returns many entities by default; filter by relevanceScore and confidenceScore thresholds to retain only meaningful results.

Input Parameters

string
required
The text to analyze for entity extraction (max 200kb)
string
Controls preprocessing cleanup mode
string
ISO-639-2 language code to force analysis in a specific language
boolean
When True, entities in response may overlap
array
List of DBPedia types to filter entities
array
List of Freebase types to filter entities

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TEXTRAZOR_TEXT_RAZOR_ANALYZE_CONTENTAnalyze input text with multiple TextRazor extractors in a single API call. The returned analysis model includes language, cleaned text, entities, topics, sentences, and relations.

Input Parameters

string
required
The text content to be analyzed (up to 200kb UTF-8 encoded)
array
List of analysis features to perform Only extractors explicitly listed will run; omitted extractors produce no output in the response. Accepted values are exactly: ‘entities’, ‘topics’, ‘words’, ‘phrases’, ‘dependency-trees’, ‘relations’, ‘entailments’, ‘senses’. Unsupported names cause an invalid request error.
string
Controls preprocessing cleanup mode
string
ISO-639-2 language code to force analysis in a specific language
boolean
Use document metadata in analysis
boolean
Return the cleaned text in response

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not