Clear stored logs
clear_logsPermanently clear stored console logs and script errors for all clients or a single client, giving a clean slate so subsequent reads show only new output.
Instructions
Permanently delete the console logs and script errors that the bridge has stored, for all clients or only for one. The bridge keeps them in memory only, so a cleared entry cannot be recovered. Nothing else is touched: the Roblox console, snapshots, recipes and the game itself stay as they are. Use it to get a clean slate right before you reproduce a problem, so that get_logs, get_errors and wait_for_log only show new lines. Do not use it to hide old output you may still need: read it with get_logs or get_errors first. It does not need a running game, and clearing an empty store is harmless. Returns { cleared: true, client } where client is null when everything was cleared.
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_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client | No | Only delete the entries of this client id, as listed by list_clients. Default: delete the entries of all clients. |