Create, update, search, and manage client/business records in Invoice My Clients. Use when the user wants to add a new client, update client info, find a client, or view their client list.
Collect client details from the user. Only businessName is required:
| Field | Required | Example |
|---|---|---|
| Business Name | Yes | "Acme Corporation" |
| No | "[email protected]" |
| Phone | No | "555-123-4567" |
| Mobile | No | "555-987-6543" |
| Street Address | No | "123 Main St" |
| Suite/Unit | No | "Suite 400" |
| City | No | "New York" |
| State | No | "NY" |
| Postal Code | No | "10001" |
| Language | No | "en-US" or "es-Mx" |
| Accept Online Payments | No | true/false |
Before creating, search for existing clients:
search_businesses with the business name.Call create_business with the collected fields:
{
"businessName": "Acme Corporation",
"businessEmail": "[email protected]",
"businessPhone": "555-123-4567",
"businessStreetAddress1": "123 Main St",
"businessCity": "New York",
"businessState": "NY",
"businessPostCode": "10001"
}
Present the created record:
Client Created!
Name: Acme Corporation
Email: [email protected]
Phone: 555-123-4567
Address: 123 Main St, New York, NY 10001
Use search_businesses for fuzzy text search:
{ "query": "acme" }
This searches across business name, email, and city. Present results in a table:
| Name | City | Phone |
|---|
For a full list, use get_businesses with pagination:
{ "limit": 20 }
If there are more results, inform the user and offer to load more.
Search for the client by name using search_businesses.
Present the found record and confirm: "Is this the client you want to update?"
Call update_business with only the changed fields:
{
"id": "<business ID>",
"businessEmail": "[email protected]"
}
Show a before/after summary of what changed.
Call get_business with the client's ID to retrieve full details. Present all available information in a clean format.