TinyFn

v1.0.2
io.tinyfn/tinyfn Checked 4 days ago Published 5 months ago

500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

is_even

Check if a number is even.

ParameterTypeDescription
number *integerThe number to check

is_odd

Check if a number is odd.

ParameterTypeDescription
number *integerThe number to check

is_prime

Check if a number is prime.

ParameterTypeDescription
number *integerThe number to check

is_positive

Check if a number is positive.

ParameterTypeDescription
number *numberThe number to check

is_negative

Check if a number is negative.

ParameterTypeDescription
number *numberThe number to check

is_zero

Check if a number is zero.

ParameterTypeDescription
number *numberThe number to check

is_integer

Check if a number is an integer.

ParameterTypeDescription
number *numberThe number to check

is_divisible

Check if a number is divisible by another number.

ParameterTypeDescription
divisor *integerThe divisor
number *integerThe number to check

is_perfect_square

Check if a number is a perfect square.

ParameterTypeDescription
number *integerThe number to check

is_fibonacci

Check if a number is a Fibonacci number.

ParameterTypeDescription
number *integerThe number to check

factorial

Calculate the factorial of a number.

ParameterTypeDescription
number *integerThe number (0-170)

fibonacci

Get the nth Fibonacci number.

ParameterTypeDescription
n *integerPosition in sequence (0-1000)

gcd

Calculate the greatest common divisor.

ParameterTypeDescription
a *integerFirst number
b *integerSecond number

lcm

Calculate the least common multiple.

ParameterTypeDescription
a *integerFirst number
b *integerSecond number

absolute_value

Get the absolute value of a number.

ParameterTypeDescription
number *numberThe number

square_root

Calculate the square root of a number.

ParameterTypeDescription
number *numberThe number

power

Calculate base raised to the power of exponent.

ParameterTypeDescription
base *numberThe base
exponent *numberThe exponent

percentage

Calculate what percentage value is of total.

ParameterTypeDescription
total *numberThe total
value *numberThe value

average

Calculate the average of a list of numbers.

ParameterTypeDescription
numbers *stringComma-separated numbers

round_number

Round a number to specified decimal places.

ParameterTypeDescription
number *numberThe number to round
decimalsintegerNumber of decimal places

clamp

Clamp a number within a range.

ParameterTypeDescription
maximum *numberMaximum value
minimum *numberMinimum value
number *numberThe number to clamp

distance

Calculate Euclidean distance between two points.

ParameterTypeDescription
x1 *numberX coordinate of point 1
x2 *numberX coordinate of point 2
y1 *numberY coordinate of point 1
y2 *numberY coordinate of point 2

sin

Calculate the sine of an angle.

ParameterTypeDescription
angle *numberAngle in radians

cos

Calculate the cosine of an angle.

ParameterTypeDescription
angle *numberAngle in radians

tan

Calculate the tangent of an angle.

ParameterTypeDescription
angle *numberAngle in radians

deg_to_rad

Convert degrees to radians.

ParameterTypeDescription
degrees *numberAngle in degrees

rad_to_deg

Convert radians to degrees.

ParameterTypeDescription
radians *numberAngle in radians

add

Add two or more numbers together.

ParameterTypeDescription
numbers *stringComma-separated numbers to add

subtract

Subtract b from a.

ParameterTypeDescription
a *numberFirst number
b *numberNumber to subtract

multiply

Multiply two or more numbers together.

ParameterTypeDescription
numbers *stringComma-separated numbers to multiply

divide

Divide a by b.

ParameterTypeDescription
a *numberDividend (number to be divided)
b *numberDivisor (number to divide by)

modulo

Calculate a modulo b (remainder of a divided by b).

ParameterTypeDescription
a *numberDividend
b *numberDivisor

log

Calculate logarithm. Natural log if no base specified.

ParameterTypeDescription
number *numberNumber (must be positive)
baseBase (default: natural log)

log10

Calculate base-10 logarithm.

ParameterTypeDescription
number *numberNumber (must be positive)

log2

Calculate base-2 logarithm.

ParameterTypeDescription
number *numberNumber (must be positive)

exp

Calculate e raised to the power of number.

ParameterTypeDescription
number *numberExponent

floor

Round down to nearest integer.

ParameterTypeDescription
number *numberNumber to floor

ceil

Round up to nearest integer.

ParameterTypeDescription
number *numberNumber to ceil

minimum

Find the minimum value.

ParameterTypeDescription
numbers *stringComma-separated numbers

maximum

Find the maximum value.

ParameterTypeDescription
numbers *stringComma-separated numbers

sum_numbers

Calculate the sum of numbers.

ParameterTypeDescription
numbers *stringComma-separated numbers

sign

Get the sign of a number (-1, 0, or 1).

ParameterTypeDescription
number *numberNumber to check

truncate

Truncate to integer (remove decimal part).

ParameterTypeDescription
number *numberNumber to truncate

hypotenuse

Calculate the hypotenuse of a right triangle.

ParameterTypeDescription
a *numberLength of side a
b *numberLength of side b

cube

Calculate the cube of a number.

ParameterTypeDescription
number *numberNumber to cube

cube_root

Calculate the cube root of a number.

ParameterTypeDescription
number *numberNumber to find cube root of

square

Calculate the square of a number.

ParameterTypeDescription
number *numberNumber to square

nth_root

Calculate the nth root of a number.

ParameterTypeDescription
n *integerRoot degree
number *numberNumber to find root of

compare

Compare two numbers (e.g., is 0.9 greater than 0.11?).

ParameterTypeDescription
a *numberFirst number
b *numberSecond number

compare_decimals

Compare decimal numbers with detailed explanation (handles 0.9 vs 0.11 correctly).

ParameterTypeDescription
a *stringFirst decimal number as string
b *stringSecond decimal number as string

rank_numbers

Rank a list of numbers from largest to smallest (or vice versa).

ParameterTypeDescription
numbers *stringComma-separated numbers to rank
orderstringOrder: 'asc' (smallest first) or 'desc' (largest first)

is_between

Check if a number is between two bounds.

ParameterTypeDescription
lower *numberLower bound
number *numberNumber to check
upper *numberUpper bound
inclusivebooleanInclude bounds in range

reverse_string

Reverse a string.

ParameterTypeDescription
text *stringThe text to reverse

uppercase

Convert text to uppercase.

ParameterTypeDescription
text *stringThe text to uppercase

lowercase

Convert text to lowercase.

ParameterTypeDescription
text *stringThe text to lowercase

capitalize

Capitalize the first letter of each word.

ParameterTypeDescription
text *stringThe text to capitalize

title_case

Convert text to title case.

ParameterTypeDescription
text *stringThe text to title case

sentence_case

Convert text to sentence case.

ParameterTypeDescription
text *stringThe text to sentence case

camel_case

Convert text to camelCase.

ParameterTypeDescription
text *stringThe text to convert

snake_case

Convert text to snake_case.

ParameterTypeDescription
text *stringThe text to convert

kebab_case

Convert text to kebab-case.

ParameterTypeDescription
text *stringThe text to convert

pascal_case

Convert text to PascalCase.

ParameterTypeDescription
text *stringThe text to convert

string_length

Get the length of a string.

ParameterTypeDescription
text *stringThe text to measure

word_count

Count words in text.

ParameterTypeDescription
text *stringThe text to count words in

trim

Trim whitespace from text.

ParameterTypeDescription
text *stringThe text to trim

truncate_2

Truncate text to a specified length.

ParameterTypeDescription
text *stringThe text to truncate
lengthintegerMaximum length
suffixstringSuffix to add if truncated

pad

Pad text to a specified length.

ParameterTypeDescription
length *integerTarget length
text *stringThe text to pad
charstringPadding character
sidestringSide to pad (left, right, both)

repeat

Repeat text a specified number of times.

ParameterTypeDescription
text *stringThe text to repeat
times *integerNumber of repetitions
separatorstringSeparator between repetitions

replace

Replace occurrences in text.

ParameterTypeDescription
search *stringText to search for
text *stringThe original text
replacementstringReplacement text

contains

Check if text contains a substring.

ParameterTypeDescription
search *stringThe text to search for
text *stringThe text to search in
case_sensitivebooleanCase sensitive search

starts_with

Check if text starts with a prefix.

ParameterTypeDescription
prefix *stringThe prefix to look for
text *stringThe text to check

ends_with

Check if text ends with a suffix.

ParameterTypeDescription
suffix *stringThe suffix to look for
text *stringThe text to check

split

Split text by delimiter.

ParameterTypeDescription
text *stringThe text to split
delimiterstringDelimiter to split by

join

Join items with a delimiter.

ParameterTypeDescription
items *stringComma-separated items to join
delimiterstringDelimiter to join with

slug

Convert text to URL-friendly slug.

ParameterTypeDescription
text *stringThe text to slugify

is_palindrome

Check if text is a palindrome.

ParameterTypeDescription
text *stringThe text to check
ignore_casebooleanIgnore case
ignore_spacesbooleanIgnore spaces

count_char

Count occurrences of a character (e.g., how many 'r' in 'strawberry').

ParameterTypeDescription
char *stringCharacter to count
text *stringThe text to search in
case_sensitivebooleanCase sensitive counting

count_substring

Count occurrences of a substring.

ParameterTypeDescription
substring *stringSubstring to count
text *stringThe text to search in
case_sensitivebooleanCase sensitive counting
overlappingbooleanCount overlapping occurrences

count_all_chars

Count occurrences of each character in text.

ParameterTypeDescription
text *stringThe text to analyze

remove_whitespace

Remove all whitespace from text.

ParameterTypeDescription
text *stringThe text to process

normalize_whitespace

Normalize whitespace (multiple spaces to single).

ParameterTypeDescription
text *stringThe text to normalize

is_empty

Check if text is empty or whitespace only.

ParameterTypeDescription
textstringThe text to check

extract_numbers

Extract all numbers from text.

ParameterTypeDescription
text *stringThe text to extract from

extract_emails

Extract all email addresses from text.

ParameterTypeDescription
text *stringThe text to extract from

extract_urls

Extract all URLs from text.

ParameterTypeDescription
text *stringThe text to extract from

celsius_to_fahrenheit

Convert Celsius to Fahrenheit.

ParameterTypeDescription
celsius *numberTemperature in Celsius

fahrenheit_to_celsius

Convert Fahrenheit to Celsius.

ParameterTypeDescription
fahrenheit *numberTemperature in Fahrenheit

celsius_to_kelvin

Convert Celsius to Kelvin.

ParameterTypeDescription
celsius *numberTemperature in Celsius

kelvin_to_celsius

Convert Kelvin to Celsius.

ParameterTypeDescription
kelvin *numberTemperature in Kelvin

meters_to_feet

Convert meters to feet.

ParameterTypeDescription
meters *numberLength in meters

feet_to_meters

Convert feet to meters.

ParameterTypeDescription
feet *numberLength in feet

kilometers_to_miles

Convert kilometers to miles.

ParameterTypeDescription
kilometers *numberLength in kilometers

miles_to_kilometers

Convert miles to kilometers.

ParameterTypeDescription
miles *numberLength in miles

inches_to_centimeters

Convert inches to centimeters.

ParameterTypeDescription
inches *numberLength in inches

centimeters_to_inches

Convert centimeters to inches.

ParameterTypeDescription
centimeters *numberLength in centimeters

kilograms_to_pounds

Convert kilograms to pounds.

ParameterTypeDescription
kilograms *numberWeight in kilograms

pounds_to_kilograms

Convert pounds to kilograms.

ParameterTypeDescription
pounds *numberWeight in pounds

ounces_to_grams

Convert ounces to grams.

ParameterTypeDescription
ounces *numberWeight in ounces

grams_to_ounces

Convert grams to ounces.

ParameterTypeDescription
grams *numberWeight in grams

stone_to_kilograms

Convert stone to kilograms.

ParameterTypeDescription
stone *numberWeight in stone

liters_to_gallons_us

Convert liters to US gallons.

ParameterTypeDescription
liters *numberVolume in liters

gallons_us_to_liters

Convert US gallons to liters.

ParameterTypeDescription
gallons *numberVolume in US gallons

liters_to_gallons_uk

Convert liters to UK gallons. Because a UK gallon isn't a US gallon.

ParameterTypeDescription
liters *numberVolume in liters

gallons_uk_to_liters

Convert UK gallons to liters.

ParameterTypeDescription
gallons *numberVolume in UK gallons

milliliters_to_fluid_ounces

Convert milliliters to US fluid ounces.

ParameterTypeDescription
milliliters *numberVolume in milliliters

cups_to_milliliters

Convert US cups to milliliters.

ParameterTypeDescription
cups *numberVolume in cups (US)

milliliters_to_cups

Convert milliliters to US cups.

ParameterTypeDescription
milliliters *numberVolume in milliliters

square_meters_to_square_feet

Convert square meters to square feet.

ParameterTypeDescription
square_meters *numberArea in square meters

square_feet_to_square_meters

Convert square feet to square meters.

ParameterTypeDescription
square_feet *numberArea in square feet

acres_to_hectares

Convert acres to hectares.

ParameterTypeDescription
acres *numberArea in acres

mph_to_kph

Convert miles per hour to kilometers per hour.

ParameterTypeDescription
mph *numberSpeed in miles per hour

kph_to_mph

Convert kilometers per hour to miles per hour.

ParameterTypeDescription
kph *numberSpeed in kilometers per hour

meters_per_second_to_mph

Convert meters per second to miles per hour.

ParameterTypeDescription
mps *numberSpeed in meters per second

knots_to_kph

Convert knots to kilometers per hour.

ParameterTypeDescription
knots *numberSpeed in knots

bytes_to_human

Convert bytes to human-readable format.

ParameterTypeDescription
bytes_val *integerSize in bytes

kilobytes_to_megabytes

Convert kilobytes to megabytes.

ParameterTypeDescription
kilobytes *numberSize in kilobytes

megabytes_to_gigabytes

Convert megabytes to gigabytes.

ParameterTypeDescription
megabytes *numberSize in megabytes

decimal_to_binary

Convert decimal to binary.

ParameterTypeDescription
number *integerDecimal number

binary_to_decimal

Convert binary to decimal.

ParameterTypeDescription
binary *stringBinary number string

decimal_to_hexadecimal

Convert decimal to hexadecimal.

ParameterTypeDescription
number *integerDecimal number

hexadecimal_to_decimal

Convert hexadecimal to decimal.

ParameterTypeDescription
hexadecimal *stringHexadecimal number string

decimal_to_octal

Convert decimal to octal.

ParameterTypeDescription
number *integerDecimal number

hex_to_rgb

Convert hex color to RGB.

ParameterTypeDescription
hex_color *stringHex color (e.g., #FF5733 or FF5733)

rgb_to_hex

Convert RGB to hex color.

ParameterTypeDescription
b *integerBlue (0-255)
g *integerGreen (0-255)
r *integerRed (0-255)

hours_to_minutes

Convert hours to minutes.

ParameterTypeDescription
hours *numberTime in hours

minutes_to_seconds

Convert minutes to seconds.

ParameterTypeDescription
minutes *numberTime in minutes

seconds_to_hms

Convert seconds to hours:minutes:seconds.

ParameterTypeDescription
seconds *integerTime in seconds

generate_uuid

Generate UUID(s).

ParameterTypeDescription
countintegerNumber of UUIDs to generate
versionintegerUUID version (1 or 4)

generate_uuid_v7

Generate UUID v7 (time-ordered).

ParameterTypeDescription
countintegerNumber of UUIDs to generate

random_number

Generate random integer(s).

ParameterTypeDescription
countintegerHow many numbers to generate
max_valintegerMaximum value (inclusive)
min_valintegerMinimum value (inclusive)

random_float

Generate random float(s).

ParameterTypeDescription
countintegerHow many numbers to generate
decimalsintegerDecimal places
max_valnumberMaximum value
min_valnumberMinimum value

random_string

Generate random string(s).

ParameterTypeDescription
charsetstringCharacter set: alphanumeric, alpha, numeric, hex, base64
countintegerHow many strings to generate
lengthintegerLength of string

generate_password

Generate secure password(s).

ParameterTypeDescription
countintegerHow many passwords to generate
exclude_ambiguousbooleanExclude ambiguous characters (0O1lI)
lengthintegerPassword length
lowercasebooleanInclude lowercase letters
numbersbooleanInclude numbers
symbolsbooleanInclude symbols
uppercasebooleanInclude uppercase letters

generate_token

Generate cryptographically secure token.

ParameterTypeDescription
formatstringFormat: hex, base64, urlsafe
lengthintegerToken length in bytes

generate_hash

Generate hash of text.

ParameterTypeDescription
text *stringText to hash
algorithmstringAlgorithm: md5, sha1, sha256, sha512

generate_lorem

Generate lorem ipsum text using Faker.

ParameterTypeDescription
paragraphsintegerNumber of paragraphs
sentences_per_paragraphintegerSentences per paragraph

generate_color

Generate random color(s).

ParameterTypeDescription
countintegerNumber of colors
formatstringFormat: hex, rgb, hsl

roll_dice

Roll dice.

ParameterTypeDescription
countintegerNumber of dice to roll
sidesintegerNumber of sides

flip_coin

Flip a coin.

ParameterTypeDescription
countintegerNumber of flips

shuffle_list

Shuffle a list of items.

ParameterTypeDescription
items *stringComma-separated items to shuffle

pick_random

Pick random item(s) from a list.

ParameterTypeDescription
items *stringComma-separated items to pick from
countintegerNumber of items to pick

generate_sequence

Generate a number sequence.

ParameterTypeDescription
endintegerEnd value
startintegerStart value
stepintegerStep value

validate_email

Validate an email address.

ParameterTypeDescription
email *stringEmail address to validate

validate_url

Validate a URL.

ParameterTypeDescription
url *stringURL to validate

validate_phone

Validate a phone number.

ParameterTypeDescription
phone *stringPhone number to validate
countrystringCountry code for validation

validate_credit_card

Validate a credit card number using Luhn algorithm.

ParameterTypeDescription
number *stringCredit card number

validate_uuid

Validate a UUID.

ParameterTypeDescription
uuid_str *stringUUID to validate

validate_ip

Validate an IP address (v4 or v6).

ParameterTypeDescription
ip *stringIP address to validate

validate_mac

Validate a MAC address.

ParameterTypeDescription
mac *stringMAC address to validate

validate_json

Validate JSON syntax.

ParameterTypeDescription
json_str *stringJSON string to validate

validate_hex

Validate a hexadecimal string.

ParameterTypeDescription
hex_str *stringHex string to validate

validate_base64

Validate a base64 string.

ParameterTypeDescription
base64_str *stringBase64 string to validate

validate_alphanumeric

Check if text is alphanumeric.

ParameterTypeDescription
text *stringText to validate

validate_password_strength

Check password strength.

ParameterTypeDescription
password *stringPassword to check

validate_date

Validate a date string.

ParameterTypeDescription
date_str *stringDate string to validate
formatstringExpected date format

validate_domain

Validate a domain name.

ParameterTypeDescription
domain *stringDomain name to validate

validate_semver

Validate a semantic version string.

ParameterTypeDescription
version *stringSemantic version to validate

get_now

Get current date and time.

ParameterTypeDescription
tzstringTimezone (UTC, America/New_York, etc.)

convert_timestamp

Convert Unix timestamp to date.

ParameterTypeDescription
timestamp *integerUnix timestamp (seconds)

convert_timestamp_ms

Convert Unix timestamp (milliseconds) to date.

ParameterTypeDescription
timestamp_ms *integerUnix timestamp (milliseconds)

date_to_timestamp

Convert date to Unix timestamp.

ParameterTypeDescription
date *stringDate string (YYYY-MM-DD or ISO format)

format_date

Format a date string.

ParameterTypeDescription
date *stringDate string (ISO format)
formatstringOutput format

parse_date

Parse a date string.

ParameterTypeDescription
date *stringDate string to parse
formatstringInput format

add_time

Add time to a date.

ParameterTypeDescription
date *stringStart date (ISO format)
daysintegerDays to add
hoursintegerHours to add
minutesintegerMinutes to add
secondsintegerSeconds to add
weeksintegerWeeks to add

subtract_time

Subtract time from a date.

ParameterTypeDescription
date *stringStart date (ISO format)
daysintegerDays to subtract
hoursintegerHours to subtract
minutesintegerMinutes to subtract
secondsintegerSeconds to subtract
weeksintegerWeeks to subtract

date_diff

Calculate difference between two dates.

ParameterTypeDescription
date1 *stringFirst date (ISO format)
date2 *stringSecond date (ISO format)

is_leap_year

Check if a year is a leap year.

ParameterTypeDescription
year *integerYear to check

days_in_month

Get the number of days in a month.

ParameterTypeDescription
month *integerMonth (1-12)
year *integerYear

week_number

Get the ISO week number of a date.

ParameterTypeDescription
date *stringDate (YYYY-MM-DD)

day_of_year

Get the day of year for a date.

ParameterTypeDescription
date *stringDate (YYYY-MM-DD)

is_weekend

Check if a date is a weekend.

ParameterTypeDescription
date *stringDate (YYYY-MM-DD)

calculate_age

Calculate age from birthdate.

ParameterTypeDescription
birthdate *stringBirth date (YYYY-MM-DD)

relative_time

Get relative time description (e.g., '2 days ago').

ParameterTypeDescription
date *stringDate (ISO format)

current_time

Get current time in specified timezone.

ParameterTypeDescription
timezone_namestringTimezone name (e.g., UTC, EST, PST, JST)

convert_timezone

Convert datetime between timezones.

ParameterTypeDescription
datetime_str *stringDatetime in ISO format
from_tzstringSource timezone
to_tzstringTarget timezone

time_difference

Calculate difference between two datetimes.

ParameterTypeDescription
datetime1 *stringFirst datetime in ISO format
datetime2 *stringSecond datetime in ISO format

add_time_2

Add time to a datetime.

ParameterTypeDescription
datetime_str *stringDatetime in ISO format
daysintegerDays to add
hoursintegerHours to add
minutesintegerMinutes to add
secondsintegerSeconds to add

subtract_time_2

Subtract time from a datetime.

ParameterTypeDescription
datetime_str *stringDatetime in ISO format
daysintegerDays to subtract
hoursintegerHours to subtract
minutesintegerMinutes to subtract
secondsintegerSeconds to subtract

start_of_period

Get the start of a time period.

ParameterTypeDescription
datetime_str *stringDatetime in ISO format
periodstringPeriod: year, month, week, day, hour

end_of_period

Get the end of a time period.

ParameterTypeDescription
datetime_str *stringDatetime in ISO format
periodstringPeriod: year, month, week, day, hour

is_leap_year_2

Check if a year is a leap year.

ParameterTypeDescription
year *integerYear to check

days_in_month_2

Get the number of days in a month.

ParameterTypeDescription
month *integerMonth (1-12)
year *integerYear

week_number_2

Get the ISO week number for a date.

ParameterTypeDescription
datetime_str *stringDatetime in ISO format

get_quarter

Get the quarter for a date.

ParameterTypeDescription
datetime_str *stringDatetime in ISO format

business_days

Count business days between two dates (excluding weekends).

ParameterTypeDescription
end_date *stringEnd date (YYYY-MM-DD)
start_date *stringStart date (YYYY-MM-DD)

add_business_days

Add business days to a date.

ParameterTypeDescription
days *integerBusiness days to add
start_date *stringStart date (YYYY-MM-DD)

calculate_age_2

Calculate age from birthdate.

ParameterTypeDescription
birthdate *stringBirthdate (YYYY-MM-DD)
as_ofstringCalculate age as of date (YYYY-MM-DD)

list_timezones

List all available timezone abbreviations.

unix_to_datetime

Convert Unix timestamp to datetime.

ParameterTypeDescription
timestamp *integerUnix timestamp
timezone_namestringTimezone for output

datetime_to_unix

Convert datetime to Unix timestamp.

ParameterTypeDescription
datetime_str *stringDatetime in ISO format

base64_encode

Encode text to base64. Properly handles Unicode.

ParameterTypeDescription
text *stringText to encode

base64_decode

Decode base64 to text.

ParameterTypeDescription
encoded *stringBase64 string to decode

url_encode

URL encode text.

ParameterTypeDescription
text *stringText to URL encode

url_decode

URL decode text.

ParameterTypeDescription
encoded *stringURL encoded string to decode

html_encode

HTML encode text (escape special characters).

ParameterTypeDescription
text *stringText to HTML encode

html_decode

HTML decode text (unescape special characters).

ParameterTypeDescription
encoded *stringHTML encoded string to decode

hex_encode

Encode text to hexadecimal.

ParameterTypeDescription
text *stringText to hex encode

hex_decode

Decode hexadecimal to text.

ParameterTypeDescription
encoded *stringHex string to decode

binary_encode

Encode text to binary.

ParameterTypeDescription
text *stringText to binary encode

binary_decode

Decode binary to text.

ParameterTypeDescription
binary *stringBinary string to decode

ascii_encode

Get ASCII codes for text.

ParameterTypeDescription
text *stringText to ASCII encode

ascii_decode

Convert ASCII codes to text.

ParameterTypeDescription
codes *stringSpace-separated ASCII codes

rot13

Apply ROT13 cipher (encoding and decoding are the same operation).

ParameterTypeDescription
text *stringText to ROT13 encode/decode

morse_encode

Encode text to Morse code.

ParameterTypeDescription
text *stringText to encode to Morse code

morse_decode

Decode Morse code to text.

ParameterTypeDescription
morse *stringMorse code to decode

json_minify

Minify JSON (remove whitespace).

ParameterTypeDescription
json_str *stringJSON to minify

json_prettify

Prettify JSON (format with indentation).

ParameterTypeDescription
json_str *stringJSON to prettify
indentintegerIndentation spaces

jwt_decode

Decode JWT token (without signature verification).

ParameterTypeDescription
token *stringJWT token to decode (without verification)

punycode_encode

Encode Unicode to Punycode (for internationalized domain names).

ParameterTypeDescription
text *stringUnicode text to encode

punycode_decode

Decode Punycode to Unicode.

ParameterTypeDescription
encoded *stringPunycode to decode

hash_md5

Generate MD5 hash of text.

ParameterTypeDescription
text *stringText to hash

hash_sha1

Generate SHA-1 hash of text.

ParameterTypeDescription
text *stringText to hash

hash_sha256

Generate SHA-256 hash of text.

ParameterTypeDescription
text *stringText to hash

hash_sha384

Generate SHA-384 hash of text.

ParameterTypeDescription
text *stringText to hash

hash_sha512

Generate SHA-512 hash of text.

ParameterTypeDescription
text *stringText to hash

hash_sha3_256

Generate SHA3-256 hash of text.

ParameterTypeDescription
text *stringText to hash

hash_sha3_512

Generate SHA3-512 hash of text.

ParameterTypeDescription
text *stringText to hash

hash_blake2b

Generate BLAKE2b hash of text.

ParameterTypeDescription
text *stringText to hash
digest_sizeintegerDigest size in bytes

hash_blake2s

Generate BLAKE2s hash of text.

ParameterTypeDescription
text *stringText to hash
digest_sizeintegerDigest size in bytes

hmac_sha256

Generate HMAC-SHA256.

ParameterTypeDescription
key *stringSecret key
message *stringMessage to authenticate

hmac_sha512

Generate HMAC-SHA512.

ParameterTypeDescription
key *stringSecret key
message *stringMessage to authenticate

hmac_md5

Generate HMAC-MD5.

ParameterTypeDescription
key *stringSecret key
message *stringMessage to authenticate

compare_hashes

Compare two hashes in constant time (timing-safe).

ParameterTypeDescription
hash1 *stringFirst hash
hash2 *stringSecond hash

hash_all

Generate hashes using multiple algorithms at once.

ParameterTypeDescription
text *stringText to hash

hash_crc32

Calculate CRC32 checksum.

ParameterTypeDescription
text *stringText to calculate CRC32

hash_adler32

Calculate Adler-32 checksum.

ParameterTypeDescription
text *stringText to calculate Adler-32

identify_hash

Identify the possible algorithm of a hash based on its format.

ParameterTypeDescription
hash_string *stringHash string to identify

file_checksum_guide

Get command-line instructions for file checksums.

ParameterTypeDescription
algorithmstringAlgorithm: md5, sha1, sha256, sha512

generate_hmac

Generate HMAC signature.

ParameterTypeDescription
key *stringSecret key
message *stringMessage to sign
algorithmstringHash algorithm: md5, sha1, sha256, sha512

md5_checksum

Generate MD5 checksum.

ParameterTypeDescription
text *stringText to hash

sha1_checksum

Generate SHA1 checksum.

ParameterTypeDescription
text *stringText to hash

sha256_checksum

Generate SHA256 checksum.

ParameterTypeDescription
text *stringText to hash

sha512_checksum

Generate SHA512 checksum.

ParameterTypeDescription
text *stringText to hash

password_entropy

Calculate password entropy (bits of randomness).

ParameterTypeDescription
password *stringPassword to analyze

random_bytes

Generate cryptographically secure random bytes.

ParameterTypeDescription
encodingstringOutput encoding: hex, base64
lengthintegerNumber of bytes

constant_time_compare

Compare two strings in constant time (timing-safe).

ParameterTypeDescription
a *stringFirst string
b *stringSecond string

verify_hash

Verify a hash matches the text.

ParameterTypeDescription
hash_value *stringHash to verify
text *stringOriginal text
algorithmstringAlgorithm used

crc32_checksum

Calculate CRC32 checksum.

ParameterTypeDescription
text *stringText to checksum

adler32_checksum

Calculate Adler-32 checksum.

ParameterTypeDescription
text *stringText to checksum

analyze_password

Analyze password strength and characteristics.

ParameterTypeDescription
password *stringPassword to analyze

generate_password_2

Generate a secure random password.

ParameterTypeDescription
digitsbooleanInclude digits
exclude_ambiguousbooleanExclude ambiguous chars (0O1lI)
exclude_charsstringAdditional characters to exclude
lengthintegerPassword length
lowercasebooleanInclude lowercase letters
specialbooleanInclude special characters
uppercasebooleanInclude uppercase letters

generate_passphrase

Generate a passphrase from random words.

ParameterTypeDescription
capitalizebooleanCapitalize each word
include_numberbooleanInclude a random number
separatorstringWord separator
wordsintegerNumber of words

generate_pin

Generate a random PIN.

ParameterTypeDescription
lengthintegerPIN length

estimate_hash_time

Estimate time to crack a password using brute force.

ParameterTypeDescription
password *stringPassword to estimate crack time for

is_common_password

Check if password is in common password list.

ParameterTypeDescription
password *stringPassword to check

suggest_improvements

Suggest improvements for a password.

ParameterTypeDescription
password *stringPassword to improve

leetspeak_password

Convert a password to leetspeak (for demonstration, not security).

ParameterTypeDescription
password *stringPassword to convert to leetspeak
levelintegerLeetspeak intensity (1-3)

generate_memorable

Generate a memorable password based on a pattern.

ParameterTypeDescription
patternstringPattern: c=consonant, v=vowel, d=digit, s=symbol

validate_ip_2

Validate if a string is a valid IP address.

ParameterTypeDescription
ip *stringIP address to validate

ip_info

Get detailed information about an IP address.

ParameterTypeDescription
ip *stringIP address to analyze

ip_to_integer

Convert IP address to integer.

ParameterTypeDescription
ip *stringIP address to convert

integer_to_ip

Convert integer to IP address.

ParameterTypeDescription
integer *integerInteger to convert to IP
versionintegerIP version (4 or 6)

network_info

Get information about a network.

ParameterTypeDescription
network *stringNetwork in CIDR notation (e.g., 192.168.1.0/24)

ip_in_network

Check if an IP address is within a network.

ParameterTypeDescription
ip *stringIP address to check
network *stringNetwork in CIDR notation

subnet_calculator

Calculate subnets from a network.

ParameterTypeDescription
network *stringNetwork in CIDR notation
new_prefix *integerNew prefix length for subnets

supernet_calculator

Calculate the supernet that contains all given networks.

ParameterTypeDescription
networks *stringComma-separated networks in CIDR notation

range_to_cidr

Convert an IP range to CIDR notation.

ParameterTypeDescription
end_ip *stringEnd IP address
start_ip *stringStart IP address

expand_cidr

Expand a CIDR to list of individual IPs.

ParameterTypeDescription
network *stringNetwork in CIDR notation
limitintegerMaximum IPs to return

is_private_ip

Check if an IP address is private (RFC 1918 for IPv4).

ParameterTypeDescription
ip *stringIP address to check

ipv4_to_ipv6

Convert IPv4 address to IPv6 mapped address.

ParameterTypeDescription
ipv4 *stringIPv4 address to convert

ipv6_to_ipv4

Extract IPv4 address from IPv6 mapped address.

ParameterTypeDescription
ipv6 *stringIPv6 mapped address to convert

ip_to_binary

Convert IP address to binary representation.

ParameterTypeDescription
ip *stringIP address to convert

netmask_to_cidr

Convert subnet mask to CIDR prefix length.

ParameterTypeDescription
netmask *stringNetmask (e.g., 255.255.255.0)

cidr_to_netmask

Convert CIDR prefix length to subnet mask.

ParameterTypeDescription
prefix *integerCIDR prefix length (0-32)

validate_json_2

Validate if a string is valid JSON.

ParameterTypeDescription
json_string *stringJSON string to validate

prettify_json

Prettify (format) a JSON string.

ParameterTypeDescription
json_string *stringJSON string to prettify
indentintegerIndentation spaces
sort_keysbooleanSort keys alphabetically

minify_json

Minify (compress) a JSON string.

ParameterTypeDescription
json_string *stringJSON string to minify

get_keys

Get all keys from a JSON object.

ParameterTypeDescription
json_string *stringJSON object string

get_values

Get all values from a JSON object.

ParameterTypeDescription
json_string *stringJSON object string

get_json_path

Extract a value from JSON using a path expression.

ParameterTypeDescription
json_string *stringJSON string
path *stringPath to extract (e.g., 'user.address.city' or 'items[0].name')

flatten_json

Flatten a nested JSON object.

ParameterTypeDescription
json_string *stringJSON string to flatten
separatorstringKey separator

unflatten_json

Unflatten a flat JSON object back to nested structure.

ParameterTypeDescription
json_string *stringFlattened JSON string
separatorstringKey separator

json_diff

Compare two JSON objects and find differences.

ParameterTypeDescription
json1 *stringFirst JSON string
json2 *stringSecond JSON string

merge_json

Merge two JSON objects.

ParameterTypeDescription
json1 *stringBase JSON object
json2 *stringJSON object to merge
deepbooleanDeep merge nested objects

json_stats

Get statistics about a JSON structure.

ParameterTypeDescription
json_string *stringJSON string to analyze

get_json_type

Get the type of a JSON value.

ParameterTypeDescription
json_string *stringJSON string

json_to_query_string

Convert a JSON object to URL query string.

ParameterTypeDescription
json_string *stringJSON object to convert

query_string_to_json

Convert a URL query string to JSON object.

ParameterTypeDescription
query_string *stringQuery string to convert (without ?)

readability_score

Calculate readability scores (Flesch-Kincaid, etc.).

ParameterTypeDescription
text *stringText to analyze

extract_keywords

Extract keywords from text based on frequency.

ParameterTypeDescription
text *stringText to extract keywords from
top_nintegerNumber of keywords

text_similarity

Calculate similarity between two texts (Jaccard similarity).

ParameterTypeDescription
text1 *stringFirst text
text2 *stringSecond text

levenshtein_distance

Calculate Levenshtein (edit) distance between two strings.

ParameterTypeDescription
text1 *stringFirst string
text2 *stringSecond string

soundex

Generate Soundex phonetic encoding.

ParameterTypeDescription
text *stringWord to encode

metaphone

Generate Metaphone phonetic encoding.

ParameterTypeDescription
text *stringWord to encode

generate_ngrams

Generate n-grams from text.

ParameterTypeDescription
text *stringText to generate n-grams from
nintegerN-gram size

basic_sentiment

Basic sentiment analysis using word lists.

ParameterTypeDescription
text *stringText to analyze

generate_acronym

Generate acronym from text.

ParameterTypeDescription
text *stringText to create acronym from

get_initials

Get initials from a name.

ParameterTypeDescription
name *stringName to get initials from
separatorstringSeparator between initials

mask_text

Mask text, keeping only start/end characters visible.

ParameterTypeDescription
text *stringText to mask
endintegerCharacters to keep at end
mask_charstringMasking character
startintegerCharacters to keep at start

lorem_words

Generate lorem ipsum words.

ParameterTypeDescription
countintegerNumber of words

smart_title_case

Smart title case (handles articles, prepositions).

ParameterTypeDescription
text *stringText to convert

remove_duplicate_words

Remove consecutive duplicate words.

ParameterTypeDescription
text *stringText with potential duplicate words

slugify

Convert text to URL-friendly slug.

ParameterTypeDescription
text *stringText to convert to slug
lowercasebooleanConvert to lowercase
max_lengthintegerMaximum slug length
separatorstringWord separator

deslugify

Convert a slug back to readable text.

ParameterTypeDescription
slug *stringSlug to convert back to text
capitalizebooleanCapitalize words
separatorstringWord separator in slug

is_valid_slug

Check if a string is a valid URL slug.

ParameterTypeDescription
slug *stringSlug to validate

url_encode_2

URL encode a string.

ParameterTypeDescription
text *stringText to URL encode
safestringCharacters to not encode

url_decode_2

URL decode a string.

ParameterTypeDescription
text *stringText to URL decode

parse_url

Parse a URL into its components.

ParameterTypeDescription
url *stringURL to parse

build_url

Build a URL from components.

ParameterTypeDescription
base *stringBase URL
paramsstringQuery params as key=value&key2=value2
pathstringPath to append

normalize_url

Normalize a URL to a canonical form.

ParameterTypeDescription
url *stringURL to normalize
lowercase_hostbooleanLowercase hostname
remove_default_portbooleanRemove default port (80/443)
remove_trailing_slashbooleanRemove trailing slash from path
sort_paramsbooleanSort query parameters

extract_domain

Extract domain from a URL.

ParameterTypeDescription
url *stringURL to extract domain from
include_subdomainbooleanInclude subdomain in result

is_valid_url

Validate if a string is a valid URL.

ParameterTypeDescription
url *stringURL to validate
require_protocolbooleanRequire http/https

join_path

Join path parts safely.

ParameterTypeDescription
parts *stringPath parts separated by comma
separatorstringPath separator

add_query_param

Add a query parameter to a URL.

ParameterTypeDescription
key *stringParameter key
url *stringURL to modify
value *stringParameter value

remove_query_param

Remove a query parameter from a URL.

ParameterTypeDescription
key *stringParameter key to remove
url *stringURL to modify

filename_safe

Convert a string to a safe filename.

ParameterTypeDescription
filename *stringFilename to sanitize
max_lengthintegerMaximum filename length
replacementstringCharacter to replace invalid chars with

to_camel_case

Convert text to camelCase.

ParameterTypeDescription
text *stringText to convert

to_pascal_case

Convert text to PascalCase.

ParameterTypeDescription
text *stringText to convert

to_snake_case

Convert text to snake_case.

ParameterTypeDescription
text *stringText to convert

to_screaming_snake_case

Convert text to SCREAMING_SNAKE_CASE.

ParameterTypeDescription
text *stringText to convert

to_kebab_case

Convert text to kebab-case.

ParameterTypeDescription
text *stringText to convert

to_train_case

Convert text to Train-Case.

ParameterTypeDescription
text *stringText to convert

to_title_case

Convert text to Title Case.

ParameterTypeDescription
text *stringText to convert

to_sentence_case

Convert text to Sentence case.

ParameterTypeDescription
text *stringText to convert

to_upper_case

Convert text to UPPERCASE.

ParameterTypeDescription
text *stringText to convert

to_lower_case

Convert text to lowercase.

ParameterTypeDescription
text *stringText to convert

swap_case

Swap case of each character.

ParameterTypeDescription
text *stringText to convert

capitalize_text

Capitalize first letter only.

ParameterTypeDescription
text *stringText to capitalize

to_dot_case

Convert text to dot.case.

ParameterTypeDescription
text *stringText to convert

to_path_case

Convert text to path/case.

ParameterTypeDescription
text *stringText to convert

to_constant_case

Convert text to CONSTANT_CASE (alias for screaming snake).

ParameterTypeDescription
text *stringText to convert

to_header_case

Convert text to Header-Case (HTTP header style).

ParameterTypeDescription
text *stringText to convert

to_alternating_case

Convert text to aLtErNaTiNg case.

ParameterTypeDescription
text *stringText to convert
start_upperbooleanStart with uppercase

inverse_case

Inverse the case of each character (same as swap).

ParameterTypeDescription
text *stringText to convert

detect_case

Detect the case style of text.

ParameterTypeDescription
text *stringText to analyze

convert_all_cases

Convert text to all case formats at once.

ParameterTypeDescription
text *stringText to convert

format_number

Format a number with locale-specific separators.

ParameterTypeDescription
number *numberNumber to format
decimalsintegerDecimal places
localestringLocale (en-US, de-DE, fr-FR, etc.)

format_currency

Format an amount as currency.

ParameterTypeDescription
amount *numberAmount to format
currencystringCurrency code (USD, EUR, GBP, etc.)
localestringLocale for formatting

format_percentage

Format a number as a percentage.

ParameterTypeDescription
value *numberValue to format as percentage
decimalsintegerDecimal places
multiplybooleanMultiply by 100 (0.5 -> 50%)

format_ordinal

Convert a number to its ordinal form (1st, 2nd, 3rd, etc.).

ParameterTypeDescription
number *integerNumber to convert to ordinal

number_to_words

Convert a number to words.

ParameterTypeDescription
number *integerNumber to convert

number_to_roman

Convert a number to Roman numerals.

ParameterTypeDescription
number *integerNumber to convert (1-3999)

roman_to_number

Convert Roman numerals to a number.

ParameterTypeDescription
roman *stringRoman numeral to convert

format_bytes

Format bytes to human-readable size.

ParameterTypeDescription
bytes_value *integerSize in bytes
binarybooleanUse binary (1024) or decimal (1000) units

format_phone

Format a phone number according to country conventions.

ParameterTypeDescription
number *stringPhone number to format
countrystringCountry code (US, UK, DE, FR, etc.)

format_credit_card

Format a credit card number with spaces.

ParameterTypeDescription
number *stringCredit card number

format_ssn

Format a Social Security Number.

ParameterTypeDescription
number *stringSSN to format

format_duration

Format seconds as duration.

ParameterTypeDescription
seconds *integerDuration in seconds
verbosebooleanUse verbose format (1 hour 2 minutes)

format_relative_time

Format seconds as relative time (e.g., '2 hours ago', 'in 3 days').

ParameterTypeDescription
seconds *integerSeconds from now (positive = future, negative = past)

format_truncate

Truncate text to a maximum length.

ParameterTypeDescription
text *stringText to truncate
lengthintegerMaximum length
suffixstringSuffix to add when truncated

format_list

Format a list of items with proper grammar.

ParameterTypeDescription
items *stringComma-separated items
conjunctionstringConjunction to use (and, or)
oxford_commabooleanUse Oxford comma

hex_to_hsl

Convert hex color to HSL.

ParameterTypeDescription
hex_color *stringHex color (e.g., #FF5733 or FF5733)

hsl_to_hex

Convert HSL to hex color.

ParameterTypeDescription
h *integerHue (0-360)
l *integerLightness (0-100)
s *integerSaturation (0-100)

hex_to_hsv

Convert hex color to HSV.

ParameterTypeDescription
hex_color *stringHex color (e.g., #FF5733 or FF5733)

hsv_to_hex

Convert HSV to hex color.

ParameterTypeDescription
h *integerHue (0-360)
s *integerSaturation (0-100)
v *integerValue (0-100)

hex_to_cmyk

Convert hex color to CMYK.

ParameterTypeDescription
hex_color *stringHex color (e.g., #FF5733 or FF5733)

cmyk_to_hex

Convert CMYK to hex color.

ParameterTypeDescription
c *integerCyan (0-100)
k *integerKey/Black (0-100)
m *integerMagenta (0-100)
y *integerYellow (0-100)

lighten_color

Lighten a color by a percentage.

ParameterTypeDescription
hex_color *stringHex color to lighten
amountintegerAmount to lighten (0-100)

darken_color

Darken a color by a percentage.

ParameterTypeDescription
hex_color *stringHex color to darken
amountintegerAmount to darken (0-100)

saturate_color

Increase color saturation by a percentage.

ParameterTypeDescription
hex_color *stringHex color to saturate
amountintegerAmount to saturate (0-100)

desaturate_color

Decrease color saturation by a percentage.

ParameterTypeDescription
hex_color *stringHex color to desaturate
amountintegerAmount to desaturate (0-100)

grayscale_color

Convert color to grayscale.

ParameterTypeDescription
hex_color *stringHex color to convert to grayscale

invert_color

Invert a color.

ParameterTypeDescription
hex_color *stringHex color to invert

complement_color

Get the complementary color (opposite on color wheel).

ParameterTypeDescription
hex_color *stringHex color to get complement of

triadic_colors

Get triadic colors (three colors equally spaced on color wheel).

ParameterTypeDescription
hex_color *stringHex color to get triadic colors for

analogous_colors

Get analogous colors (adjacent colors on color wheel).

ParameterTypeDescription
hex_color *stringHex color to get analogous colors for

split_complementary_colors

Get split-complementary colors.

ParameterTypeDescription
hex_color *stringHex color

tetradic_colors

Get tetradic colors (four colors forming a rectangle on color wheel).

ParameterTypeDescription
hex_color *stringHex color

contrast_ratio

Calculate contrast ratio between two colors (WCAG).

ParameterTypeDescription
color1 *stringFirst hex color
color2 *stringSecond hex color

get_luminance

Calculate relative luminance of a color.

ParameterTypeDescription
hex_color *stringHex color

blend_colors

Blend two colors together.

ParameterTypeDescription
color1 *stringFirst hex color
color2 *stringSecond hex color
weightnumberBlend weight (0-1, 0.5 = equal mix)

generate_gradient

Generate a gradient between two colors.

ParameterTypeDescription
color1 *stringStart hex color
color2 *stringEnd hex color
stepsintegerNumber of steps in gradient

generate_shades

Generate shades (darker variations) of a color.

ParameterTypeDescription
hex_color *stringBase hex color
countintegerNumber of shades

generate_tints

Generate tints (lighter variations) of a color.

ParameterTypeDescription
hex_color *stringBase hex color
countintegerNumber of tints

random_color

Generate a random color.

is_valid_hex

Check if a string is a valid hex color.

ParameterTypeDescription
hex_color *stringColor string to validate

name_to_hex

Convert a CSS color name to hex.

ParameterTypeDescription
name *stringCSS color name

cidr_info

Get information about a CIDR range.

ParameterTypeDescription
cidr *stringCIDR notation (e.g., 192.168.1.0/24)

subnet_mask_info

Get subnet mask from prefix length.

ParameterTypeDescription
prefix_length *integerCIDR prefix length (0-32)

ip_in_range

Check if an IP address is within a CIDR range.

ParameterTypeDescription
cidr *stringCIDR range
ip *stringIP address to check

port_info

Get information about a port number.

ParameterTypeDescription
port *integerPort number

http_method_info

Get information about an HTTP method.

ParameterTypeDescription
method *stringHTTP method

parse_url_2

Parse a URL into its components.

ParameterTypeDescription
url *stringURL to parse

build_url_2

Build a URL from components.

ParameterTypeDescription
host *stringHostname
pathstringURL path
portintegerPort number
querystringQuery string (without ?)
schemestringURL scheme

ipv4_to_ipv6_2

Convert IPv4 address to IPv6 mapped format.

ParameterTypeDescription
ipv4 *stringIPv4 address

private_ip_ranges

Get RFC 1918 private IP address ranges.

haversine_distance

Calculate distance between two coordinates using Haversine formula.

ParameterTypeDescription
lat1 *numberLatitude of point 1
lat2 *numberLatitude of point 2
lon1 *numberLongitude of point 1
lon2 *numberLongitude of point 2
unitstringUnit: km or mi

calculate_bearing

Calculate bearing (direction) between two coordinates.

ParameterTypeDescription
lat1 *numberLatitude of start point
lat2 *numberLatitude of end point
lon1 *numberLongitude of start point
lon2 *numberLongitude of end point

calculate_midpoint

Calculate geographic midpoint between two coordinates.

ParameterTypeDescription
lat1 *numberLatitude of point 1
lat2 *numberLatitude of point 2
lon1 *numberLongitude of point 1
lon2 *numberLongitude of point 2

destination_point

Calculate destination point given start, bearing, and distance.

ParameterTypeDescription
bearing *numberBearing in degrees
distance *numberDistance to travel
lat *numberStarting latitude
lon *numberStarting longitude
unitstringUnit: km or mi

dms_to_decimal

Convert DMS (degrees, minutes, seconds) to decimal degrees.

ParameterTypeDescription
degrees *integerDegrees
direction *stringDirection: N, S, E, or W
minutes *integerMinutes
seconds *numberSeconds

decimal_to_dms

Convert decimal degrees to DMS (degrees, minutes, seconds).

ParameterTypeDescription
coordinate_type *stringType: lat or lon
decimal *numberDecimal degrees

is_valid_coordinates

Check if coordinates are valid.

ParameterTypeDescription
lat *numberLatitude to validate
lon *numberLongitude to validate

bounding_box

Calculate bounding box around a point.

ParameterTypeDescription
lat *numberCenter latitude
lon *numberCenter longitude
radius *numberRadius
unitstringUnit: km or mi

point_in_polygon

Check if a point is inside a polygon (ray casting algorithm).

ParameterTypeDescription
lat *numberPoint latitude
lon *numberPoint longitude
polygon *stringPolygon vertices as lat1,lon1;lat2,lon2;lat3,lon3...

geohash_encode

Encode coordinates to geohash.

ParameterTypeDescription
lat *numberLatitude
lon *numberLongitude
precisionintegerPrecision (1-12)

geohash_decode

Decode geohash to coordinates.

ParameterTypeDescription
geohash *stringGeohash string

polygon_area

Calculate area of a polygon on Earth's surface.

ParameterTypeDescription
polygon *stringPolygon vertices as lat1,lon1;lat2,lon2;lat3,lon3...
unitstringUnit: km2 or mi2

polyline_length

Calculate total length of a polyline.

ParameterTypeDescription
polyline *stringPolyline points as lat1,lon1;lat2,lon2;lat3,lon3...
unitstringUnit: km or mi

polygon_centroid

Calculate centroid of a polygon.

ParameterTypeDescription
polygon *stringPolygon vertices as lat1,lon1;lat2,lon2;lat3,lon3...

timezone_offset

Estimate timezone offset from longitude (approximate).

ParameterTypeDescription
lon *numberLongitude

sun_position

Calculate approximate sun position (azimuth and elevation).

ParameterTypeDescription
day *integerDay
lat *numberLatitude
lon *numberLongitude
month *integerMonth
year *integerYear
hourintegerHour (24h format)

array_intersection

Get intersection of two arrays.

ParameterTypeDescription
array1 *stringFirst comma-separated array
array2 *stringSecond comma-separated array

array_union

Get union of two arrays.

ParameterTypeDescription
array1 *stringFirst comma-separated array
array2 *stringSecond comma-separated array

array_difference

Get difference of two arrays (items in array1 not in array2).

ParameterTypeDescription
array1 *stringFirst comma-separated array
array2 *stringSecond comma-separated array

array_symmetric_difference

Get symmetric difference (items in either but not both).

ParameterTypeDescription
array1 *stringFirst comma-separated array
array2 *stringSecond comma-separated array

is_subset

Check if array1 is a subset of array2.

ParameterTypeDescription
array1 *stringPotential subset
array2 *stringPotential superset

array_reverse

Reverse an array.

ParameterTypeDescription
items *stringComma-separated items

array_rotate

Rotate an array by n positions.

ParameterTypeDescription
items *stringComma-separated items
positions *integerPositions to rotate (positive=right, negative=left)

array_first

Get first n items from array.

ParameterTypeDescription
items *stringComma-separated items
nintegerNumber of items to get

array_last

Get last n items from array.

ParameterTypeDescription
items *stringComma-separated items
nintegerNumber of items to get

array_nth

Get item at specific index.

ParameterTypeDescription
index *integerIndex (0-based, negative for from end)
items *stringComma-separated items

array_slice

Slice an array.

ParameterTypeDescription
items *stringComma-separated items
endintegerEnd index (exclusive)
startintegerStart index

array_compact

Remove falsy values (empty strings) from array.

ParameterTypeDescription
items *stringComma-separated items

array_zip

Zip two arrays together.

ParameterTypeDescription
array1 *stringFirst comma-separated array
array2 *stringSecond comma-separated array

array_unzip

Unzip array of pairs into two arrays.

ParameterTypeDescription
pairs *stringJSON array of pairs, e.g., [[1,2],[3,4]]

array_fill

Create an array filled with a value.

ParameterTypeDescription
length *integerArray length
value *stringValue to fill

array_repeat

Repeat an array n times.

ParameterTypeDescription
items *stringComma-separated items
times *integerTimes to repeat

group_by_length

Group items by their string length.

ParameterTypeDescription
items *stringComma-separated items

array_partition

Partition array into chunks of specified size.

ParameterTypeDescription
items *stringComma-separated items
size *integerPartition size

array_interleave

Interleave two arrays.

ParameterTypeDescription
array1 *stringFirst comma-separated array
array2 *stringSecond comma-separated array

array_dedupe

Remove duplicates from array.

ParameterTypeDescription
items *stringComma-separated items
preserve_orderbooleanPreserve original order

array_frequency

Count frequency of each item.

ParameterTypeDescription
items *stringComma-separated items

calculate_mean

Calculate arithmetic mean (average).

ParameterTypeDescription
numbers *stringComma-separated numbers

calculate_median

Calculate median.

ParameterTypeDescription
numbers *stringComma-separated numbers

calculate_mode

Calculate mode (most frequent value).

ParameterTypeDescription
numbers *stringComma-separated numbers

calculate_variance

Calculate variance.

ParameterTypeDescription
numbers *stringComma-separated numbers
populationbooleanUse population variance (N) vs sample variance (N-1)

calculate_stddev

Calculate standard deviation.

ParameterTypeDescription
numbers *stringComma-separated numbers
populationbooleanUse population std dev vs sample std dev

calculate_percentile

Calculate a specific percentile.

ParameterTypeDescription
numbers *stringComma-separated numbers
percentile *numberPercentile to calculate

calculate_quartiles

Calculate quartiles (Q1, Q2, Q3).

ParameterTypeDescription
numbers *stringComma-separated numbers

calculate_range

Calculate range (max - min).

ParameterTypeDescription
numbers *stringComma-separated numbers

calculate_sum

Calculate sum of numbers.

ParameterTypeDescription
numbers *stringComma-separated numbers

calculate_product

Calculate product of numbers.

ParameterTypeDescription
numbers *stringComma-separated numbers

geometric_mean

Calculate geometric mean.

ParameterTypeDescription
numbers *stringComma-separated positive numbers

harmonic_mean

Calculate harmonic mean.

ParameterTypeDescription
numbers *stringComma-separated positive numbers

calculate_zscore

Calculate z-score (standard score).

ParameterTypeDescription
mean *numberPopulation mean
stddev *numberPopulation standard deviation
value *numberValue to calculate z-score for

calculate_correlation

Calculate Pearson correlation coefficient.

ParameterTypeDescription
x *stringComma-separated X values
y *stringComma-separated Y values

calculate_covariance

Calculate covariance between two datasets.

ParameterTypeDescription
x *stringComma-separated X values
y *stringComma-separated Y values
populationbooleanPopulation covariance vs sample

describe_data

Get descriptive statistics for a dataset.

ParameterTypeDescription
numbers *stringComma-separated numbers

compound_interest

Calculate compound interest.

ParameterTypeDescription
principal *numberInitial principal
rate *numberAnnual interest rate (as percentage, e.g., 5 for 5%)
time *numberTime in years
compounds_per_yearintegerCompounding frequency per year

simple_interest

Calculate simple interest.

ParameterTypeDescription
principal *numberInitial principal
rate *numberAnnual interest rate (percentage)
time *numberTime in years

loan_payment

Calculate monthly loan payment.

ParameterTypeDescription
months *integerLoan term in months
principal *numberLoan amount
rate *numberAnnual interest rate (percentage)

calculate_tip

Calculate tip and split bill.

ParameterTypeDescription
amount *numberBill amount
splitintegerNumber of people to split
tip_percentnumberTip percentage

percentage_change

Calculate percentage change between two values.

ParameterTypeDescription
new_value *numberNew value
old_value *numberOriginal value

calculate_markup

Calculate selling price from cost and markup.

ParameterTypeDescription
cost *numberCost price
markup_percent *numberMarkup percentage

calculate_margin

Calculate profit margin.

ParameterTypeDescription
cost *numberCost price
selling_price *numberSelling price

calculate_discount

Calculate discounted price.

ParameterTypeDescription
discount_percent *numberDiscount percentage
original_price *numberOriginal price

calculate_vat

Calculate VAT (Value Added Tax).

ParameterTypeDescription
amount *numberAmount
inclusivebooleanIs amount VAT inclusive?
vat_ratenumberVAT rate percentage

mortgage_calculator

Calculate mortgage details.

ParameterTypeDescription
home_price *numberHome price
rate *numberAnnual interest rate (percentage)
down_paymentnumberDown payment
yearsintegerLoan term in years

rule_of_72

Calculate time to double investment using Rule of 72.

ParameterTypeDescription
rate *numberAnnual interest rate (percentage)

future_value

Calculate future value of an investment.

ParameterTypeDescription
present_value *numberPresent value
rate *numberAnnual interest rate (percentage)
years *integerNumber of years

present_value

Calculate present value of a future amount.

ParameterTypeDescription
future_value *numberFuture value
rate *numberAnnual discount rate (percentage)
years *integerNumber of years

break_even

Calculate break-even point.

ParameterTypeDescription
cost_per_unit *numberVariable cost per unit
fixed_costs *numberFixed costs
price_per_unit *numberPrice per unit

return_on_investment

Calculate Return on Investment (ROI).

ParameterTypeDescription
cost *numberCost of investment
gain *numberGain from investment

test_pattern

Test if a regex pattern matches text.

ParameterTypeDescription
pattern *stringRegular expression pattern
text *stringText to test against
flagsstringFlags: i=ignore case, m=multiline, s=dotall

find_all_matches

Find all matches of a pattern in text.

ParameterTypeDescription
pattern *stringRegular expression pattern
text *stringText to search
flagsstringFlags: i=ignore case, m=multiline, s=dotall

regex_replace

Replace pattern matches in text.

ParameterTypeDescription
pattern *stringRegular expression pattern
replacement *stringReplacement string
text *stringText to process
flagsstringFlags: i=ignore case, m=multiline, s=dotall

regex_split

Split text by regex pattern.

ParameterTypeDescription
pattern *stringRegular expression pattern to split on
text *stringText to split
max_splitintegerMaximum splits (0=unlimited)

validate_pattern

Validate if a regex pattern is syntactically correct.

ParameterTypeDescription
pattern *stringRegular expression pattern to validate

escape_pattern

Escape special regex characters in text.

ParameterTypeDescription
text *stringText to escape for use in regex

extract_groups

Extract capture groups from a pattern match.

ParameterTypeDescription
pattern *stringPattern with capture groups
text *stringText to search

get_email_pattern

Get regex pattern for email validation.

ParameterTypeDescription
strictbooleanUse strict RFC 5322 pattern

get_url_pattern

Get regex pattern for URL validation.

ParameterTypeDescription
require_protocolbooleanRequire http/https protocol

get_phone_pattern

Get regex pattern for phone number validation.

ParameterTypeDescription
countrystringCountry: US, UK, international

get_ipv4_pattern

Get regex pattern for IPv4 address validation.

get_ipv6_pattern

Get regex pattern for IPv6 address validation.

get_date_pattern

Get regex pattern for date validation.

ParameterTypeDescription
formatstringFormat: ISO, US, EU

get_time_pattern

Get regex pattern for time validation.

ParameterTypeDescription
formatstringFormat: 24h, 12h

get_credit_card_pattern

Get regex pattern for credit card validation.

ParameterTypeDescription
card_typestringType: visa, mastercard, amex, discover, any

get_uuid_pattern

Get regex pattern for UUID validation.

ParameterTypeDescription
versionstringVersion: 1, 4, any

get_slug_pattern

Get regex pattern for URL slug validation.

get_hex_color_pattern

Get regex pattern for hex color validation.

get_password_pattern

Get regex pattern for password validation with custom requirements.

ParameterTypeDescription
min_lengthintegerMinimum length
require_digitbooleanRequire digit
require_lowercasebooleanRequire lowercase
require_specialbooleanRequire special character
require_uppercasebooleanRequire uppercase

prime_factors

Get prime factors of a number.

ParameterTypeDescription
number *integerNumber to factorize

get_divisors

Get all divisors of a number.

ParameterTypeDescription
number *integerNumber to find divisors for

nth_prime

Get the nth prime number.

ParameterTypeDescription
n *integerWhich prime number (1=2, 2=3, etc.)

primes_in_range

Get all prime numbers in a range.

ParameterTypeDescription
end *integerEnd of range
start *integerStart of range

to_roman

Convert number to Roman numerals.

ParameterTypeDescription
number *integerNumber to convert (1-3999)

base_convert

Convert a number between different bases.

ParameterTypeDescription
from_base *integerSource base
number *stringNumber to convert
to_base *integerTarget base

is_perfect_number

Check if a number is a perfect number (sum of proper divisors equals the number).

ParameterTypeDescription
number *integerNumber to check

is_armstrong_number

Check if a number is an Armstrong number (narcissistic number).

ParameterTypeDescription
number *integerNumber to check

is_palindrome_number

Check if a number is a palindrome.

ParameterTypeDescription
number *integerNumber to check

collatz_sequence

Generate Collatz sequence for a number.

ParameterTypeDescription
number *integerStarting number

digital_root

Calculate the digital root (repeated digit sum until single digit).

ParameterTypeDescription
number *integerNumber to calculate digital root for

sum_digits

Sum the digits of a number.

ParameterTypeDescription
number *integerNumber to sum digits of

reverse_number

Reverse the digits of a number.

ParameterTypeDescription
number *integerNumber to reverse

count_digits

Count the number of digits.

ParameterTypeDescription
number *integerNumber to count digits

nth_triangular

Get the nth triangular number.

ParameterTypeDescription
n *integerWhich triangular number

is_triangular

Check if a number is a triangular number.

ParameterTypeDescription
number *integerNumber to check

nth_square

Get the nth square number.

ParameterTypeDescription
n *integerWhich square number

nth_cube

Get the nth cube number.

ParameterTypeDescription
n *integerWhich cube number

is_power_of

Check if a number is a power of another number.

ParameterTypeDescription
base *integerBase to check against
number *integerNumber to check

nearest_power

Find the nearest power of a base to a number.

ParameterTypeDescription
number *integerNumber to find nearest power for
baseintegerBase

calculate_bmi

Calculate Body Mass Index (BMI).

ParameterTypeDescription
height_cm *numberHeight in centimeters
weight_kg *numberWeight in kilograms

calculate_bmr

Calculate Basal Metabolic Rate (BMR) using Mifflin-St Jeor equation.

ParameterTypeDescription
age *integerAge in years
height_cm *numberHeight in centimeters
sex *stringSex: male or female
weight_kg *numberWeight in kilograms

ideal_weight

Calculate ideal body weight using various formulas.

ParameterTypeDescription
height_cm *numberHeight in centimeters
sex *stringSex: male or female

heart_rate_zones

Calculate heart rate training zones.

ParameterTypeDescription
age *integerAge in years
resting_hrintegerResting heart rate (optional)

estimate_body_fat

Estimate body fat percentage using US Navy method.

ParameterTypeDescription
height_cm *numberHeight in cm
neck_cm *numberNeck circumference in cm
sex *stringSex: male or female
waist_cm *numberWaist circumference in cm
hip_cmnumberHip circumference in cm (required for females)

daily_water_intake

Calculate recommended daily water intake.

ParameterTypeDescription
weight_kg *numberWeight in kilograms
activity_levelstringActivity level: low, moderate, high

calories_burned

Estimate calories burned during activities.

ParameterTypeDescription
activity *stringActivity type
duration_minutes *integerDuration in minutes
weight_kg *numberBody weight in kg

calculate_macros

Calculate macronutrient targets.

ParameterTypeDescription
calories *integerDaily calorie target
goalstringGoal: lose, maintain, gain

sleep_cycles

Calculate optimal sleep/wake times based on 90-minute sleep cycles.

ParameterTypeDescription
sleep_timestringDesired sleep time (HH:MM)
wake_timestringDesired wake time (HH:MM)

lorem_words_2

Generate lorem ipsum words.

ParameterTypeDescription
countintegerNumber of words
start_with_lorembooleanStart with 'Lorem ipsum'

lorem_sentences

Generate lorem ipsum sentences.

ParameterTypeDescription
countintegerNumber of sentences
start_with_lorembooleanStart with standard Lorem ipsum sentence

lorem_paragraphs

Generate lorem ipsum paragraphs.

ParameterTypeDescription
countintegerNumber of paragraphs
start_with_lorembooleanStart with standard Lorem ipsum

lorem_html

Generate lorem ipsum as HTML.

ParameterTypeDescription
include_headingsbooleanInclude h2 headings
paragraphsintegerNumber of paragraphs

lorem_markdown

Generate lorem ipsum as Markdown.

ParameterTypeDescription
include_headingsbooleanInclude headings
include_listbooleanInclude a bullet list
paragraphsintegerNumber of paragraphs

lorem_bytes

Generate lorem ipsum of approximately specified byte size.

ParameterTypeDescription
sizeintegerApproximate size in bytes

generate_names

Generate random placeholder names.

ParameterTypeDescription
countintegerNumber of names
include_lastbooleanInclude last names

generate_emails

Generate random placeholder email addresses.

ParameterTypeDescription
countintegerNumber of emails
domainstringEmail domain

generate_addresses

Generate random placeholder addresses.

ParameterTypeDescription
countintegerNumber of addresses

generate_phones

Generate random placeholder phone numbers.

ParameterTypeDescription
countintegerNumber of phone numbers
formatstringFormat: us, international

generate_companies

Generate random placeholder company names.

ParameterTypeDescription
countintegerNumber of company names

generate_dates

Generate random dates.

ParameterTypeDescription
countintegerNumber of dates
end_yearintegerEnd year
formatstringFormat: ISO, US, EU
start_yearintegerStart year

generate_uuids

Generate random UUIDs.

ParameterTypeDescription
countintegerNumber of UUIDs

magic_8_ball

Ask the Magic 8-Ball.

ParameterTypeDescription
question *stringYour yes/no question

dad_joke

Get a random dad joke.

would_you_rather

Get a 'Would You Rather' question.

random_compliment

Generate a random compliment.

ParameterTypeDescription
namestringName to compliment

random_excuse

Generate a random excuse.

ParameterTypeDescription
contextstringContext: work, school, social

friendly_roast

Generate a friendly roast.

ParameterTypeDescription
namestringName to roast

random_trivia

Get a random trivia fact.

random_emoji

Get random emoji(s).

ParameterTypeDescription
categorystringCategory: faces, animals, food, nature, objects, all
countintegerNumber of emojis

yes_no

Get a random yes or no answer.

ParameterTypeDescription
question *stringYour yes/no question

random_integer

Generate random integer(s) within a range.

ParameterTypeDescription
countintegerNumber of integers to generate
max_valintegerMaximum value (inclusive)
min_valintegerMinimum value (inclusive)
uniquebooleanEnsure all values are unique (count must be <= range)

random_float_2

Generate random floating-point number(s).

ParameterTypeDescription
countintegerNumber of floats to generate
decimalsintegerNumber of decimal places
max_valnumberMaximum value
min_valnumberMinimum value

random_boolean

Generate random boolean value(s).

ParameterTypeDescription
countintegerNumber of booleans to generate
true_weightnumberProbability of True (0.0 to 1.0)

random_choice

Pick random item(s) from a list.

ParameterTypeDescription
items *stringComma-separated items to choose from
allow_duplicatesbooleanAllow same item to be chosen multiple times
countintegerNumber of choices to make

random_weighted_choice

Pick random item(s) with weighted probabilities.

ParameterTypeDescription
items *stringComma-separated items (e.g., 'red,green,blue')
weights *stringComma-separated weights (e.g., '50,30,20')
countintegerNumber of choices to make

random_shuffle

Randomly shuffle a list of items.

ParameterTypeDescription
items *stringComma-separated items to shuffle

random_string_2

Generate random string(s) from specified character set.

ParameterTypeDescription
charsetstringCharacter set: alphanumeric, alpha, numeric, lowercase, uppercase, hex, base64, ascii, symbols
countintegerNumber of strings to generate
lengthintegerLength of the string

random_bytes_2

Generate cryptographically secure random bytes.

ParameterTypeDescription
formatstringOutput format: hex, base64, urlsafe
lengthintegerNumber of bytes to generate

random_uuid

Generate random UUID(s).

ParameterTypeDescription
countintegerNumber of UUIDs to generate
versionintegerUUID version (1 or 4)

random_gaussian

Generate random number(s) from a Gaussian (normal) distribution.

ParameterTypeDescription
countintegerNumber of values to generate
decimalsintegerDecimal places
meannumberMean (center) of the distribution
std_devnumberStandard deviation

random_date

Generate random date(s) within a range.

ParameterTypeDescription
countintegerNumber of dates to generate
endstringEnd date (YYYY-MM-DD)
formatstringOutput format: iso, us, eu, unix
startstringStart date (YYYY-MM-DD)

random_time

Generate random time(s) of day.

ParameterTypeDescription
countintegerNumber of times to generate
formatstringOutput format: 24h, 12h, iso
include_secondsbooleanInclude seconds in output

random_color_2

Generate random color(s).

ParameterTypeDescription
countintegerNumber of colors to generate
formatstringOutput format: hex, rgb, hsl, rgba

random_name

Generate random name(s) using Faker with locale support.

ParameterTypeDescription
countintegerNumber of names to generate
genderGender hint: male, female, or null for random
localeLocale (e.g., en_US, es_ES, ja_JP, zh_CN, fr_FR, de_DE)
typestringName type: first, last, full, prefix, suffix

random_email

Generate random email address(es) using Faker.

ParameterTypeDescription
countintegerNumber of emails to generate
domainSpecific domain (e.g., 'example.com')
localeLocale for name-based emails
safebooleanUse safe domains (example.com, etc.) vs realistic domains

random_phone

Generate random phone number(s) using Faker with locale-appropriate formats.

ParameterTypeDescription
countintegerNumber of phone numbers to generate
localeLocale for phone format (e.g., en_US, en_GB, de_DE, ja_JP)

random_ip

Generate random IP address(es).

ParameterTypeDescription
countintegerNumber of IPs to generate
privatebooleanGenerate private IPs only (v4 only)
versionintegerIP version: 4 or 6

random_mac

Generate random MAC address(es).

ParameterTypeDescription
countintegerNumber of MAC addresses to generate
separatorstringSeparator: :, -, or none
uppercasebooleanUse uppercase letters

random_coordinates

Generate random geographic coordinates.

ParameterTypeDescription
countintegerNumber of coordinate pairs to generate
decimalsintegerDecimal precision
regionRegion: us, eu, asia, or null for worldwide

random_dice

Roll dice with configurable sides.

ParameterTypeDescription
countintegerNumber of dice to roll
sidesintegerNumber of sides on the die

random_coin

Flip a coin (optionally biased).

ParameterTypeDescription
biasnumberProbability of heads (0.5 = fair coin)
countintegerNumber of coin flips

random_card

Draw random playing card(s) from a deck.

ParameterTypeDescription
countintegerNumber of cards to draw
include_jokersbooleanInclude joker cards

random_password

Generate secure random password(s).

ParameterTypeDescription
countintegerNumber of passwords to generate
exclude_ambiguousbooleanExclude ambiguous characters (0O1lI)
lengthintegerPassword length
lowercasebooleanInclude lowercase letters
numbersbooleanInclude numbers
symbolsbooleanInclude symbols
uppercasebooleanInclude uppercase letters

random_hex

Generate random hexadecimal string(s).

ParameterTypeDescription
countintegerNumber of hex strings to generate
lengthintegerNumber of hex characters
prefixbooleanInclude 0x prefix
uppercasebooleanUse uppercase letters

random_element

Get random chemical element(s).

ParameterTypeDescription
countintegerNumber of elements to pick

random_emoji_2

Get random emoji(s).

ParameterTypeDescription
categoryCategory: faces, animals, food, nature, objects, or null for all
countintegerNumber of emojis to pick

random_address

Generate random address(es) using Faker with locale support.

ParameterTypeDescription
countintegerNumber of addresses to generate
localeLocale (e.g., en_US, en_GB, de_DE, ja_JP)

random_company

Generate random company name(s) using Faker.

ParameterTypeDescription
countintegerNumber of companies to generate
localeLocale (e.g., en_US, ja_JP, de_DE)

random_job

Generate random job title(s) using Faker.

ParameterTypeDescription
countintegerNumber of job titles to generate
localeLocale (e.g., en_US, fr_FR, de_DE)

random_person

Generate complete random person profile(s) using Faker.

ParameterTypeDescription
countintegerNumber of people to generate
genderGender hint: male, female, or null for random
localeLocale (e.g., en_US, es_ES, ja_JP, zh_CN)

random_text

Generate random text using Faker.

ParameterTypeDescription
countintegerNumber of items (words, sentences, or paragraphs)
localeLocale for text generation
typestringType: word, words, sentence, sentences, paragraph, paragraphs, text

random_username

Generate random username(s) using Faker.

ParameterTypeDescription
countintegerNumber of usernames to generate
localeLocale for username style

random_url

Generate random URL(s) using Faker.

ParameterTypeDescription
countintegerNumber of URLs to generate

random_credit_card

Generate random credit card details (fake, for testing only).

ParameterTypeDescription
countintegerNumber of cards to generate
typeCard type: visa, mastercard, amex, discover, or null for random

list_locales

List available locales for Faker-powered endpoints.

echo

Echo back the message. For testing.

ParameterTypeDescription
message *stringMessage to echo back

ping

Ping endpoint. Returns pong.

null

Returns null. For when you need a null.

true_endpoint

Returns true.

false_endpoint

Returns false.

empty_array

Returns an empty array.

empty_object

Returns an empty object.

user_agent

Parse a user agent string.

ParameterTypeDescription
ua *stringUser agent string to parse

ip_info_2

Get basic information about an IP address.

ParameterTypeDescription
ip *stringIP address to get info for

rgb_to_hsl

Convert RGB to HSL color.

ParameterTypeDescription
b *integerBlue (0-255)
g *integerGreen (0-255)
r *integerRed (0-255)

compare_2

Compare two values.

ParameterTypeDescription
a *stringFirst value
b *stringSecond value

sort_items

Sort a list of items.

ParameterTypeDescription
items *stringComma-separated items to sort
numericbooleanSort as numbers
orderstringSort order (asc or desc)

unique_items

Get unique items from a list.

ParameterTypeDescription
items *stringComma-separated items

count_items

Count occurrences of each item.

ParameterTypeDescription
items *stringComma-separated items

min_value

Find minimum value.

ParameterTypeDescription
numbers *stringComma-separated numbers

max_value

Find maximum value.

ParameterTypeDescription
numbers *stringComma-separated numbers

fizzbuzz

The classic FizzBuzz. Enterprise-grade.

ParameterTypeDescription
n *integerNumber to check

hello_world

Hello World as a Service.

ParameterTypeDescription
namestringName to greet

status_code_info

Get information about an HTTP status code.

ParameterTypeDescription
code *integerHTTP status code

chunk_array

Split items into chunks of specified size.

ParameterTypeDescription
items *stringComma-separated items
sizeintegerChunk size

flatten_array

Flatten a nested array.

ParameterTypeDescription
json_array *stringNested JSON array to flatten

in_range

Check if a value is within a range.

ParameterTypeDescription
max_val *numberMaximum value
min_val *numberMinimum value
value *numberValue to check