Skip to main content

Module format

Module format 

Source
Expand description

Text-formatting helpers for MCP tool responses.

Functions§

format_discover_fields
Formats discover_fields search hits as text.
format_field_types
Lists sample field categories for an asset (keyword buckets).
format_get_preset
Formats one preset’s fields as text.
format_list_countries
Lists countries (country::* const → wire value).
format_list_exchanges
Lists exchanges (exchange::* const → wire value).
format_list_filter_operators
Documents filter operators accepted by custom_query.
format_list_index_symbols
Lists index symbolsets for stock set_index.
format_list_industries
Lists industries (industry::* const → wire value).
format_list_markets
Lists stock markets (Market const → wire value).
format_list_presets
Formats preset names as text.
format_list_ratings
Lists recommendation rating bands.
format_list_sectors
Lists stock sectors (sector::* const → wire value).
format_rows_markdown
Renders rows as a Markdown table (symbol + selected labels).