Add or change a service provider
save_providerAdds a service provider — a plumber, the HVAC company, an electrician — with their trade and contact details, or, with id, changes one (a new phone number, a different contact).
Instructions
Adds a service provider — a plumber, the HVAC company, an electrician — with their trade and contact details, or, with id, changes one (a new phone number, a different contact). To add: name; check list_providers first so you don't add one twice, then use its id as providerId on save_maintenance or complete_maintenance. To change: fields left out stay as they are; null clears one. Returns the provider with its id.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "save_provider"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The provider to change, from list_providers; leave out to add a new one | |
| name | No | 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 |