freshbooks_whoami
Retrieve the current authenticated user's identity, account ID, and business information from FreshBooks.
Instructions
Get the current authenticated user's identity, account ID, and business info.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/mcp_freshbooks/server.py:108-113 (handler)The handler function for the freshbooks_whoami MCP tool, which calls the client's whoami method and returns a formatted result.
@mcp.tool() @_handle_errors async def freshbooks_whoami() -> str: """Get the current authenticated user's identity, account ID, and business info.""" identity = await client.whoami() return _fmt(identity)