Emergency Stop
emergency_stopCancel all open orders, disable new order placement, and send a Telegram alert in emergencies.
Instructions
PANIC BUTTON: cancel ALL open orders, disable order placement in control.json, and send a Telegram alert. Use only in emergency situations.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "emergency_stop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | emergency stop |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Human-readable summary. | |
| success | Yes | Whether the emergency stop completed. | |
| ordersCancelled | Yes | Number of orders cancelled. | |
| tradingDisabled | Yes | Whether trading was disabled in control.json. | |
| telegramNotified | Yes | Whether a Telegram notification was sent. | |
| cancelledOrderIds | No | IDs of cancelled orders. |