Create Trading Instance
create_instanceCreate a trading instance for broker_account_id (account_ref from list_brokers). Prefer paper/demo unless user chooses live. Default status pending; start_immediately=true only when user wants live now.
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>",
"broker_account_id": "<broker_account_id>"
},
"name": "create_instance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The display name of the instance | |
| description | No | Optional description of the trading instance | |
| broker_account_id | Yes | account_ref from list_brokers (e.g. "alpaca-paper-93461") for the account the user picked. | |
| start_immediately | No | Whether to start the instance immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| message | No | ||
| success | No |