diagnose
Investigate application and server issues across Coolify instances. Run fleet scans, retrieve logs, and analyze runtime patterns to identify root causes.
Instructions
Synthesizes diagnose views for applications and servers, or runs a global fleet scan. Actions: app(query?, uuid?, name?, domain?, limit?) · server(query?, uuid?, name?, ip?, trigger_validate?) · scan(format?, page?, per_page?) · logs(query?, uuid?, name?, domain?, mode?, deployment_uuid?, lines?, offset?, include_hidden?, type?, format?, max_chars?, instance?) · analyze(query?, uuid?, name?, domain?, deployment_uuid?, lines?, offset?, max_chars?, instance?) — pattern triage on runtime logs (advisory) Safety: confirm for destructive ops · analyze is advisory-only (no restart/redeploy/rollback) · optional instance · reveal opt-in only
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | Explicit server IP substring | |
| mode | No | full = diagnose triage + logs (default); logs-only = skip diagnose | full |
| name | No | Explicit name substring | |
| page | No | Page number for pagination | |
| type | No | Filter build-logs entries by type (default all — no filter). Applies only to the deployment_uuid (build-logs) path; ignored on runtime logs path. | |
| uuid | No | Explicit resource UUID | |
| limit | No | Max recent deployments to include (default 10, max 50) | |
| lines | No | Number of log lines to retrieve | |
| query | No | Fuzzy query string (UUID, name, or FQDN/IP) | |
| action | Yes | The action to run | |
| domain | No | Explicit application FQDN substring | |
| format | No | Output format style | |
| offset | No | Skip first K lines of the log blob before applying lines (runtime or build) | |
| reveal | No | Reveal sensitive/masked values in full projection (default false — secrets masked as ***) | |
| instance | No | Coolify instance name from registry (optional — uses env credentials or registry default) | |
| per_page | No | Items per page | |
| max_chars | No | Maximum characters in response before truncation | |
| projection | No | Detail projection depth | |
| include_full | No | Alias for projection: full | |
| include_hidden | No | Include entries with hidden:true in build-logs output (default false — hidden entries are filtered out) | |
| deployment_uuid | No | Fetch build logs for this deployment only (XOR with runtime identifiers) | |
| trigger_validate | No | Triggers non-blocking server verification (D-10) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| _meta | No | ||
| error | No | ||
| _size_warning | No | ||
| _formattedText | No |