estimate_translation_cost
Get cell count, API cost, and processing time estimates for translating an Excel file to plan budgets before running translations.
Instructions
Estimate the cost of translating an Excel file.
Returns cell count, estimated API cost, and estimated processing time. Useful for budgeting and planning before running translations.
USAGE INSTRUCTIONS:
For local files: Use the 'file_path' parameter with the full path (e.g., ~/Downloads/report.xlsx)
For uploaded files: Ask the user to save the file locally first, then use 'file_path'
For base64 input: If you already have base64 content, use 'file_content_base64'
Provide either 'file_path' OR 'file_content_base64' (not both).
IMPORTANT: When using file_path, DO NOT show the base64 content to the user. Just call the tool and show the results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheets | No | Specific sheet names to estimate. If omitted, estimates all sheets. | |
| file_path | No | Path to a local Excel file (e.g., ~/Downloads/report.xlsx). Use this for files saved on the user's computer. | |
| file_content_base64 | No | Base64-encoded Excel file content. IMPORTANT: When user uploads a file, use the file's resource URI from your context instead of reading it manually. If you have access to the file content directly, encode it to base64. |