excel_calculate_depreciation
Calculate asset depreciation in Excel using straight-line, double-declining, or sum-of-years-digits methods and write results directly to a specified worksheet cell.
Instructions
Calculate asset depreciation (SL, DDB, SYD)
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": {
"filename": "<filename>",
"worksheet": "<worksheet>",
"startCell": "<startCell>",
"cost": "<cost>",
"salvageValue": "<salvageValue>",
"usefulLife": "<usefulLife>",
"method": "<method>"
},
"name": "excel_calculate_depreciation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | Asset cost | |
| method | Yes | Depreciation method | |
| filename | Yes | Workbook name | |
| startCell | Yes | Output start cell | |
| worksheet | Yes | Worksheet name | |
| usefulLife | Yes | Useful life in years | |
| salvageValue | Yes | Salvage/residual value |