Preview and validate a strategy change
preview_configMerge a partial strategy patch with current settings to validate keys, ranges, affordability, and cross-field rules; return the exact diff and previewHash required before applying or starting.
Instructions
Read-only. Merges a partial strategy patch with the current configuration, validates keys, ranges, affordability, and cross-field rules, and returns the exact diff plus a previewHash required for apply_config or start_bot. No settings are saved.
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": {
"patch": "<patch>"
},
"name": "preview_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes | Partial configuration using documented Polmexbot keys |