Agent Strategy Console
cc.agent_strategyRun the Central Command agent console (strategy lifecycle + account actions). Purpose: guide/whoami, create/update strategies, backtest, deploy STOPPED, paper execute, and (explicitly) live orders. Behavior: READ + WRITE. Deploy without execute does NOT move money. Live place_order/close_position/cancel_order require confirm_live=true. Default force_paper=true. Auth: X-Api-Key (linked Connect keys preferred — free). Do not spoof X-Linked-User-Id. Cost: linked Connect keys free; otherwise prepaid / x402 per catalog price for agent-strategy. Rate limit: plan default. Returns: JSON envelope { ok, endpoint, status, data: { ok, guide|whoami|created|deployed|... } }. Guidelines: Start with action=guide then whoami. Prefer paper. Never invent outbound-proxy failures — report real HTTP status/body.
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": {
"action": "<action>"
},
"name": "cc.agent_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Strategy id for get/update/deploy/execute/backtest. Optional. | |
| body | No | Full JSON body merge/override for advanced fields. Optional. | |
| goal | No | Natural-language strategy goal / rules. Optional. | |
| title | No | Strategy title when creating/updating. Optional. | |
| action | Yes | Required intent. Safe/read: guide, whoami, strategies, get_strategy, portfolio, positions, orders, balance, results, logs, get_backtest. Write (no live money): create_strategy, update_strategy, deploy, pause, backtest, execute with force_paper=true. Destructive live: place_order, close_position, cancel_order — require confirm_live=true. Example: "guide". | |
| settings | No | For update_strategy: { strategy_config: {max_leverage, max_risk_per_trade_pct, max_concurrent_positions, asset_universe, ...}, capital_config, check_interval_minutes, trading_permissions }. Hot-editable fields work even while running; cold fields (goal, strategy_notes) require pause first. All changes logged. | |
| task_type | No | Task classification for create_strategy. Prefer "paper". Optional. | |
| __x_payment | No | Optional x402 payment proof (same as X-PAYMENT header) when retrying after 402. Optional. | |
| force_paper | No | When true (recommended default), execute paths stay on paper. Optional. | |
| confirm_live | No | Must be true to place/cancel LIVE exchange orders. Never set unless the human explicitly confirmed. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the gateway HTTP status is 2xx. | |
| data | No | Parsed JSON body from the endpoint (shape varies by slug). | |
| error | No | Error message when ok is false. | |
| status | Yes | Upstream HTTP status from x402-gateway. | |
| billing | No | Optional payment / cost metadata when present. | |
| endpoint | Yes | Catalog slug that was invoked (e.g. funding-rates). |