get_profit_and_loss
Generate a simplified Profit & Loss statement for a date range, grouping income and expense ledgers by standard Tally primary groups.
Instructions
Get a simplified Profit & Loss statement, grouping income and expense ledgers by their standard Tally primary group.
Args: company: Company name. If omitted, uses the configured default. from_date: Start date, ISO format YYYY-MM-DD. to_date: End date, ISO format YYYY-MM-DD.
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 |
|---|---|---|---|
| company | No | ||
| to_date | No | ||
| from_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||