View as Markdown
Intellexer API icon

Intellexer API ACTION

Summarize Document

Summarize a document using Intellexer API. See the documentation
  • Action
  • Read only
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Intellexer API account once, then configure and run Summarize Document 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: "intellexer_api-summarize-document",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    intellexer_api: { authProvisionId: "apn_xxxxxxx" },
    url: "URL",
    loadConceptsTree: true,
  },
})

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.

Summarize Document inputs
Property Type Description
url URL string
URL of the document to summarize
Required
loadConceptsTree Load Concepts Tree boolean
Load a tree of concepts. Default: true
Optional
loadNamedEntityTree Load Named Entity Tree boolean
Load a tree of Named Entities. Default: true
Optional
summaryRestriction Summary Restriction integer
Determine size of a summary measured in sentences. Required for items to be included in the response.
Optional
structure Structure string
Specify structure of the document / text
Optional
returnedTopicsCount Returned Topics Count integer
Determine max count of text topics to return
Optional
fullTextTrees Full Text Trees boolean
Set to true to load full text trees
Optional
useCache Use Cache boolean
If true, document content will be loaded from cache if there is any
Optional
wrapConcepts Wrap Concepts boolean
Mark concepts found in the summary with HTML bold tags. Default: false
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
intellexer_api-summarize-document
Version
0.0.2
App
Intellexer API
Authentication
API key
Read-only
Yes
Destructive
No
Open world
Yes