{"command":{"effect":"write","timeoutSeconds":120,"inputSchema":{"type":"object","description":"Removes a managed agent session from the public API and returns a deletion confirmation. If backend execution has ended, deletion can cancel a still-open public turn and abandon unpublished outputs. Running execution must be cancelled first. Physical cleanup may continue asynchronously. See [managing sessions](https://developers.openai.com/api/docs/guides/agents-api/sessions/manage).","properties":{"path":{"type":"object","properties":{"session_id":{"type":"string","minLength":0,"maxLength":1048576,"description":"The ID of the session."}},"required":["session_id"],"additionalProperties":false}},"required":["path"],"additionalProperties":false},"name":"Delete an agent session","id":"openai.deleteagentsession","example":{"path":{"session_id":"example"}},"maxRequests":1,"summary":false}}