clear_chat_history
Delete the client-side JSON history file for a chat session. Removes local records only; server-side stored responses remain untouched.
Instructions
Delete the local history file for a chat session.
Only removes the client-side JSON file. Server-side stored responses are untouched.
Args:
session: Session name whose `chats/{session}.json` file should be deleted.
Returns:
Confirmation string or a not-found message.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "clear_chat_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | default |