Stop the background log
log_stopStops a background measurement log cleanly and returns its summary, including file, record count, duration, per-unit statistics, and link gaps; optionally target a specific job.
Instructions
Stop the background log cleanly and return its summary: file, records, duration, min/max/mean per unit, link gaps. Without job it also stops a log or live started elsewhere (a terminal, another client); already_ended true = the log had ended before this call (the summary is its old one).
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": "log_stop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | No | job id from log_start (default: the latest log) |