asset_maintenance_log_list
List asset maintenance log entries with filters, newest first, and view total cost of completed maintenance for total cost of ownership.
Instructions
List maintenance log entries (H08), newest first (by logDate then created_at). Optional filters: assetId (scope to one asset, the usual timeline read), maintenanceType, status (completed [default] | cancelled | any), fromDate / toDate (an ISO log-date window), hasCost (true = only entries with a captured cost, false = only those without), performedByUserId, and a case-insensitive search over title, description, externalParty and externalReference. Returns items, total, and totalCostRappen: the SUM of cost_rappen over the COMPLETED entries in the result (a cancelled or costless entry contributes 0), which is the asset TCO roll-up. Accepts a savedViewId (G00 saved-view seam). Read-only.
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": {
"workspaceId": "<workspaceId>"
},
"name": "asset_maintenance_log_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | ||
| status | No | ||
| toDate | No | ||
| assetId | No | ||
| hasCost | No | ||
| fromDate | No | ||
| savedViewId | No | ||
| workspaceId | Yes | ||
| maintenanceType | No | ||
| performedByUserId | No |