Strategy rules
get_strategyOne strategy's rules: the buy, add, exit and trim conditions as the engine reads them, each with its words as the Strategies page shows them, and the same strategy in the page's Export JSON shape. A deleted strategy is still returned, since its old signals name it.
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": {
"id": "<id>"
},
"name": "get_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The strategy id, from get_strategies or a signal's strategy_id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| rules | No | ||
| export | No | ||
| strategy | No | ||
| warnings | No |