netcafe-devkit
v1.0.0JSON/YAML, regex, diff, JWT, SQL dialects — the keyless millisecond ops an agent needs mid-task.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
what_can_you_do Find the right tool for a task
Describe a task in plain language (any language) and get back exactly which tools on this server do it, with ready-to-run example calls — instead of reading the whole catalogue and guessing. Also returns multi-step recipes when a task needs several tools chained (invoices to a ledger, a bank statement reconciled, a messy CSV turned into a deliverable). Deterministic and free: it calls no model, costs nothing, and never runs out of quota. Call this FIRST when you are not sure what this server offers.
| Parameter | Type | Description |
|---|---|---|
task * | string | What you are trying to do, e.g. "reconcile a bank statement against my books" or "把一堆发票整理成能入账的表格" |
redact_text Redact secrets and PII before sending text on
Strip emails, phone numbers, ID numbers, API keys, private keys, JWTs, card numbers and IPs out of text, returning the redacted text plus a mapping table to restore them afterwards. Rule-based only — no model sees the input. The same value always maps to the same placeholder, so the answer can be restored.
| Parameter | Type | Description |
|---|---|---|
text * | string | The text to redact. |
only | string | Optional comma-separated subset, e.g. "EMAIL,API_KEY,PRIVATE_KEY". |
json_yaml JSON ↔ YAML, either direction, auto-detected
Converts JSON to YAML or YAML to JSON. It works out which one you gave it, so you do not have to say. A parse failure comes back with the parser message instead of silently producing something that looks fine and is not. Use when a config, a CI file, or a Kubernetes manifest needs to be in the other format.
| Parameter | Type | Description |
|---|---|---|
text * | string | The JSON or YAML content. |
to | string | Optional: "json" or "yaml" to force the direction. |
validate_json Is this JSON valid — and does it have the keys you need?
Checks that text parses as JSON, and optionally that required keys are present with the right top-level types. Returns the specific violations, not just true/false. Checks required + types only — not full JSON Schema, and it says so rather than pretending. Use before feeding generated JSON into something that will fail on it.
| Parameter | Type | Description |
|---|---|---|
text * | string | The JSON to validate. |
schema | string | Optional JSON Schema (as JSON text) — required[] and properties[].type are checked. |
diff_text What changed between two texts, line by line
Returns which lines were added and which were removed, with line numbers — computed with a longest-common-subsequence, not guessed by a model. Use to compare two versions of a config, a document, or any command output, instead of asking an LLM to eyeball two blobs and hoping it notices.
| Parameter | Type | Description |
|---|---|---|
a * | string | The first (before) text. |
b * | string | The second (after) text. |
jwt_decode See inside a JWT — header, payload, and whether it has expired
Decodes the header and payload of a JWT and reports issued-at / expiry as readable timestamps plus seconds remaining. The signature is NOT verified and the response says so — decoding is fine for debugging a token you already hold, but never treat these values as proof of anything; verification needs the secret and belongs in your own service.
| Parameter | Type | Description |
|---|---|---|
token * | string | The JWT string. |
regex_test Does this regex match — and what does it capture?
Runs a regular expression against sample text and returns every match with its position and capture groups (named groups included). Use before wiring a pattern into code, instead of guessing whether the escaping survived the trip through JSON and the shell.
| Parameter | Type | Description |
|---|---|---|
pattern * | string | The regular expression, without surrounding slashes. |
text * | string | The text to test against. |
flags | string | Optional flags, e.g. "gi". Default "g". |
transpile_sql Translate SQL between dialects
Convert a SQL statement from one dialect to another — mysql, postgres, sqlite, tsql, oracle, snowflake, bigquery, redshift, spark, hive, presto, trino, duckdb, clickhouse, databricks, doris, starrocks and more. Deterministic parser (sqlglot), not an LLM: the same input always produces the same output, and syntax errors come back with the exact line and column. Use it when migrating queries between databases or debugging dialect-specific syntax.
| Parameter | Type | Description |
|---|---|---|
sql * | string | The SQL statement (or several, separated by semicolons). |
write * | string | Target dialect, e.g. "postgres", "bigquery", "doris". |
read | string | Source dialect, e.g. "mysql". Omit to auto-detect from generic SQL. |
make_qr Make a QR code
Any text or URL → a QR code PNG you can embed or download. Stateless URL form: https://ainetcafe.com/i/qr/<text>
| Parameter | Type | Description |
|---|---|---|
text * | string | The text or URL to encode. |
json_format json format
Validate and pretty-print JSON (2-space indent). Reports the error location if invalid.
| Parameter | Type | Description |
|---|---|---|
indent | number | |
json | ||
url |
timezone_convert timezone convert
Convert a time between time zones, or get current time in any zone. from/to = IANA zone (Asia/Shanghai), time = YYYY-MM-DDTHH:mm (default now).
| Parameter | Type | Description |
|---|---|---|
from | string | |
time | string | |
to | string |
unit_convert unit convert
Convert units: length, weight, temperature, area, volume, speed, data size. value + from + to (e.g. 100 km mi, 25 c f).
| Parameter | Type | Description |
|---|---|---|
from | string | |
to | string | |
value | number |
sql_from_description sql from description
Plain-language request + table schema → ready-to-run .sql file with comments.
| Parameter | Type | Description |
|---|---|---|
dialect | ||
request | ||
schema | string |
screenshot_url screenshot url
Full-page screenshot of any URL → PNG. The same job screenshot APIs charge $7-79/month for.
| Parameter | Type | Description |
|---|---|---|
url | ||
width | number |