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

# prompt.resourceLink

```typescript
resourceLink(uri: string, name: string, options?: ResourceOptions & { description: string; title: string }): CognitionContentBlock
```

A `resource_link` block: a reference by URI whose content is not embedded.
The cloud agent renders it as a text mention; the local agent resolves
`file://` links against the workspace.

## Parameters

**uri** `string` *required*

**name** `string` *required*

**options** `ResourceOptions & \{ description: string; title: string \}`

**Type:** `ResourceOptions & { description: string; title: string }`

## Returns

`CognitionContentBlock`


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