openclaw_logs
Retrieve and filter recent logs from the OpenClaw server: gateway, agent execution, or system journal. Specify line count and keyword for targeted results.
Instructions
View recent logs from the OpenClaw server: gateway logs, agent execution logs, or system journal. Supports line count and keyword filtering.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Custom log file path on the server (only used when source="custom"). | |
| lines | No | Number of log lines to return (default: 50). | |
| filter | No | Filter log lines by keyword (grep -i). Only lines matching this pattern are returned. | |
| source | No | Log source: "gateway" (OpenClaw gateway), "agent" (last agent run), "system" (systemd journal), "custom" (specify path). | gateway |