Strategy
get_strategyReturns one of your saved strategies with the two fields get_my_strategies omits: timeframe (4h when never set) and description. Use it to check a strategy before run_backtest or update_strategy; to browse them all, use get_my_strategies. strategy_id is the uuid create_strategy returns and run_backtest, update_strategy and delete_strategy take. An archived strategy comes back with active false; another account's id reads as not found. Needs an API key.
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": {
"strategy_id": "<strategy_id>"
},
"name": "get_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strategy_id | Yes | Id of your strategy, from get_my_strategies. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Set only on a failed call (isError true): what went wrong. | |
| strategy | No | One saved strategy. |