FORMAT_XLSX
Applies professional formatting: freeze header, bold header, auto-width, borders, highlight negatives in red, stripe alternate rows.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
path | string | yes | Absolute path to the .xlsx file |
freeze_top_row | boolean | β | Freeze the header row (default true) |
bold_header | boolean | β | Bold the header row (default true) |
auto_width | boolean | β | Auto-adjust column widths (default true) |
highlight_negatives | boolean | β | Highlight negative numbers red (default true) |
stripe_rows | boolean | β | Alternate row background color (default false) |
add_borders | boolean | β | Add thin borders to all cells (default false) |
How to use it
You normally trigger this by describing what you want in chat β the agent selects FORMAT_XLSX automatically. For example:
Try saying
βuse xlsx handler to format β¦β
In a workflow
As a step in a multi-step workflow DAG:
json
{
"id": "s1",
"agent": "xlsx_handler",
"action": "FORMAT_XLSX",
"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":"FORMAT_XLSX","args":{"path":"/Users/me/Documents/file.txt"}}'Part of the xlsx_handler plugin. Browse the full Plugin & Tool Catalog or the relevant feature guide.