← All toolsFiles & Documentsxlsx_handlerAll editions

FORMAT_XLSX

Applies professional formatting: freeze header, bold header, auto-width, borders, highlight negatives in red, stripe alternate rows.

Parameters

NameTypeRequiredDescription
pathstringyesAbsolute path to the .xlsx file
freeze_top_rowbooleanβ€”Freeze the header row (default true)
bold_headerbooleanβ€”Bold the header row (default true)
auto_widthbooleanβ€”Auto-adjust column widths (default true)
highlight_negativesbooleanβ€”Highlight negative numbers red (default true)
stripe_rowsbooleanβ€”Alternate row background color (default false)
add_bordersbooleanβ€”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.