GENERATE_COMPS_TABLE
Generates a Public Comparable Company Analysis (Comps Table) for Valuation. Fetches real-time equity/debt data for a peer group and calculates EV/EBITDA, EV/Revenue, and P/E multiples.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
tickers | array | yes | List of stock tickers (e.g. ['AAPL', 'MSFT', 'GOOG']). |
output_path | string | yes | Absolute path to save the generated Comps Excel (.xlsx) file. |
How to use it
You normally trigger this by describing what you want in chat — the agent selects GENERATE_COMPS_TABLE automatically. For example:
Try saying
“use analyst tools to generate …”
In a workflow
As a step in a multi-step workflow DAG:
json
{
"id": "s1",
"agent": "analyst_tools",
"action": "GENERATE_COMPS_TABLE",
"args": {
"tickers": [],
"output_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":"GENERATE_COMPS_TABLE","args":{"tickers":[],"output_path":"/Users/me/Documents/file.txt"}}'Part of the analyst_tools plugin. Browse the full Plugin & Tool Catalog or the relevant feature guide.