> ## Documentation Index
> Fetch the complete documentation index at: https://colin-feat-client-cache-mode.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# actionRef

```ts theme={null}
function actionRef(name): string;
```

Defined in: [server/apps/actionRef.ts:10](https://github.com/PrefectHQ/fastmcp-ts/blob/8976c37f79efa6b87809b884f29a1f235a8c4ad1/src/server/apps/actionRef.ts#L10)

Resolve a logical tool name to its current external name inside a request
handler, accounting for any mount prefix applied by a parent server.

Use this in providers that are built on bare FastMCP (not FastMCPApp) to
produce mount-prefix–aware action strings for Button components.

## Parameters

### name

`string`

## Returns

`string`
