---
title: "codespar logs"
description: "Inspect tool-call execution logs"
---

Inspect tool-call execution logs

1 command in `@codespar/cli 0.16.0`.

Each one prints what its operation answered. [What a command prints](/docs/cli/reference#what-a-command-prints) has the rule, and [Configuration](/docs/cli/config#what-a-script-gets-when-a-command-fails) has the exit codes and the shape of a failure.

### `codespar logs tail`

Show recent tool calls; with --follow, poll for new ones

```bash
codespar logs tail [options]
```

| option | what it does |
|---|---|
| `-s, --server <id>` | Keep only this server (applied to the page fetched) |
| `--status <s>` | Keep only this status (applied to the page fetched) |
| `-t, --tool <name>` | Keep only this tool (applied to the page fetched) |
| `--limit <n>` | How many recent calls to read (default 20) |
| `-f, --follow` | Keep polling for new calls until interrupted |
