Unity · Arazzo Workflow

Unity Cloud Code Deploy and Run

Version 1.0.0

Create a JavaScript Cloud Code script, confirm it deployed, then execute it with parameters.

1 workflow 1 source API 1 provider
View Spec View on GitHub Game DevelopmentReal-Time 3DMultiplayerGame ServicesCloud GamingArazzoWorkflows

Provider

unity

Workflows

cloudcode-deploy-and-run
Create a Cloud Code script, verify deployment, and execute it.
Creates a JavaScript script, reads it back to confirm deployment, then runs it with the supplied parameters.
3 steps inputs: accessToken, code, projectId, runParams, scriptName outputs: output, scriptName
1
createScript
createScript
Create a new JavaScript Cloud Code script with the supplied name and code.
2
getScript
getScript
Read the script back to confirm it deployed and to surface its active version.
3
runScript
runScript
Execute the script with the supplied parameters and capture its output.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Unity Cloud Code Deploy and Run
  summary: Create a JavaScript Cloud Code script, confirm it deployed, then execute it with parameters.
  description: >-
    The author-to-execution loop for Unity Cloud Code. The workflow creates a
    new JavaScript script, reads the script back to confirm it deployed and to
    surface its active version, and then runs the script with a parameter
    payload, capturing the execution output. Every step spells out its request
    inline so the flow can be read and executed without opening the underlying
    OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: cloudCodeApi
  url: ../openapi/unity-cloud-code-openapi.yml
  type: openapi
workflows:
- workflowId: cloudcode-deploy-and-run
  summary: Create a Cloud Code script, verify deployment, and execute it.
  description: >-
    Creates a JavaScript script, reads it back to confirm deployment, then runs
    it with the supplied parameters.
  inputs:
    type: object
    required:
    - accessToken
    - projectId
    - scriptName
    - code
    properties:
      accessToken:
        type: string
        description: Bearer JWT for the service account deploying the script.
      projectId:
        type: string
        description: The Unity project identifier.
      scriptName:
        type: string
        description: Unique name for the script within the project.
      code:
        type: string
        description: The JavaScript code for the script.
      runParams:
        type: object
        description: Parameters to pass to the script at execution time.
  steps:
  - stepId: createScript
    description: >-
      Create a new JavaScript Cloud Code script with the supplied name and code.
    operationId: createScript
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: projectId
      in: path
      value: $inputs.projectId
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.scriptName
        language: JS
        code: $inputs.code
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      createdName: $response.body#/name
  - stepId: getScript
    description: >-
      Read the script back to confirm it deployed and to surface its active
      version.
    operationId: getScript
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: projectId
      in: path
      value: $inputs.projectId
    - name: scriptName
      in: path
      value: $steps.createScript.outputs.createdName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      language: $response.body#/language
      activeScript: $response.body#/activeScript
  - stepId: runScript
    description: >-
      Execute the script with the supplied parameters and capture its output.
    operationId: runScript
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: projectId
      in: path
      value: $inputs.projectId
    - name: scriptName
      in: path
      value: $steps.createScript.outputs.createdName
    requestBody:
      contentType: application/json
      payload:
        params: $inputs.runParams
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      output: $response.body#/output
  outputs:
    scriptName: $steps.createScript.outputs.createdName
    output: $steps.runScript.outputs.output

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/unity-cloudcode-deploy-and-run-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.