> For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

# executeMethod

> Executes a Verto RPC method targeting a specific participant.

```ts
executeMethod<T>(target, method, args): Promise<T>
```

Executes a Verto RPC method targeting a specific participant.

Constructs call context (node\_id, call\_id, member\_id) and sends the RPC request.

## **Type Parameters**

| Type Parameter                  | Default type      |
| ------------------------------- | ----------------- |
| `T` *extends* `JSONRPCResponse` | `JSONRPCResponse` |

## **Parameters**

Target member ID string, or a MemberTarget object.

Verto method name (e.g. `'call.mute'`, `'call.member.remove'`).

Parameters for the RPC method.

## **Returns**

`Promise<T>`

The RPC response.

## **Throws**

If the RPC call returns an error.

## **Examples**

### Mute a remote member

```ts
await call.executeMethod(memberId, 'call.mute', { channels: ['audio'] });
```

### Remove a member from the call

```ts
await call.executeMethod(memberId, 'call.member.remove', {});
```

## **See**

* [`execute`](/docs/browser-sdk/v4/reference/webrtc-call/execute) — lower-level raw JSON-RPC send.