get_log_tail
Read recent FEAGI log records from the in-process ring buffer, filtered by severity, target, timestamp, or message substring for runtime debugging.
Instructions
Recent FEAGI log records (/v1/system/log_tail).
Reads the in-process tracing ring buffer maintained by feagi-observability.
Returns enabled=False when the running FEAGI build never installed the
buffer or FEAGI_LOG_RING_BUFFER_CAPACITY is set to 0; in that case the
response carries a hint describing how to turn it on. An enabled=False
result will not change on retry — read the FEAGI process stdout instead.
Always pass message_contains when looking for a specific event
(isvi, SegmentedVision, auto-create). An unfiltered dump is
large and hides the matching lines.
Args:
level: Minimum severity (TRACE/DEBUG/INFO/WARN/ERROR).
target_prefix: Restrict to tracing targets starting with this prefix
(e.g. feagi_npu or burst_loop).
since_ts_ms: Unix-ms cutoff; only returns records emitted at or after this
timestamp.
limit: Cap on returned record count (most recent records win). Default 200,
at most 1000. The reply is also capped at about 60 KB and long messages are
clipped; truncated says when that happened.
message_contains: Case-insensitive substring of the log message. Applied
on FEAGI and again locally so the agent never receives an unfiltered
ring dump.
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": "get_log_tail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | ||
| limit | No | ||
| since_ts_ms | No | ||
| target_prefix | No | ||
| message_contains | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||