Tail Gateway Logs
clawops_logs_tailRetrieve recent gateway log lines from a managed instance to investigate activity or errors and determine what has been happening on the gateway.
Instructions
Tail recent gateway logs from a clawops-managed instance.
Use when: the user wants to investigate recent activity or errors, or asks "what's been happening" on the gateway.
Do NOT use when: the user wants real-time streaming logs (those are not
well-suited to tool calls; suggest the user run clawops logs -f directly
in their terminal). Do NOT use for instance-level system logs: no tool runs
arbitrary remote commands, so tell the user to run clawops ssh --command 'journalctl ...' themselves.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sinceMin | No | Lines since N minutes ago | |
| stackName | No | Which stack's gateway to read. Omitted = the default stack in ~/.clawops/config.json | |
| tailLines | No | How many of the most recent lines to return. Keep it small; output is trimmed to 8KB regardless |