get_logs
Fetch log snapshots for a Coolify resource—application, database, or service—to troubleshoot and monitor issues. Specify resource UUID and line count for targeted log retrieval.
Instructions
Fetch a log snapshot for a Coolify resource. • application: uses GET /applications/{uuid}/logs?lines= (REST API). • database / service: requires --enable-host-ops; the docker logs fallback is wired in Task 31.
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": {
"kind": "<kind>",
"uuid": "<uuid>"
},
"name": "get_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Resource type whose logs to fetch. | |
| uuid | Yes | Resource UUID. | |
| lines | No | Number of log lines to retrieve (default 100). Applies to application kind. | |
| instance | No | Coolify instance name (omit for the default). |