Strategy Lab: save a strategy
polyrank_create_strategyWrites to the user's Lab: ask the user before calling, then pass confirm: true. Save a strategy to your Lab: a name plus a strategy spec (wallet source — any Builder ranking, a history ranking, a static wallet list or a copy-engine sleeve — and market, entry, sizing and exit rules), or a template_id to copy a template. The server validates the spec and answers with the reason when it refuses. Needs POLYRANK_API_KEY.
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": {
"name": "<name>",
"confirm": "<confirm>"
},
"name": "polyrank_create_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| spec | No | A strategy spec (see polyrank_list_lab_templates). | |
| confirm | Yes | Required: true, and only after the user agreed to this call in the conversation. | |
| template_id | No |