设置熔断
platform_set_breaker【账户与额度】更新账户熔断配置(写操作,需确认):enabled 开关,可设日亏损上限、连续失败次数、gas 尖峰上限。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)
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": "platform_set_breaker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | 是否启用熔断 | |
| alertChannels | No | 告警通道(可选) | |
| gasSpikeLimitUsd | No | gas 尖峰上限 USD(可选) | |
| dailyLossLimitUsd | No | 日亏损上限 USD(可选) | |
| consecutiveFailLimit | No | 连续失败次数上限(可选) |