get_expense
Retrieve detailed information for a specific expense entry in FreshBooks to track costs and manage business finances.
Instructions
Get full details of a specific expense.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expense_id | Yes |
Implementation Reference
- src/mcp_freshbooks/server.py:278-283 (handler)The handler function for the 'get_expense' tool, which fetches details of a specific expense from FreshBooks.
@mcp.tool() @_handle_errors async def get_expense(expense_id: int) -> str: """Get full details of a specific expense.""" result = await client.accounting_get("expenses/expenses", expense_id) return _fmt(result.get("expense", result))