Topic

Scripting

Explore the data types and operations available in Scripting.

69 operations

publishTemplateVersionMutation

Publish current template content as a new version. Requires template:write permission.

renderSchemaXMLQuery

Render JSON Schema as native XML without dropping unsupported keywords or changing a saved document.

renderTemplateMutation

Render a template with context data. Requires template:execute permission.

restoreScriptVersionMutation

Put 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.

restoreTemplateVersionMutation

Restore template content from a previous version. Requires template:write permission.

schemaAuthoringCatalogQuery

Compiler-owned vocabulary for the standalone XML JSON Schema dialect, including native form annotations.

searchHelpQuery

Search human-facing manuals using shared semantic and text retrieval.

testMCPToolMutation

Run the current draft as the authenticated developer; also requires mcpTool:read.

updateCustomWorkflowActionMutation

Update a custom action. Only provided fields are changed. Requires customWorkflowAction:write permission.

updateMCPToolMutation

Update a tool definition. Requires mcpTool:write.

updateScriptMutation

Update a script. Only provided fields are changed. Requires script:write permission.

updateTemplateMutation

Update a template. Only provided fields are changed. Requires template:write permission.

upsertCustomWorkflowActionMutation

Create 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.

upsertMCPToolMutation

Upsert a tool definition. Requires mcpTool:write.

upsertScriptMutation

Create or update a script. Requires script:write permission.

upsertTemplateMutation

Create or update a template. Requires template:write permission.

validateLuaMutation

Type-check Lua source against the ambient typedef for the chosen role without persisting anything. Safe to call from editors on every keystroke.

validateLuaScriptMutation

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

validateTemplateMutation

Validate template syntax without saving. Requires template:read permission.