Skip to content

deployment_service_logs

Read recent runtime logs for a service.

Tool

deployment_service_logs

Read recent runtime logs for a service.

Snapshot the last N runtime log lines for a service. Use it to inspect application output after a deployment or to diagnose a crash.

Arguments

Name
Type
Required
Description
serviceId
uuid
•
Service whose logs to read.
tail
integer
—
How many trailing log lines to return (1–2000).

Try it

Show me the last 200 log lines for the api service.

When to use

Snapshot the last N runtime log lines for a service. Use it to inspect application output after a deployment or to diagnose a crash.

Example

Ask your agent something like this:

Show me the last 200 log lines for the api service.

The agent will invoke deployment_service_logs with these arguments:

{
  "serviceId": "svc-uuid",
  "tail": 200
}

Esc

Start typing to search the docs.

↑↓navigate↵select