---
updatedAt: 2026-09-01T16:18:34.000Z
---

Fetch the complete documentation index at: https://developers.wabbit.gg/llms.txt. Use this file to discover all available pages before exploring further. Append .md to any documentation page URL to get its markdown version.

# Compute

# Compute

Calculate a number from an expression and save it as a variable

## Fields

| Field        | Type                | Required | Description                              |
| ------------ | ------------------- | -------- | ---------------------------------------- |
| `expression` | string, 1-200 chars | yes      | An arithmetic expression over variables. |
| `saveAs`     | { scope, name }     | yes      | Where the numeric result is stored.      |

## Example

```json
{
  "id": "01H8XGJVBWX7Y5Z3K9M2N4P6Q1",
  "type": "compute",
  "expression": "1 + 1",
  "saveAs": {
    "scope": "run",
    "name": "result"
  }
}
```