Update infrastructure asset cost
update_infrastructure_asset_costUpdate an infrastructure asset cost by ID. Requires infrastructure_asset_costs:write scope.
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>"
},
"name": "update_infrastructure_asset_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Cost ID | |
| amount | No | Cost amount | |
| category | No | Cost category | |
| cost_date | No | Cost date (YYYY-MM-DD) | |
| po_number | No | PO number | |
| vendor_id | No | Vendor this cost was paid to - resolve via list_vendors; null clears it. | |
| work_order_id | No | Linked work order ID - resolve via list_work_orders | |
| invoice_number | No | Invoice number | |
| purchase_order_id | No | Purchase order that paid this cost - resolve via list_purchase_orders. Counts against the order's remaining balance unless the cost belongs to a work order; null clears it. |