spreadsheet_get_formulas
Extract formula expressions from a spreadsheet range to analyze calculations without computed values, using LibreOffice MCP Tools for document processing.
Instructions
Get all formulas in a spreadsheet range (returns formula expressions, not computed values).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"docId": "<docId>"
},
"name": "spreadsheet_get_formulas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | Document handle returned by document_open | |
| sheetName | No | Sheet name. Defaults to the first sheet if not specified | |
| range | No | Cell range (e.g., "A1:Z100"). Defaults to entire sheet. |