> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# TextRazor

> TextRazor is a natural language processing API that extracts meaning, entities, and relationships from text, powering advanced content analysis and sentiment detection

![TextRazor logo](https://mintcdn.com/composio-preview/IA0_SoMcsWt17HEC/images/toolkits/textrazor.svg?fit=max\&auto=format\&n=IA0_SoMcsWt17HEC\&q=85\&s=b11c8d1f9cad667fb6bef47e22a05d4c)

* **Category:** artificial intelligence
* **Auth:** API\_KEY
* **Composio-managed OAuth available?** N/A
* **Tools:** 6
* **Triggers:** 0
* **Slug:** `TEXTRAZOR`
* **Version:** 20261101\_00

## Tools

> [accordion] Get Account Information
>
> **Slug:** `TEXTRAZOR_ACCOUNT_INFO`
>
> This 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
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Classify Text
>
> **Slug:** `TEXTRAZOR_CLASSIFY_TEXT`
>
> Classify 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
>
> **text** `string` *required*
>
> The text content to be classified (up to 200kb UTF-8 encoded text)
>
> **classifiers** `string` *required*
>
> Comma-separated list of classifiers to use for text classification
>
> **cleanup\_mode** `string`
>
> Controls preprocessing cleanup mode (raw, stripTags, cleanHTML)
>
> **language\_override** `string`
>
> Force TextRazor to analyze content with specific language (ISO-639-2 code)
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Manage Custom Classifiers
>
> **Slug:** `TEXTRAZOR_CUSTOM_CLASSIFIER_MANAGER`
>
> Manage 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
>
> **limit** `integer`
>
> Maximum number of categories to return when listing categories.
>
> **offset** `integer`
>
> Offset for pagination when listing categories.
>
> **operation** `string ("create_update" | "delete" | "get_categories" | "get_category" | "delete_category")` *required*
>
> The operation to perform on the classifier.
>
> **categories** `array`
>
> List of categories to create/update. Required for create\_update operation.
>
> **category\_id** `string`
>
> The category ID when performing operations on a specific category.
>
> **classifier\_id** `string` *required*
>
> The unique identifier for the classifier.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Dictionary Manager
>
> **Slug:** `TEXTRAZOR_DICTIONARY_MANAGER`
>
> Manage 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
>
> **entries** `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.
>
> **operation** `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.
>
> **dictionary\_id** `string`
>
> The unique identifier for the dictionary. Required for all operations except 'list'. Use a descriptive name like 'tech\_companies' or 'product\_names'.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Extract Named Entities from Text
>
> **Slug:** `TEXTRAZOR_EXTRACT_ENTITIES`
>
> Extract 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
>
> **text** `string` *required*
>
> The text to analyze for entity extraction (max 200kb)
>
> **cleanup\_mode** `string`
>
> Controls preprocessing cleanup mode
>
> **language\_override** `string`
>
> ISO-639-2 language code to force analysis in a specific language
>
> **entities\_allow\_overlap** `boolean`
>
> When True, entities in response may overlap
>
> **entities\_filter\_dbpedia\_types** `array`
>
> List of DBPedia types to filter entities
>
> **entities\_filter\_freebase\_types** `array`
>
> List of Freebase types to filter entities
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Analyze Content with TextRazor
>
> **Slug:** `TEXTRAZOR_TEXT_RAZOR_ANALYZE_CONTENT`
>
> Analyze 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
>
> **text** `string` *required*
>
> The text content to be analyzed (up to 200kb UTF-8 encoded)
>
> **extractors** `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.
>
> **cleanup\_mode** `string`
>
> Controls preprocessing cleanup mode
>
> **language\_override** `string`
>
> ISO-639-2 language code to force analysis in a specific language
>
> **cleanup\_use\_metadata** `boolean`
>
> Use document metadata in analysis
>
> **cleanup\_return\_cleaned** `boolean`
>
> Return the cleaned text in response
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not
