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

# rpcSurface()

> **rpcSurface**(`instance`): `ReadonlyMap`\<`string`, [`RpcOptions`](/docs/agent-sdk/interface/rpc#rpcoptions)>

The effective remote surface of a constructed agent instance: method name →
the `RpcOptions` it was decorated with, for exactly the names a remote
`call` frame could dispatch. Names the dispatcher would reject are excluded
even if decorated: reserved hooks, `_`-prefixed names, and names whose
resolved callable is not the decorated function (e.g. an undecorated
subclass override).

Returns a fresh snapshot on every call — mutating it has no effect on
dispatch.

**Parameters**

| Parameter | Type |
| - | - |
| `instance` | `object` |

**Returns**

`ReadonlyMap`\<`string`, [`RpcOptions`](/docs/agent-sdk/interface/rpc#rpcoptions)>
