Polyrank AI Lab: edit a strategy
polyrank_update_strategyWrites to the user's AI Lab: ask the user before calling, then pass confirm: true. Rename a saved strategy and/or replace its strategy spec (a changed spec makes it a draft again: its earlier backtests stay, tested on the old rules). The server validates the spec and answers with the reason when it refuses. Needs a signed-in Polyrank account on a plan with the AI Lab (every paid plan, from Pro Trader: https://polyrank.app/pricing).
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>",
"confirm": "<confirm>"
},
"name": "polyrank_update_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | No | ||
| spec | No | ||
| confirm | Yes | Required: true, and only after the user agreed to this call in the conversation. |