Reference: https://code.claude.com/docs/en/tools-reference#endconversat...
https://code.claude.com/docs/en/changelog#2-1-214 says:
Added the EndConversation tool: Claude can end sessions with highly abusive users or jailbreak attempts, as on claude.ai since 2025 — see https://www.anthropic.com/research/end-subset-conversations