UNPKG

jobnimbus-mcp-client

Version:

JobNimbus MCP Client - Connect Claude Desktop to remote JobNimbus MCP server

44 lines 1.52 kB
/** * Analyze Job Attachments Tool * * Advanced file content analysis for JobNimbus attachments. * Supports PDFs, images, and documents with AI-powered extraction. * * CAPABILITIES: * - PDF Analysis: Text extraction, document type detection, key info extraction * - Image Analysis: Visual description, damage detection, severity assessment * - Multi-file processing: Parallel analysis with consolidated results * - Smart filtering: By file type, size limits, date ranges */ import { BaseTool } from '../baseTool.js'; import { MCPToolDefinition, ToolContext } from '../../types/index.js'; interface AnalyzeJobAttachmentsInput { job_id: string; file_types?: string[]; max_files?: number; max_file_size_mb?: number; include_text_extraction?: boolean; include_visual_analysis?: boolean; } export declare class AnalyzeJobAttachmentsTool extends BaseTool<AnalyzeJobAttachmentsInput, any> { get definition(): MCPToolDefinition; /** * Extract text from PDF buffer */ private extractPdfText; /** * Analyze image with AI (placeholder for future Claude Vision integration) */ private analyzeImage; /** * Extract key information from text using pattern matching */ private extractKeyInfo; /** * Detect document type from filename and content */ private detectDocumentType; execute(input: AnalyzeJobAttachmentsInput, context: ToolContext): Promise<any>; } export {}; //# sourceMappingURL=analyzeJobAttachments.d.ts.map