Validate a strategy config
strategy_validateValidates a declarative crypto strategy config before saving or running it. Returns pass/fail with error codes matching platform API responses, so configs can be fixed prior to backtesting.
Instructions
Runs the platform validator on a strategy config without saving or running it. Returns {ok:true} or {ok:false, errors:[{code, message, path?}]} with the same codes as a 422/400 from POST /strategies. Read docs://strategy-config-reference first.
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": {
"config": "<config>"
},
"name": "strategy_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | The strategy config JSON (docs://strategy-config-reference). |