> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tapkit.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Double Tap by Description

> Double tap an element using natural language description

Double tap an element on screen by describing it in natural language. Uses vision AI to find and double tap the described element.

## Request

```bash theme={null}
curl -X POST https://api.tapkit.ai/v1/phones/{phone_id}/double-tap/select \
  -H "X-API-Key: joot_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"selector": "the photo to zoom in"}'
```

### Path Parameters

| Parameter  | Type     | Description          |
| ---------- | -------- | -------------------- |
| `phone_id` | `string` | The phone identifier |

### Query Parameters

| Parameter | Type      | Default | Description                    |
| --------- | --------- | ------- | ------------------------------ |
| `async`   | `boolean` | `false` | Return immediately with job ID |

### Request Body

```json theme={null}
{
  "selector": "the photo to zoom in"
}
```

| Field      | Type     | Description                                               |
| ---------- | -------- | --------------------------------------------------------- |
| `selector` | `string` | Natural language description of the element to double tap |

## Response

### Synchronous

```json theme={null}
{
  "id": "job_abc123",
  "status": "completed",
  "result": {},
  "created_at": "2024-01-15T10:30:00Z",
  "completed_at": "2024-01-15T10:30:02Z"
}
```

### Asynchronous

```json theme={null}
{
  "job_id": "job_abc123"
}
```

## Examples

### Zoom In on an Image

```bash theme={null}
curl -X POST https://api.tapkit.ai/v1/phones/abc123/double-tap/select \
  -H "X-API-Key: joot_..." \
  -H "Content-Type: application/json" \
  -d '{"selector": "the map to zoom in"}'
```

### SDK Usage

The Python SDK provides this through the `double_tap()` method with a string argument:

```python theme={null}
phone.double_tap("the photo to zoom in")
phone.double_tap("the map")
phone.double_tap("the text I want to select")
```

## Related Endpoints

* [Double Tap](/api-reference/phones/double-tap) - Double tap at specific coordinates
* [Tap by Description](/api-reference/phones/tap-select) - Single tap using natural language
