as_logs_mcp
Retrieve the tail of the MCP server's own log file, with optional filtering by log level (e.g., ERROR or WARN).
Instructions
Return the tail of this MCP server's own log file.
Args: params (LogTailInput): lines, level (optional).
Returns: str: JSON with 'log' (text) and the source path.
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": {
"params": "<params>"
},
"name": "as_logs_mcp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |