Skip to Content

Utilities

Small, deterministic helpers for math, dates, text, and JSON. They’re pure functions — no configuration, no external calls, no approval, and their results are cacheable.

calculator

Evaluate math — expression mode (2 + 3 * 4, sqrt(16) + 2^3) or a legacy operation mode. Category: Function · Setup: none.

  • Inputs: expression; or legacy operation + a/b; optional precision. Supports sqrt/abs/log/sin/cos/floor/ceil/round/pow/min/max, constants pi/e/tau, operators + - * / ^ %.
calculator tool — Overview tab
calculator tool — Test tab

datetime

Date and time operations — current time, parse, format, add/subtract, diff, and more. Category: Function · Setup: none.

  • Inputs: operation (now, parse, format, add, subtract, diff, start_of, end_of, day_of_week, to_timestamp, from_timestamp, …), plus datetime/datetime2, format, timezone, unit, value.
datetime tool — Overview tab
datetime tool — Test tab

text_transform

Manipulate text — case conversion, trim, replace, regex, split/join, slug, hashing. Category: Function · Setup: none.

  • Inputs: operation (uppercase, lowercase, titlecase, trim, replace, regex_replace, split, join, slug, snake_case, hash_sha256, …), plus text (or an artifact_id), pattern, replacement, separator.
text_transform tool — Overview tab
text_transform tool — Test tab

json_tools

Work with JSON — parse, stringify, path get/set/delete, merge, flatten, filter, validate. Category: Function · Setup: none.

  • Inputs: operation (parse, stringify, pretty_print, get, set, merge, flatten, filter, validate, diff, …), plus json (or an artifact_id), json2, path, value, indent.
json_tools tool — Overview tab
json_tools tool — Test tab
💡

These pair well with data tools — run a db_query, then reshape the result with json_tools or format a value with text_transform before passing it downstream.