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

# Link

> MCP tools for managing links between work items.

## get\_links

Get all resolved links for an entity. Returns linked items with container code, item sequence, and item name.

| Property      |     |
| ------------- | --- |
| **Read-only** | Yes |

### Parameters

| Parameter  | Type   | Required | Description                                    |
| ---------- | ------ | -------- | ---------------------------------------------- |
| `entityId` | string | Yes      | The entity ID to get links for (e.g. item ID). |

### Returns

A list of `LinkDto` objects, each containing:

* `linkId` — unique link identifier
* `linkType` — relationship type (e.g. Blocks, Related)
* `containerCode` — container code of the linked item
* `itemId` — linked item ID
* `itemSequence` — linked item sequence number
* `itemName` — linked item name

***

## create\_link

Create a link between two items.

| Property      |    |
| ------------- | -- |
| **Read-only** | No |

### Parameters

| Parameter     | Type   | Required | Description                                   |
| ------------- | ------ | -------- | --------------------------------------------- |
| `linkType`    | string | Yes      | Relationship type (e.g. `Blocks`, `Related`). |
| `fromOwnerId` | string | Yes      | Source item ID.                               |
| `toOwnerId`   | string | Yes      | Target item ID.                               |

### Returns

The created `LinkDto`.

***

## delete\_link

Delete a link by its ID.

| Property      |    |
| ------------- | -- |
| **Read-only** | No |

### Parameters

| Parameter | Type   | Required | Description                                 |
| --------- | ------ | -------- | ------------------------------------------- |
| `linkId`  | string | Yes      | The link ID. Use [`get_links`](#get_links). |

### Returns

A confirmation message.
