Update PM template
update_pm_templateUpdate an existing PM template by ID. Requires pm_templates:write scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | PM template ID | |
| tasks | No | Checklist of tasks baked into this template | |
| title | No | PM template title | |
| asset_ids | No | Default asset IDs | |
| documents | No | Document references | |
| frequency | No | Suggested maintenance frequency | |
| resources | No | Resource references (parts, tools, materials, equipment) | |
| description | No | Description | |
| location_ids | No | Default location IDs | |
| work_category | No | Work category label (free text) | |
| estimated_cost | No | Estimated cost | |
| estimated_hours | No | Estimated hours | |
| form_template_id | No | Form template ID to attach to every work order this generates - resolve via list_form_templates. Use a PUBLISHED template: generation resolves the current published version of the form, so a draft attaches nothing until it is published. | |
| work_category_id | No | Work category ID | |
| safety_requirements | No | Safety requirements | |
| custom_interval_weeks | No | Custom interval in weeks (when frequency is CUSTOM) |