---
id: "P:cAlgo.API.Command.ToolTip"
kind: "property"
type: "T:cAlgo.API.Command"
url: "https://help.ctrader.com/ctrader-algo/references/Plugin/Commands/Command/ToolTip/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# Command.ToolTip

Member of [Command](https://help.ctrader.com/ctrader-algo/references/Plugin/Commands/Command/index.md).

## ToolTip

Gets / sets command tooltips.

Environments: Desktop supported · CLI not supported · Cloud not supported.

- CLI: Available to plugins only, and plugins cannot run in the CLI.
- Cloud: Available to plugins only, and plugins cannot run in the cloud.

C#:

```csharp
string ToolTip {get; set;}
```

Python:

```python
command.ToolTip: str
```

### Returns

`string` — 

### Examples

C#:

```csharp
var command = Commands.Add(CommandType.ChartContainerToolbar, args => Print("Command executed"));
command.ToolTip = "Show account summary";
Print("Command tooltip: {0}", command.ToolTip);
```

Python:

```python
from System import Action
command = api.Commands.Add(CommandType.ChartContainerToolbar, Action[CommandArgs](lambda args: api.Print("Command executed")))
command.ToolTip = "Show account summary"
api.Print(f"Command tooltip: {command.ToolTip}")
```

