fill_formula
Fill a range with a formula, automatically adjusting relative references to match each cell, similar to Excel's fill handle.
Instructions
Fill a range with a formula, adjusting relative references like Excel's fill handle.
The formula is written as given to the range's top-left cell and translated for the rest: '=B22' filled into C2:C4 becomes '=B32' in C3 and '=B42' in C4. Use $ to pin references ('=$B$1B2').
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": {
"session_id": "<session_id>",
"range": "<range>",
"formula": "<formula>"
},
"name": "fill_formula"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | ||
| formula | Yes | ||
| session_id | Yes |