Skip to main content

gameModelFunction

Fetch one studio-defined function by name. Requires app-admin ('manage_apps').

gameModelFunction(
appId: BigInt!
name: String!
): GmFunction!

Arguments

gameModelFunction.appId ● BigInt! non-null scalar

The app (tenant) that owns the function.

gameModelFunction.name ● String! non-null scalar

The function name to fetch.

Type

GmFunction object

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