---
title: logs
url: /docs/ai-agents/mcp-tools/logs/logs/
canonical_url: https://blossom88.com/docs/ai-agents/mcp-tools/logs/logs/
markdown_url: https://blossom88.com/docs/ai-agents/mcp-tools/logs/logs.md
summary: Read recent log lines from an Environment's or Service's Containers,
  newest last.
categories:
  - mcp
  - reference
---

# logs

Read recent log lines from an Environment's or Service's Containers, newest last. Use it to see why something is failing or slow.

| | |
|---|---|
| Access | Read only |
| Same as | [`blossom logs`](/docs/reference/cli/logs/) |

## Arguments

| Argument | Type | Description |
|---|---|---|
| `environment` | string | Environment id; its web process by default. |
| `service` | string | Service id; alternative to environment. |
| `process` | string | Process name, such as web or worker. |
| `lines` | integer | Recent lines to return; default 20. |

## Example

```json
{}
```
