Skip to main content
Glama

delete_session

Terminate a Claude Code agent session and clean up all associated agents and resources. Use force mode for unresponsive sessions.

Instructions

Delete a session and all its agents.

Safely terminates all agents in the session and cleans up resources. Use force=True to forcefully terminate unresponsive sessions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYes
forceNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Nexus-Digital-Automations/Claude_Code_MCP_2'

If you have feedback or need assistance with the MCP directory API, please join our Discord server