Validate Strategy Draft
validate_strategy_draftValidate a strategy draft by parsing and compiling its AST without importing, then issue a hash-bound capability for reproducible backtests.
Instructions
Statically validate a draft and issue an exact hash-bound capability.
Parses and compiles AST without importing the candidate. Every call creates a new validation record and capability.
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": {
"draft_id": "<draft_id>",
"expected_revision": "<expected_revision>"
},
"name": "validate_strategy_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | ||
| expected_revision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||