get_margins
Retrieve account margins from your active broker or choose a specific broker and segment. Get margin details for equity or commodity trading.
Instructions
Get account margins from active or specific broker in your session
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_margins"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| broker | No | Specific broker (optional, uses active if not specified) | |
| segment | No | Specific segment for Kite broker (optional) |