Optionalparams: unknownThe following example shows execution of an action with the id of bar-action on a my-type native object instance with a primary key of foo:
import { executeNativeObjectAction, primaryKeyUriString } from "@contextual-io/native-object-client"
const actionResponse = await executeNativeObjectAction(
primaryKeyUriString("my-type/foo"),
"bar-action",
)
Executes an action on a native object