list_templates
List strategy templates to discover available backtesting strategies. Retrieve a compact catalog or fetch a full template including its logic and parameters.
Instructions
List predesigned strategy templates, or fetch one in full.
Cheap, cacheable per session. The engine returns the templates available to the calling key.
With no arguments: a compact catalog — {"templates": [...], "count": N} — where each entry carries id, origin, name, and
description. Use it to discover what exists. Pass name='sma-cross'
(id or name, case-insensitive) to get that single template's complete
entry: its strategy logic (condition_tree + indicators, the
same shape validate_strategy and run_backtest accept) plus parameter
metadata — defaults (starting parameter values), requires,
and locked_params (parameters that must keep their template
values). Pass compact=False for complete entries for everything
(large; the MCP server may cap it and set truncated_by_mcp —
prefer compact or name=).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| compact | No |