SERVICE & TOOLS

Excel

Excel files — create, read, modify with formulas, formatting, charts, pivot tables

29 available tools

apply_formula

Apply Excel formula in a cell Parameters: - file_id: File ID - sheet_name: Worksheet name - cell: Cell address (e.g., "A1") - formula: Excel formula (e.g., "=SUM(A1:A10)") Returns: - Operation resul…

copy_range

Copy cell range to another location. Parameters: - file_id: File ID; - sheet_name: Source sheet name; - source_start: Source range start cell; - source_end: Source range end cell; - target_start: Targ…

copy_worksheet

Copy worksheet. Parameters: - file_id: File ID; - source_sheet: Source sheet name; - target_sheet: Target sheet name

create_chart

Create chart in worksheet Parameters: - file__id: File ID - sheet_name: Sheet name - data_range: Data range (e.g., "A1:D10") - chart_type: Chart type (bar, line, pie, scatter, etc.) - target_cell: Ch…

create_pivot_table

Create pivot table Parameters: - file_id: File ID - sheet_name: Sheet name - data_range: Data range - rows: Row field list - values: Value field list - columns: Column field list (optional) - agg_fun…

create_table

Creates an Excel table from a given data range in a worksheet.

create_workbook

Creates a new Excel workbook and returns its file_id. After creating it, call download_excel_file with that file_id to give the user a download link.

create_worksheet

Create a new worksheet in a workbook. Parameters: file_id, sheet_name

delete_excel_file

Permanently deletes the specified Excel file by its file ID.

delete_range

Delete a range of cells and shift remaining cells Parameters: - file_id: File ID - sheet_name: Sheet name - start_cell: Start cell - end_cell: End cell - shift_direction: Shift direction ("up" or "le…

delete_sheet_columns

Delete columns Parameters: - file_id: File ID - sheet_name: Sheet name - start_col: Starting column number - count: Number of columns to delete (default 1)

delete_sheet_rows

Delete rows Parameters: - file_id: File ID - sheet_name: Sheet name - start_row: Starting row number - count: Number of rows to delete (default 1)

delete_worksheet

Delete worksheet Parameters: - file_id: File ID - sheet_name: Name of the worksheet to delete

download_excel_file

Downloads a processed Excel file and returns its download URL. Use the file_id returned by upload_excel_file or create_workbook.

format_range

Format a range of cells Parameters: - file_id: File ID - sheet_name: Sheet name - start_cell: Starting cell - end_cell: Ending cell (optional) - bold: Bold or not - it…

get_data_validation_info

Get all data validation rules in a worksheet Parameters: - file_id: File ID - sheet_name: Sheet name

get_merged_cells

Get all merged cells in a worksheet Parameters: - file_id: File ID - sheet_name: Sheet name

get_workbook_metadata

Get workbook metadata, including worksheet list, ranges, etc. Parameters: - file_id: File ID - include_ranges: Include range information or not

insert_columns

Insert columns Parameters: - file_id: File ID - sheet_name: Sheet name - start_col: Starting column number - count: Number of columns to insert (default 1)

insert_rows

Insert rows Parameters: - file_id: File ID - sheet_name: Sheet name - start_row: Starting row number - count: Number of rows to insert (default 1)

list_excel_files

Lists all Excel files cached for the current user, returning each file's file_id and file info.

merge_cells

Merge cell range Parameters: - file_id: File ID - sheet_name: Sheet name - start_cell: Start cell - end_cell: End cell

read_data_from_excel

Read Excel worksheet data. Parameters: file_id (file ID), sheet_name (worksheet name), start_cell (starting cell, default A1), end_cell (ending cell, optional), preview_only (whether to return preview…

rename_worksheet

Rename worksheet

unmerge_cells

Unmerge cells Parameters: - file_id: File ID - sheet_name: Sheet name - start_cell: Start cell - end_cell: End cell

upload_excel_file

Uploads an Excel file (.xlsx or .xls) to the server so it can be processed, returning a file_id to use in subsequent operations. The source can be a public http(s) URL or an RFC 2397 data: URI, which …

validate_excel_range

Validate if range exists and format is correct Parameters: - file_id: File ID - sheet_name: Sheet name - start_cell: Start cell - end_cell: End cell (optional)

validate_formula_syntax

Validate Excel formula syntax (not applied) Parameters: - file_id: File ID - sheet_name: Sheet name - cell: Cell address - formula: Formula to validate

write_data_to_excel

Writes a 2D array of rows into a worksheet in an existing Excel file, starting at the given cell (A1 by default). Use this when you need to populate or append tabular data to a sheet.