Eagle doc connects to a Nagent workspace with an API key. Once it is connected, agents can call 10 Eagle doc actions, such as "Get Management Quota", "Get Receipt Quota V2 (Deprecated)" and "Get Current Month Usage". Nothing is enabled on connect: each action is allowed one at a time, and an action with side effects runs or waits for a person according to the agent's level.
Every operation an agent can call against Eagle doc, with input parameters and output schema.
EAGLE_DOC_ANY_DOC_OCRTool to process any document type with OCR and automatic classification. Supports bank statements, resumes, passports, delivery sheets, and more. Use when you need to extract structured data from various document types.
Input parameters
Document file to process (PNG, JPG, TIF, or PDF).
Specify document type for targeted extraction. If not provided, the system will automatically classify the document type.
Privacy setting. Default true (file not stored on server). Set to false to store files.
Custom extraction configuration ID for tailored extraction rules.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
EAGLE_DOC_BATCH_ANY_DOC_OCRTool to submit batch OCR processing tasks for various document types including bank statements, resumes, passports, delivery sheets, and more. Use when you need to asynchronously process documents with custom configurations. The task is processed asynchronously; use the Results Check API with the returned task ID to monitor status and retrieve results.
Input parameters
Document file to process. Supports png, jpg, tif, or PDF formats including multi-page documents.
Privacy setting. Set to false to allow file storage for algorithm enhancement. Defaults to true (files are not stored).
Predefined document type for optimized OCR results. Specify the document type to improve extraction accuracy. If not provided, the system will auto-detect the document type.
Direct URL to download the document file from. Alternative to providing a file directly. Useful when the file is available at a public URL.
Custom extraction configuration ID for specialized extraction needs. Use when you have a predefined configuration for specific document processing requirements.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
EAGLE_DOC_BATCH_TASK_DELETETool to delete a submitted batch processing task from the queue. Use when you need to cancel or remove a previously submitted batch OCR task before processing completes.
Input parameters
ID of the task received when documents were submitted for batch processing. This task will be removed from the queue.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
EAGLE_DOC_INVOICE_OCR_BASE64Tool to extract invoice data from base64 encoded images using Eagle Doc OCR API. Use when you need to process invoice images that are already base64 encoded. Supports optional parameters for privacy control, coordinate extraction, and full text extraction.
Input parameters
If true, returns coordinate data (polygon) for each extracted field, indicating the position of the field on the page. Default is false.
Controls server storage of the document. If true, the document is not stored on the server (default). If false, it may be stored for algorithm improvement purposes.
If true, provides full text extraction line-by-line for each page of the document. Default is false.
Base64 encoded invoice image or document string. Must be a valid base64 string representing the image file.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
EAGLE_DOC_MANAGEMENT_QUOTATool to get contractual quota allowance and current usage counters for all workloads. Use when you need to check remaining capacity for dashboards or billing workflows.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
EAGLE_DOC_RECEIPT_OCR_V3Tool to process receipt images into structured JSON with 40+ fields including merchant info, line items, taxes, and payments. Use when extracting detailed data from receipt images or PDFs.
Input parameters
Receipt image or multi-page PDF file.
If true, prioritizes speed over accuracy with selective LLM enhancement.
If true, returns coordinate data for drawing polygons around extracted text.
If true (default), file is not stored. If false, file may be stored for algorithm improvement.
Direct URL to download the receipt file from. Alternative to providing a file directly. Useful when the file is available at a public URL.
If true, returns full unstructured text array per page.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
EAGLE_DOC_RECEIPT_QUOTA_V2Tool to get quota information for receipt processing API v2 (deprecated). Use when you need to check available quota and usage for receipt OCR processing. Note: Multi-page receipts count each page as one request.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
EAGLE_DOC_USAGE_CURRENT_MONTHTool to get current month's usage statistics including quota, pages processed, over-usage, and costs. Use when you need to check API usage and billing information for the current billing period.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
EAGLE_DOC_USAGE_MONTHLY_HISTORYTool to retrieve historical monthly usage data with pricing context for reconciliation and forecasting. Use when you need to analyze page processing trends or calculate costs.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
EAGLE_DOC_USAGE_REQUEST_LOGSTool to retrieve chronological list of recent API calls with page counts and timestamps. Use for troubleshooting and auditing consumption patterns.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
Agents can call 10 Eagle doc actions on Nagent, including "Get Management Quota", "Get Receipt Quota V2 (Deprecated)" and "Get Current Month Usage". Get Management Quota: Get contractual quota allowance and current usage counters for all workloads. Each action is listed on this page with its input parameters and its output.
Eagle doc connects with an API key, under your workspace's own connection. Nothing is enabled on connect: each action is allowed one at a time and can be scoped to the agents that need it.
It returns data, error and successful.