smartsuite_validate_formula
Validate a SmartSuite formula expression without writing it to the app, catching syntax errors, unknown functions, or missing field references before creation or update.
Instructions
Validate a SmartSuite formula expression against an application WITHOUT writing anything (safe in any mode). Returns {valid, safe, warnings} when valid, or a descriptive error message when not (syntax errors, unknown functions, missing field references). Field references use [slug] and chain across linked/compound fields as [slug].[slug]. Use this to check a formula before creating or updating a field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formula | Yes | The formula expression, e.g. COUNT([sf1ac24c84]) or CONCAT([title], " - ", [status]) | |
| returnType | No | Optional declared output field type (e.g. textfield, numberfield, datefield, currencyfield, yesnofield). Validation works without it. | |
| applicationId | Yes | The application ID the formula will run in (field references are resolved against its schema) |