โ† API reference
Mutation / scripting

validateLuaScript

Validate a Lua script for syntax errors. Requires script:execute permission.

Arguments

scriptString!

Lua source code to validate

Returns ValidateScriptPayload!

Scalar fields at a glance

successBoolean!
โ†— View the complete ValidateScriptPayload type

Explore in a view

Scripting
View exact SDL
"""
Validate a Lua script for syntax errors. Requires script:execute permission.
"""
validateLuaScript(
  """Lua source code to validate"""
  script: String!
): ValidateScriptPayload! @topic(names: ["scripting"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.