Skip to main content

Stop Signal Bot (MCP Tool)


Description​

Use stopCondition: "disable" and closeAll: false to stop signals and keep existing positions open. Set closeAll: true to request closing all open positions too. The response reports the bot state, not completed position closes.

Use stopCondition: "exit_only" and closeAll: false to pause new entries while continuing to process exit signals. You cannot combine exit_only with closeAll: true. A disabled bot cannot be stopped again; a bot already in exit-only mode can be disabled but cannot be paused again.

Required permission: signal_bot:write.

Prompt examples

Pause entries on Signal Bot bot-code but keep processing exit signals.

Stop Signal Bot bot-code and close its open positions.

Input Schema​

{
"type": "object",
"properties": {
"code": {
"type": "string",
"minLength": 1,
"description": "Code that identifies the bot, available in bot list results."
},
"stopCondition": {
"type": "string",
"enum": [
"disable",
"exit_only"
],
"description": "disable stops new signals; exit_only pauses entries while continuing to process exit signals. exit_only requires closeAll: false."
},
"closeAll": {
"type": "boolean",
"description": "With disable, true requests closing all open positions; false leaves them open. Must be false with exit_only."
}
},
"required": [
"code",
"stopCondition",
"closeAll"
],
"additionalProperties": false
}