Delete an agent conversation
delete_agent_sessionPermanently delete an agent conversation session and reset the agent's memory so the next message starts fresh. Run without confirm first to preview what would be deleted.
Instructions
Permanently delete one conversation (session) with Studio, the Workflow Agent or one of your deployed agents, and reset the agent's memory of it so the next message in that session starts fresh. Without confirm: true it only describes what would be deleted; ask the user before confirming. A turn that is still running is deleted too; to stop it instead, cancel it first with cancel_agent_message (get_agent_conversation with the session shows whether one is running). Studio keeps a display name the session was given on wiro.ai. The Workflow Agent's "default" session cannot be deleted. Model outputs and saved workflows are not affected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | Which agent: "studio" (Wiro Studio, the media agent that runs models for you), "workflow-agent" (the Workflow Agent, which designs Wiro workflows) or the guid of one of your deployed agents (from list_my_agents). | |
| confirm | No | Set to true only after the user agreed to the permanent deletion. | |
| session | Yes | The session to delete (from get_agent_conversation). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | ||
| deleted | Yes | ||
| session | Yes | ||
| summary | Yes | ||
| agentKind | Yes | ||
| nextAction | No | ||
| memoryReset | Yes | ||
| messageCount | No |