EXTRACT_INCOME_STATEMENT_PDF
Extracts income statement / P&L data: revenue, COGS, gross profit, operating expenses, EBITDA, depreciation, interest, taxes, net income.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
path | string | yes | Absolute path to the income statement PDF |
How to use it
You normally trigger this by describing what you want in chat — the agent selects EXTRACT_INCOME_STATEMENT_PDF automatically. For example:
Try saying
“use pdf handler to extract …”
In a workflow
As a step in a multi-step workflow DAG:
json
{
"id": "s1",
"agent": "pdf_handler",
"action": "EXTRACT_INCOME_STATEMENT_PDF",
"args": {
"path": "/Users/me/Documents/file.txt"
},
"depends_on": [],
"outputs": []
}Direct call
For scripting, call it directly via POST /execute_tool. Every tool returns { success, message, data }.
bash
curl -X POST http://127.0.0.1:8000/execute_tool \
-H "Content-Type: application/json" \
-d '{"tool_name":"EXTRACT_INCOME_STATEMENT_PDF","args":{"path":"/Users/me/Documents/file.txt"}}'Part of the pdf_handler plugin. Browse the full Plugin & Tool Catalog or the relevant feature guide.