log_maintenance
Record completed maintenance on an asset (by id or name, e.g. 'RAM'). Advances the matching schedule; pass an interval to create a schedule if none exists. Updates the asset's odometer/hours if meter_value is higher.
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": {
"task": "<task>"
},
"name": "log_maintenance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | No | ||
| date | No | Defaults to today | |
| task | Yes | e.g. 'Oil change', 'Monthly test run' | |
| notes | No | ||
| asset_id | No | ||
| asset_name | No | ||
| meter_value | No | Odometer miles or engine hours at service | |
| performed_by | No | 'self' or contractor name | |
| interval_days | No | ||
| interval_hours | No | ||
| interval_miles | No |