# format_tool_warning_cli

> **Function** in `deepagents_cli`

📖 [View in docs](https://reference.langchain.com/python/deepagents-cli/main/format_tool_warning_cli)

Format a missing-tool warning for non-interactive console output.

## Signature

```python
format_tool_warning_cli(
    tool: str,
) -> str
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `tool` | `str` | Yes | Name of the missing tool. |

## Returns

`str`

Warning string suitable for `console.print`.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/829909166606f8a9d9571b00da725845bad08da7/libs/cli/deepagents_cli/main.py#L177)