Topic
Scripting
Explore the data types and operations available in Scripting.
69 operations
Publish current template content as a new version. Requires template:write permission.
renderSchemaXMLQueryRender JSON Schema as native XML without dropping unsupported keywords or changing a saved document.
renderTemplateMutationRender a template with context data. Requires template:execute permission.
restoreScriptVersionMutationPut an old version's source back on the script. Appends a new version rather than rewinding history. The name and role are not restored, only the source. Requires script:write permission.
restoreTemplateVersionMutationRestore template content from a previous version. Requires template:write permission.
schemaAuthoringCatalogQueryCompiler-owned vocabulary for the standalone XML JSON Schema dialect, including native form annotations.
searchHelpQuerySearch human-facing manuals using shared semantic and text retrieval.
testMCPToolMutationRun the current draft as the authenticated developer; also requires mcpTool:read.
updateCustomWorkflowActionMutationUpdate a custom action. Only provided fields are changed. Requires customWorkflowAction:write permission.
updateMCPToolMutationUpdate a tool definition. Requires mcpTool:write.
updateScriptMutationUpdate a script. Only provided fields are changed. Requires script:write permission.
updateTemplateMutationUpdate a template. Only provided fields are changed. Requires template:write permission.
upsertCustomWorkflowActionMutationCreate a custom action, or overwrite an existing one when input.id is supplied. Overwrite semantics: omitted optional fields are written as null, unlike updateCustomWorkflowAction. Requires customWorkflowAction:write permission.
upsertMCPToolMutationUpsert a tool definition. Requires mcpTool:write.
upsertScriptMutationCreate or update a script. Requires script:write permission.
upsertTemplateMutationCreate or update a template. Requires template:write permission.
validateLuaMutationType-check Lua source against the ambient typedef for the chosen role without persisting anything. Safe to call from editors on every keystroke.
validateLuaScriptMutationValidate a Lua script for syntax errors. Requires script:execute permission.
validateTemplateMutationValidate template syntax without saving. Requires template:read permission.