> This page is for API Reference & Tools.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.moveworks.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.moveworks.com/_mcp/server.

# DSL

DSL (Domain Specific Language) is used for writing rules, conditions, and single-value expressions across Tool Studio. You'll use it in validation policies, conditional logic in compound actions, and anywhere you need a boolean expression or computed value.

## Common Patterns

**Date validation** — check if a value is in the future:

```
$PARSE_TIME(value) >= $TIME()
```

**String concatenation** — build a full name:

```
$CONCAT([data.first_name, " ", data.last_name])
```

**Conditional expression** — return different values based on a flag:

```
IF data.is_vip THEN 'Priority' ELSE 'Standard'
```

**List operations** — count active items:

```
data.items.$FILTER(i => i.status == 'active').$LENGTH()
```

> **Info**
>
> For the complete operator reference, data types, and function list, see the [DSL Reference](/api-reference/configuration-languages/moveworks-dsl-reference). For common examples, see [DSL Common Examples](/api-reference/configuration-languages/moveworks-dsl-reference/dsl-common-examples).