upload_file
Upload a file (base64 or URL) to the Excel MCP server for temporary storage and processing. Returns a session ID and file path for use with other tools.
Instructions
Upload a file for server-side processing.
Accepts a base64-encoded file string or an HTTP/HTTPS URL. Returns a session_id and file_path that can be used with any other tool. The file is stored temporarily on the server and auto-deleted after 1 hour or when release_file is called.
Args: file_content: Base64-encoded file bytes OR an HTTP/HTTPS URL pointing to the file. filename: Filename hint used to determine the file extension (e.g. "data.xlsx", "report.csv").
Returns: dict: A mapping containing: - session_id (str): Opaque ID for this file session. - file_path (str): Server-side local path — use this as file_path in other tools. - message (str): Human-readable confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | workbook.xlsx | |
| file_content | Yes |