xbrl_presentation_tree
Retrieve the presentation hierarchy of XBRL financial statements. Filter by role to get a specific statement or list available roles.
Instructions
Get the presentation hierarchy (financial statement structure).
The presentation linkbase defines how concepts are organized for display — each extended link role typically represents one financial statement (Balance Sheet, Income Statement, Cash Flow, etc.).
Use role_filter to get a specific statement, or list_roles_only=true to see what statements are available.
Args: params (PresentationTreeInput): Filing ID and filter options.
Returns: str: JSON with hierarchical tree structure per role.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |