Skip to main content

gameModelFunctions

List studio-defined functions for an app, optionally filtered to those attached to a container type. Requires app-admin ('manage_apps').

gameModelFunctions(
appId: BigInt!
containerTypeName: String
): [GmFunction!]!

Arguments

gameModelFunctions.appId ● BigInt! non-null scalar

The app (tenant) whose functions to list.

gameModelFunctions.containerTypeName ● String scalar

Optional: only functions bound to this container type. Omit for all functions.

Type

GmFunction object

A studio-defined function: a named, sandboxed behavior over containers (parameters, declared mutations, optional return, and an authority invoke policy).