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

# Pick Item

> Selects specific items from a list based on index or random selection

Selects specific items from a list based on index or random selection

| | |
| - | - |
| **App** | List Tools |
| **Operation ID** | `list_pick_item` |
| **Type** | Action |
| **Connection** | None |
| **Credits per run** | Free |

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `list` | array (also accepts a comma-separated string) | Yes | - | Select the list to pick an item from |
| `pick_mode` | string or SelectableOption | Yes | - | Choose how to pick the item from the list. Available options: 'first' (First Item), 'last' (Last Item), 'random' (Random Item), 'custom' (Custom Index) |
| `custom_index` | integer | No | - | Specify the index position of the item to pick (0-based indexing). Use only if pick\_mode is set to 'custom'. |

### SelectableOption

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `value` | string | Yes | - | |
| `label` | string | Yes | - | |

## Output

**Type**: `Any`

Returns selected item(s) from the list.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.