MCPcopy Create free account

hub / github.com/PSPDFKit/nutrient-document-engine-mcp-server / functions

Functions448 in github.com/PSPDFKit/nutrient-document-engine-mcp-server

↓ 61 callersMethoderror
(mcpServer: McpServer | null, message: string, context?: unknown)
src/utils/Logger.ts:123
↓ 55 callersFunctioncn
(...inputs: ClassValue[])
examples/document-chat/apps/web/src/lib/utils.ts:4
↓ 23 callersFunctioncloseMCPServers
(agent)
examples/openai-agents/shared/common.js:119
↓ 23 callersFunctioncreateSpecializedAgent
(config, handoffAgents = [])
examples/openai-agents/shared/common.js:103
↓ 22 callersFunctioncreateMockClient
()
test/utils/mockTypes.ts:17
↓ 21 callersFunctioncreateTool
* Helper function to create a tool definition with automatic handler creation
src/mcpTools.ts:134
↓ 20 callersMethodinfo
(mcpServer: McpServer | null, message: string, context?: unknown)
src/utils/Logger.ts:111
↓ 18 callersFunctiongetDocumentInfo
( client: DocumentEngineClient, fingerprint: DocumentFingerprint )
src/api/DocumentLayerAbstraction.ts:398
↓ 15 callersFunctionreadDocumentInfo
( client: DocumentEngineClient, params: ReadDocumentInfoInput )
src/tools/discovery/readDocumentInfo.ts:25
↓ 15 callersFunctionvalidateEnvironment
()
examples/openai-agents/shared/common.js:134
↓ 14 callersFunctionaddAnnotation
( client: DocumentEngineClient, params: AddAnnotationInput )
src/tools/annotations/addAnnotation.ts:41
↓ 13 callersFunctionreadAnnotations
( client: DocumentEngineClient, params: ReadAnnotationsInput )
src/tools/annotations/readAnnotations.ts:141
↓ 12 callersFunctionrenderDocumentPage
( client: DocumentEngineClient, fingerprint: DocumentFingerprint, pageIndex: number, queryParams: {
src/api/DocumentLayerAbstraction.ts:342
↓ 11 callersFunctioncreateRedaction
( client: DocumentEngineClient, params: CreateRedactionInput )
src/tools/annotations/createRedaction.ts:131
↓ 11 callersFunctionhealthCheck
(client: DocumentEngineClient)
src/tools/healthCheck.ts:16
↓ 11 callersFunctionrotatePages
( client: DocumentEngineClient, params: RotatePagesInput )
src/tools/document-editing/rotatePages.ts:133
↓ 11 callersFunctionsearch
( client: DocumentEngineClient, params: SearchInput )
src/tools/extraction/search.ts:49
↓ 10 callersFunctionextractFormData
( client: DocumentEngineClient, params: ExtractFormDataInput )
src/tools/forms/extractFormData.ts:34
↓ 10 callersFunctionextractText
( client: DocumentEngineClient, params: ExtractTextInput )
src/tools/extraction/extractText.ts:40
↓ 9 callersFunctionaddNewPage
( client: DocumentEngineClient, params: AddNewPageInput )
src/tools/document-editing/addNewPage.ts:44
↓ 9 callersFunctionextractKeyValuePairs
( client: DocumentEngineClient, params: ExtractKeyValuePairsInput )
src/tools/extraction/extractKeyValuePairs.ts:30
↓ 9 callersFunctionextractTables
( client: DocumentEngineClient, params: ExtractTablesInput )
src/tools/extraction/extractTables.ts:29
↓ 9 callersFunctionfillFormFields
( client: DocumentEngineClient, { document_fingerprint, field_values, validate_required = true }: FillForm
src/tools/forms/fillFormFields.ts:35
↓ 9 callersFunctionmergeDocumentPages
( client: DocumentEngineClient, params: MergeDocumentPagesInput )
src/tools/document-editing/mergeDocumentPages.ts:141
↓ 9 callersFunctionsplitDocument
( client: DocumentEngineClient, params: SplitDocumentInput )
src/tools/document-editing/splitDocument.ts:163
↓ 8 callersFunctionaddWatermark
( client: DocumentEngineClient, params: AddWatermarkInput )
src/tools/document-editing/addWatermark.ts:120
↓ 8 callersFunctionapplyRedactions
( client: DocumentEngineClient, params: ApplyRedactionsInput )
src/tools/annotations/applyRedactions.ts:28
↓ 8 callersFunctionlistDocuments
( client: DocumentEngineClient, params: ListDocumentsInput )
src/tools/discovery/listDocuments.ts:26
↓ 8 callersMethodwriteLog
(logLevel: MCPLogLevel, mcpServer: McpServer | null, message: string, context?: unknown)
src/utils/Logger.ts:72
↓ 7 callersFunctiondeleteAnnotations
( client: DocumentEngineClient, params: DeleteAnnotationsInput )
src/tools/annotations/deleteAnnotations.ts:24
↓ 7 callersFunctionduplicateDocument
( client: DocumentEngineClient, params: DuplicateDocumentInput )
src/tools/document-editing/duplicateDocument.ts:24
↓ 7 callersFunctionerrorTemplate
(message: string, backLink: string = '/dashboard')
src/dashboard/templates/error.ts:1
↓ 6 callersFunctioncreateGroup
* Create a document group from matched documents
examples/procurement-agent-ts/src/nodes/MatchingNode.ts:175
↓ 6 callersMethoddebug
(mcpServer: McpServer | null, message: string, context?: unknown)
src/utils/Logger.ts:107
↓ 6 callersFunctiondownloadFiles
* Downloads documents by their IDs from the Document Engine * @param {Array<string>} documentIds - Array of document IDs to download * @returns {Pro
examples/openai-agents/shared/fileHandlers.js:222
↓ 6 callersFunctionhandleAgentRun
(agent, prompt, options = {})
examples/openai-agents/shared/common.js:52
↓ 6 callersFunctionhandleApiError
(error: unknown)
src/utils/ErrorHandling.ts:17
↓ 6 callersFunctionparseDocumentIds
(response)
examples/openai-agents/shared/common.js:21
↓ 6 callersFunctionuploadDocuments
* Uploads multiple documents and returns only the successful document IDs * @param {Array<string>} filePaths - Array of file paths to upload * @para
examples/openai-agents/shared/fileHandlers.js:155
↓ 6 callersFunctionuseStreamContext
()
examples/document-chat/apps/web/src/providers/Stream.tsx:264
↓ 5 callersFunctioncreateLLM
(options = {})
examples/langgraphjs/shared/common.js:35
↓ 5 callersFunctioncreateMCPClient
(options = {})
examples/langgraphjs/shared/common.js:11
↓ 5 callersFunctiondownloadFiles
* Downloads documents by their IDs from the Document Engine * @param {Array<string>} documentIds - Array of document IDs to download * @returns {Pro
examples/langgraphjs/shared/fileHandlers.js:222
↓ 5 callersFunctionhandleAgentStream
(stream)
examples/langgraphjs/shared/common.js:78
↓ 5 callersFunctionparseDocumentIds
(response)
examples/langgraphjs/shared/common.js:44
↓ 5 callersFunctionprocessCommandLine
(args, defaultFiles = [])
examples/openai-agents/shared/common.js:82
↓ 5 callersFunctionprocessCommandLine
(processFunction, usageMessage, minArgs = 1)
examples/langgraphjs/shared/common.js:103
↓ 5 callersFunctionuploadDocumentWorkflow
(filePaths, uploadFunction, processName = 'process')
examples/langgraphjs/shared/common.js:127
↓ 5 callersMethodwarning
(mcpServer: McpServer | null, message: string, context?: unknown)
src/utils/Logger.ts:119
↓ 4 callersFunctionapplyDocumentInstructions
( client: DocumentEngineClient, fingerprint: DocumentFingerprint, buildInstructions: BuildInstructions )
src/api/DocumentLayerAbstraction.ts:300
↓ 4 callersFunctionformatBBox
(coordinates: AnnotationBbox)
src/utils/Common.ts:18
↓ 4 callersFunctiongetDocumentEngineClient
()
src/api/ClientFactory.ts:8
↓ 3 callersFunctioncreateDocumentLayer
( client: DocumentEngineClient, documentId: string, layerName: string, sourceLayer?: string )
src/api/DocumentLayerAbstraction.ts:285
↓ 3 callersFunctiongetContentString
(content: Message["content"])
examples/document-chat/apps/web/src/components/thread/utils.ts:3
↓ 3 callersFunctiongetVersion
()
src/version.ts:8
↓ 3 callersFunctionhandleShowSidePanel
( showState: boolean, showDescription: boolean, )
examples/document-chat/apps/web/src/components/thread/agent-inbox/index.tsx:18
↓ 3 callersFunctionisVendorAmountMatch
* Check if two documents match by vendor and amount
examples/procurement-agent-ts/src/nodes/MatchingNode.ts:154
↓ 3 callersFunctionnormalizeAnnotationType
* Normalize annotation type by removing prefixes
src/tools/annotations/readAnnotations.ts:34
↓ 3 callersFunctionprettifyText
(action: string)
examples/document-chat/apps/web/src/components/thread/agent-inbox/utils.ts:7
↓ 3 callersMethodresponse
(mcpServer: McpServer | null, status: number, url: string, context?: unknown)
src/utils/Logger.ts:149
↓ 3 callersFunctionresumeRun
(response: HumanResponse[])
examples/document-chat/apps/web/src/components/thread/agent-inbox/hooks/use-interrupted-actions.tsx:83
↓ 3 callersFunctionuploadTestDocument
( client: DocumentEngineClient, filePath: string, title?: string )
test/helpers/documentHelpers.ts:12
↓ 2 callersFunctioncopyDocument
(client: DocumentEngineClient, fingerprint: DocumentFingerprint)
src/api/DocumentLayerAbstraction.ts:327
↓ 2 callersFunctioncreateExpressApp
(enableDashboard: boolean = false)
src/index.ts:112
↓ 2 callersFunctioncreateMCPServer
()
src/index.ts:86
↓ 2 callersFunctiondeleteTestDocument
( client: DocumentEngineClient, documentId: string )
test/helpers/documentHelpers.ts:53
↓ 2 callersMethodfindMostCommon
* Find most common item in array
evaluation/reporter.ts:139
↓ 2 callersFunctionformatFieldType
* Format field type for display
src/tools/forms/extractFormData.ts:256
↓ 2 callersFunctionformatFieldValue
(value: any)
src/tools/forms/extractFormData.ts:266
↓ 2 callersFunctionformatFileSize
(bytes: number)
src/utils/Common.ts:6
↓ 2 callersFunctionformatRedactionType
* Format redaction type for display
src/tools/annotations/createRedaction.ts:113
↓ 2 callersFunctiongetAnnotationEmoji
* Get emoji for annotation type
src/tools/annotations/readAnnotations.ts:47
↓ 2 callersFunctiongetApiKey
()
examples/document-chat/apps/web/src/lib/api-key.tsx:1
↓ 2 callersFunctiongetDocumentFormFields
( client: DocumentEngineClient, fingerprint: DocumentFingerprint )
src/api/DocumentLayerAbstraction.ts:374
↓ 2 callersFunctionhandleSubmit
( e: React.MouseEvent<HTMLButtonElement, MouseEvent> | KeyboardEvent, )
examples/document-chat/apps/web/src/components/thread/agent-inbox/hooks/use-interrupted-actions.tsx:100
↓ 2 callersFunctionisAgentInboxInterruptSchema
( value: unknown, )
examples/document-chat/apps/web/src/lib/agent-inbox-interrupt.ts:3
↓ 2 callersFunctionisComplexValue
(value: any)
examples/document-chat/apps/web/src/components/thread/messages/tool-calls.tsx:6
↓ 2 callersFunctionisComplexValue
(value: any)
examples/document-chat/apps/web/src/components/thread/messages/generic-interrupt.tsx:5
↓ 2 callersFunctionlistDocumentLayers
(client: DocumentEngineClient, documentId: string)
src/api/DocumentLayerAbstraction.ts:276
↓ 2 callersFunctiononEditChange
( change: string | string[], response: HumanResponseWithEdits, key: string | string[], )
examples/document-chat/apps/web/src/components/thread/agent-inbox/components/inbox-item-input.tsx:331
↓ 2 callersFunctiononResponseChange
( change: string, response: HumanResponseWithEdits, )
examples/document-chat/apps/web/src/components/thread/agent-inbox/components/inbox-item-input.tsx:438
↓ 2 callersMethodrequest
(mcpServer: McpServer | null, method: string, url: string, context?: unknown)
src/utils/Logger.ts:140
↓ 2 callersMethodretry
( mcpServer: McpServer | null, attempt: number, maxRetries: number, delay: number, context
src/utils/Logger.ts:161
↓ 2 callersFunctionunknownToPrettyDate
(input: unknown)
examples/document-chat/apps/web/src/components/thread/agent-inbox/utils.ts:70
↓ 2 callersFunctionuseMediaQuery
(query: string)
examples/document-chat/apps/web/src/hooks/useMediaQuery.tsx:3
↓ 2 callersFunctionuseThreads
()
examples/document-chat/apps/web/src/providers/Thread.tsx:69
↓ 1 callersFunctionaddRetryFunctionality
* Add retry functionality to the client
src/api/Client.ts:116
↓ 1 callersFunctionapplyDocumentRedactions
( client: DocumentEngineClient, fingerprint: DocumentFingerprint, options?: Record<string, unknown> )
src/api/DocumentLayerAbstraction.ts:212
↓ 1 callersFunctionapplyFilters
* Apply filters to annotations
src/tools/annotations/readAnnotations.ts:109
↓ 1 callersFunctionapplyPageRotation
* Rotate pages using document-apply-instructions API
src/tools/document-editing/rotatePages.ts:61
↓ 1 callersFunctionapplyWatermark
* Apply watermark using layer-aware document instructions API
src/tools/document-editing/addWatermark.ts:92
↓ 1 callersFunctionassembleDocuments
(filePaths)
examples/langgraphjs/document-assembler.js:30
↓ 1 callersFunctionattempt
(retryCount: number)
src/api/Client.ts:124
↓ 1 callersFunctionbaseMessageObject
(item: unknown)
examples/document-chat/apps/web/src/components/thread/agent-inbox/utils.ts:31
↓ 1 callersFunctioncalculateDelay
* Calculates exponential backoff delay with jitter
src/api/Client.ts:183
↓ 1 callersFunctioncheckGraphStatus
( apiUrl: string, apiKey: string | null, )
examples/document-chat/apps/web/src/providers/Stream.tsx:46
↓ 1 callersFunctionconfigureMCPServerTools
(server: McpServer)
src/index.ts:106
↓ 1 callersFunctionconstructOpenInStudioURL
( deploymentUrl: string, threadId?: string, )
examples/document-chat/apps/web/src/components/thread/agent-inbox/utils.ts:190
↓ 1 callersFunctioncopyToClipboard
(value: string)
examples/document-chat/apps/web/src/components/thread/markdown-text.tsx:30
↓ 1 callersFunctioncreateAuthMiddleware
()
src/dashboard/routes.ts:21
next →1–100 of 448, ranked by callers