get_pnl_metadata
Retrieve trade profit-and-loss metadata, including counts and totals, for a specified segment and financial year, with optional date filtering.
Instructions
Trade P&L metadata (counts/totals) for a segment and financial year.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"segment": "<segment>",
"financial_year": "<financial_year>"
},
"name": "get_pnl_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segment | Yes | ||
| to_date | No | dd-mm-yyyy | |
| from_date | No | dd-mm-yyyy | |
| financial_year | Yes | e.g. 2425 for FY 2024-25 |