get_client
Retrieve detailed client information from FreshBooks to manage customer relationships and access billing data.
Instructions
Get full details of a specific client.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_id | Yes |
Implementation Reference
- src/mcp_freshbooks/server.py:219-225 (handler)The implementation of the 'get_client' tool, which fetches details for a specific FreshBooks client.
@mcp.tool() @_handle_errors async def get_client(client_id: int) -> str: """Get full details of a specific client.""" result = await client.accounting_get("users/clients", client_id) return _fmt(result.get("client", result))