conductor

v0.4.1
io.github.fainir/conductor Checked 3 days ago Published 1 month ago

Verified tool calls for Claude Code: verify, retry and fallback over hermetic claude calls.

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

slugify

Convert a string into a URL-safe slug. [conductor: verified pure command]

ParameterTypeDescription
text *string

word_count

Count the words and characters in a string. Words are whitespace-separated tokens of the trimmed text; chars is the raw length of the input. [conductor: verified pure command]

ParameterTypeDescription
text *string

normalize_phone

Normalize a phone string to canonical '[+]digits' form by stripping non-digit characters. [conductor: verified pure command]

ParameterTypeDescription
phone *string

extract_contact

Extract a contact's name, email, and phone from a blob of text. [conductor: verified stochastic command]

ParameterTypeDescription
text *string

summarize

Summarize a blob of text in at most a few sentences, using only the text itself. [conductor: verified stochastic command]

ParameterTypeDescription
text *string
max_sentencesinteger

extract_keywords

Extract up to k salient keywords or short phrases that appear verbatim in the input text. [conductor: verified stochastic command]

ParameterTypeDescription
text *string
kinteger

classify_sentiment

Classify the overall sentiment of a piece of text as positive, negative, or neutral. [conductor: verified stochastic command]

ParameterTypeDescription
text *string

redact_pii

Replace every email address and phone number in the input text with [REDACTED], leaving all other text unchanged. [conductor: verified stochastic command]

ParameterTypeDescription
text *string

json_extract

Extract a caller-specified list of fields from a blob of text into a JSON object. Each requested field becomes a key; the value is null when the field is absent from the text. [conductor: verified stochastic command]

ParameterTypeDescription
fields *array
text *string

truncate

Truncate text to at most `max` characters, appending a single-character ellipsis when it must be cut. [conductor: verified pure command]

ParameterTypeDescription
max *number
text *string

dedupe_lines

Split text on newlines and keep the first occurrence of each line, preserving order. [conductor: verified pure command]

ParameterTypeDescription
text *string

extract_urls

Extract all http(s) URLs from a text, deduped while preserving first-seen order. [conductor: verified pure command]

ParameterTypeDescription
text *string

template_fill

Fill a template by replacing every {{key}} token with String(data[key]); fails, naming the keys, if any {{key}} has no value in data. [conductor: verified pure command]

ParameterTypeDescription
data *object
template *string

fix_json

Repair malformed or loosely-formatted JSON text into a valid JSON value. [conductor: verified stochastic command]

ParameterTypeDescription
text *string

extract_dates

Extract every date referenced in a piece of text, normalized to ISO format YYYY-MM-DD. [conductor: verified stochastic command]

ParameterTypeDescription
text *string

categorize

Choose the single best-fitting category for a piece of text from a provided list of categories. [conductor: verified stochastic command]

ParameterTypeDescription
categories *array
text *string

translate

Translate a piece of text into a given target language. [conductor: verified stochastic command]

ParameterTypeDescription
target_language *string
text *string

base64_encode

Encode a UTF-8 string to base64. [conductor: verified pure command]

ParameterTypeDescription
text *string

base64_decode

Decode a base64 string to UTF-8 text. [conductor: verified pure command]

ParameterTypeDescription
encoded *string

extract_emails

Extract all email addresses from text. [conductor: verified pure command]

ParameterTypeDescription
text *string

json_minify

Minify a JSON string by removing insignificant whitespace. [conductor: verified pure command]

ParameterTypeDescription
json *string

to_snake_case

Convert a string to snake_case. [conductor: verified pure command]

ParameterTypeDescription
text *string

detect_language

Detect the natural language of text. [conductor: verified stochastic command]

ParameterTypeDescription
text *string