> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.moveworks.com/agent-studio/configuration-languages/dsl/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 Agent 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](/agent-studio/core-platform/configuration-languages/moveworks-dsl-reference). For common examples, see [DSL Common Examples](/agent-studio/core-platform/configuration-languages/moveworks-dsl-reference/dsl-common-examples). ## Docs - [Examples: String Utils](https://docs.moveworks.com/agent-studio/configuration-languages/dsl/examples-string-utils.md)