xbrl_financial_ratios
Compute liquidity, profitability, leverage, and per-share ratios from an XBRL filing. Returns ratios with interpretations in JSON format.
Instructions
Compute standard financial ratios from a loaded filing.
Returns liquidity, profitability, leverage, and per-share ratios calculated from the most recent period's data.
Args: params: Filing ID.
Returns: str: JSON with computed ratios and their interpretations.
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": {
"params": "<params>"
},
"name": "xbrl_financial_ratios"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |