Skip to main content

SeedFunctionInput

A function to create as part of a seed.

input SeedFunctionInput {
name: String!
containerTypeName: String
description: String
returnType: String
parameters: [FunctionParamInput!]
mutations: [FunctionMutationInput!]
returnExpression: String
invokeScope: String
invokePolicyJson: String
autonomousInvocable: Boolean
notifications: [FunctionNotificationInput!]
permissionEffects: [FunctionPermissionEffectInput!]
}

Fields

SeedFunctionInput.name ● String! non-null scalar

Function name (unique per app).

SeedFunctionInput.containerTypeName ● String scalar

Optional container type to bind to (omit for a global function).

SeedFunctionInput.description ● String scalar

Optional description of the function.

SeedFunctionInput.returnType ● String scalar

Optional declared return value type.

SeedFunctionInput.parameters ● [FunctionParamInput!] list input

Typed parameters the function accepts.

SeedFunctionInput.mutations ● [FunctionMutationInput!] list input

The property writes the function performs.

SeedFunctionInput.returnExpression ● String scalar

Optional expression whose value becomes the invoke result.

SeedFunctionInput.invokeScope ● String scalar

player | server | internal

SeedFunctionInput.invokePolicyJson ● String scalar

JSON-encoded invoke-policy rule tree (authority requirements).

SeedFunctionInput.autonomousInvocable ● Boolean scalar

Opt-in: allow an autonomous process (automation/NPC) to use this function as an entry point. Defaults to false.

SeedFunctionInput.notifications ● [FunctionNotificationInput!] list input

Declarative realtime notifications the function emits via Buddy after it commits (see notify_* effects).

SeedFunctionInput.permissionEffects ● [FunctionPermissionEffectInput!] list input

Declarative grid-permission effects (grant/revoke runtime grid ACL rows) applied atomically with the function's mutations. Max 4 per function.

Member Of

SeedGameModelInput input