get_profit_and_loss
Fetch income, expenses, and net profit over a specified period to answer questions about revenue, spending, margins, and business profitability.
Instructions
Income, expenses and net profit over a period.
Use for questions about revenue, sales totals, expenses, spending, margins or whether the business is profitable. Defaults to the current fiscal year to date when no dates are given.
Args: start_date: Period start, YYYY-MM-DD. end_date: Period end, YYYY-MM-DD. accounting_method: "Accrual" or "Cash". Defaults to the company setting.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_profit_and_loss"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | ||
| start_date | No | ||
| accounting_method | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||