Create infrastructure asset cost
create_infrastructure_asset_costRecord a cost against an infrastructure feature. work_order_number is derived server-side from work_order_id; do not set it. 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": {
"feature_id": "<feature_id>",
"category": "<category>",
"amount": "<amount>",
"cost_date": "<cost_date>"
},
"name": "create_infrastructure_asset_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Cost amount (required) | |
| category | Yes | Cost category (required) | |
| cost_date | Yes | Cost date (YYYY-MM-DD, required) | |
| po_number | No | PO number | |
| vendor_id | No | Vendor this cost was paid to - resolve via list_vendors. | |
| feature_id | Yes | Infrastructure feature ID (required) - resolve via list_infrastructure_assets | |
| 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. |