get_experiment_logs
Fetch new log lines for a running or finished experiment, or return the last N lines as a tail view. Use a cursor to poll only new output and fall back to persisted logs after buffer eviction.
Instructions
Fetch new log lines for a running or finished experiment. Poll with since (the cursor from the previous call's next_cursor) to get only new lines. Pass tail_lines instead to fetch everything from the start and return just the last N lines (a 'tail' view) -- this overrides since. After the in-memory log buffer is evicted (5 minutes after the run finishes) this falls back to the persisted log tail in the experiment's results, if any.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"experiment_id": "<experiment_id>"
},
"name": "get_experiment_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Cursor from a previous call's next_cursor | |
| tail_lines | No | Return only the last N lines | |
| experiment_id | Yes |