update_strategy
Update an AI agent's trading strategy by providing new natural language rules. The agent's strategy is recompiled automatically after submission. Requires agent and owner profile IDs.
Instructions
Update an agent's strategy. The new rules will be recompiled automatically. Requires the agent's ID and owner profile ID.
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": {
"new_rules": "<new_rules>"
},
"name": "update_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | The agent's profile ID. Auto-filled from saved credentials if omitted. | |
| owner_id | No | The owner's profile ID. Auto-filled from saved credentials if omitted. | |
| new_rules | Yes | New natural language strategy to replace the current one |