get_recent_logs
Tails the last N lines from a log file or a named service defined in .mcp-context.yml, helping you inspect recent activity and troubleshoot issues.
Instructions
Tail the last N lines of a log file or a named service defined in .mcp-context.yml
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_recent_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Absolute or relative path to a log file | |
| lines | No | Number of lines to return | |
| service | No | Service name as defined in .mcp-context.yml |