tail_logs
Retrieve recent log entries to inspect tool invocations, pack assemblies, and governance actions. Use this to monitor activity and tune focus and governance behavior.
Instructions
Return the most recent lines from the persistent usage/debug log.
The log at ~/.contextforge/logs/contextforge.log (rotating) captures tool invocations, pack assemblies (with dropped counts, sizes, timings), entity creates, links, governance attachments, resolves, suggestions, context writes, and workspace binds. This is the primary signal for understanding real usage and tuning focus/governance behavior.
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": "tail_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | number of lines to return (default 50). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |