create_maintenance_entry_for_product
Create maintenance records for home inventory items, logging servicing, repairs, or inspections with optional costs and dates. Resolve product by name or use ID.
Instructions
Create a maintenance entry for a specific Homebox product/entity.
Use this when the user wants to log servicing, repairs, inspections,
scheduled maintenance, or maintenance cost for an item.
If only a product name is known, provide `product_name` and this tool
will resolve the product first, then create the maintenance entry.
If the product ID is known, provide `product_id` directly for faster execution.
At least one of `scheduled_date` or `completed_date` must be provided.
If neither is provided, both default to today's date.
Args:
product_id: UUID of the product/entity (preferred if known).
product_name: Name of the product to search for (used if product_id not provided).
name: Title/summary of the maintenance task (required).
description: Detailed description of the work performed or planned.
cost: Cost of the maintenance in numeric format (e.g., 150.50).
scheduled_date: Scheduled date for maintenance (ISO 8601: YYYY-MM-DD).
Defaults to today if neither date is provided.
completed_date: Completion date for maintenance (ISO 8601: YYYY-MM-DD).
Defaults to today if neither date is provided.
Returns:
Created maintenance entry dict on success, or error string on failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | No | ||
| name | No | ||
| product_id | No | ||
| description | No | ||
| product_name | No | ||
| completed_date | No | ||
| scheduled_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |