> ## Documentation Index
> Fetch the complete documentation index at: https://fastmcp-ts.docs.prefect.io/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/e4b6038f642b529f601463a576229747afebe9a4/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`
