Update Custom Cost
hyros_update_custom_costUpdate an existing custom cost by replacing all fields. Use it to correct a wrong amount or close an open-ended recurring cost by setting an end date.
Instructions
Update a custom cost. The whole cost is replaced, so send every field, not only the ones changing. Use this to fix a wrong amount or to close an open-ended recurring cost by setting endDate.
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": {
"id": "<id>",
"cost": "<cost>",
"frequency": "<frequency>",
"startDate": "<startDate>",
"tags": "<tags>"
},
"name": "hyros_update_custom_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Custom cost ID (from hyros_get_custom_costs) | |
| cost | Yes | Cost amount | |
| name | No | Cost name | |
| tags | Yes | Tags the cost is attributed to. Each must already exist in the account, otherwise the API rejects the request. | |
| endDate | No | End date, ISO 8601. Leave unset for an open-ended recurring cost. | |
| frequency | Yes | How often the cost applies | |
| startDate | Yes | Start date, ISO 8601 (e.g. 2026-08-01T00:00) |