# ComputerToolResource Properties

- Package: [Aspire.Hosting.Foundry](/reference/api/csharp/aspire.hosting.foundry.md)
- Type: [ComputerToolResource](/reference/api/csharp/aspire.hosting.foundry/computertoolresource.md)
- Kind: `Properties`
- Members: `3`

A Foundry tool resource that enables an agent to interact with a computer desktop by taking screenshots, moving the mouse, clicking, and typing.

## DisplayHeight

- Name: `DisplayHeight`
- Modifiers: `get`
- Returns: `int`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Foundry/ToolResources/BuiltInToolDefinitions.cs#L161)

Gets the height of the display in pixels.

```csharp
public int DisplayHeight { get; }
```

## DisplayWidth

- Name: `DisplayWidth`
- Modifiers: `get`
- Returns: `int`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Foundry/ToolResources/BuiltInToolDefinitions.cs#L156)

Gets the width of the display in pixels.

```csharp
public int DisplayWidth { get; }
```

## Environment

- Name: `Environment`
- Modifiers: `get`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Foundry/ToolResources/BuiltInToolDefinitions.cs#L166)

Gets the environment identifier.

```csharp
public string Environment { get; }
```
