Add a service provider
add_providerAdd a service provider with trade and contact details so maintenance records can name who does the work. Check existing providers first, then use the returned ID.
Instructions
Adds a service provider — a plumber, the HVAC company, an electrician — with their trade and contact details, so maintenance can name who does it. Check list_providers first so you don't add one twice; then use its id as providerId on add_maintenance or complete_maintenance. Returns the new provider with its id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The business or person: "Acme Heating & Air" | |
| No | Email address | ||
| notes | No | Anything worth remembering: rates, who to ask for, what they did well | |
| phone | No | Phone number, as they give it | |
| trade | No | What they do: "Plumber", "HVAC", "Appliance repair" | |
| address | No | Their business address | |
| website | No | Their website | |
| contactName | No | Who to ask for |