# format_tool_display

> **Function** in `deepagents_cli`

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

Format tool calls for display with tool-specific smart formatting.

Shows the most relevant information for each tool type rather than all arguments.

## Signature

```python
format_tool_display(
    tool_name: str,
    tool_args: dict,
) -> str
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `tool_name` | `str` | Yes | Name of the tool being called |
| `tool_args` | `dict` | Yes | Dictionary of tool arguments |

## Returns

`str`

Formatted string for display (e.g., "(*) read_file(config.py)" in ASCII mode)

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/0b13f3e0e2726fdb7bbe1e0cf88dac76dbd43b01/libs/cli/deepagents_cli/tool_display.py#L98)