Get Sample Strategy Template
tt_get_sample_strategyReturn a worked, real strategy template for a named pattern, or a validated reference from the category-tier sample library. Call with no pattern to list everything.
Scope: ~18 top-level patterns (iron_condor, short_strangle, short_straddle, butterfly, rolling_straddle, calendar, exchange exemplars — mcx_sample_template, delta_crypto, us_spx_condor, sensex_orb, nse_sample, nfo_samples — and mechanics/references — repair_once_best_practice, staged_reentry, wait_and_trade, pilot_calm, canonical, rank_top_gainers_losers) AND a library of 140+ validated entries in 7 categories (option_patterns, team_idioms, primitives, gap_structures, gap_entries, mechanics, chart_types). pattern='library' -> the category menu; pattern= -> its entries; pattern=<entry key or a fragment of it, e.g. 'pmcc'> -> the entry. The registry is data-driven — the no-pattern call, not this docstring, is the authoritative list.
Use this INSTEAD of carrying full examples in the quickstart — pull the one pattern you need, study its mechanics + reference_json/markdown, then author + tt_validate_markdown before create. Never fabricate a strategy for an unlisted pattern — the tool returns the catalog.
Args: pattern: A pattern name / alias (straddle, strangle, ic, condor, fly, mcx, crypto, us, sensex, orb, ...), 'library', a library category, or a library entry key/fragment. Empty -> patterns + categories. fmt: auto | json | reference. All include the verified reference_json when one is bundled.
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": "tt_get_sample_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fmt | No | One of: auto, json, reference. Default 'auto'. Matched case-insensitively. | auto |
| pattern | No |