get_customer
Retrieve detailed customer information including contacts and addresses by providing the customer's unique identifier through the Siigo MCP Server.
Instructions
Get a customer by ID.
Args: customer_id: The customer's GUID
Returns the full customer details including contacts and addresses.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes |
Implementation Reference
- src/siigo_mcp/tools/customers.py:37-47 (handler)The handler function implementing the get_customer tool. It uses the Siigo API client to fetch customer details by ID.@mcp.tool async def get_customer(ctx: Context, customer_id: str) -> dict[str, Any]: """Get a customer by ID. Args: customer_id: The customer's GUID Returns the full customer details including contacts and addresses. """ return await get_client(ctx).get(f"/customers/{customer_id}")
- Discovery schema entry for the get_customer tool, providing name, category, and summary.{"name": "get_customer", "category": "customers", "summary": "Get a customer by ID"},
- src/siigo_mcp/tools/discovery.py:79-84 (registration)Registration mapping for customer tools, including get_customer, used in lazy loading for dynamic tool execution.# Customers "list_customers": customers.list_customers, "get_customer": customers.get_customer, "create_customer": customers.create_customer, "update_customer": customers.update_customer, "delete_customer": customers.delete_customer,