linux_linux_command_builder
Assemble correct, shell-quoted command strings for 11 Linux tools (find, grep, sed, etc.) from structured fields. Risky flags are flagged with warnings. Does not execute commands.
Instructions
Linux Command Builder. Build correct command-line strings for 11 Linux tools (find, grep, sed, awk, rsync, tar, curl, ssh, scp, ffmpeg, imagemagick) from structured fields, with every argument shell-quoted and risky flags (find -delete, rsync --delete, curl to remote URLs) flagged as warnings. It only assembles command text and never executes anything, so use it to author or template a command you will run yourself; reach for linux_user_group_manager instead when you specifically need useradd/usermod/groupadd account commands, or linux_systemd_unit_generator for unit files. Runs locally: read-only, non-destructive, contacts no external service, rate-limited to 30 requests/minute for anonymous callers. Returns the built command plus per-flag explanations, the files it reads or writes, and safety warnings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | No | build assembles a command from tool plus fields; tools lists every supported command and its sub-form fields; presets lists curated ready-made field sets. Defaults to build. | build |
| tool | No | Which Linux command to build (required only when operation is build). Unknown values return HTTP 400. | |
| fields | No | Per-tool option map whose accepted keys depend on the chosen tool (for example find uses path, namePattern, size, mtime, fileType, executor; rsync uses src, dst, archive, delete; tar uses operation, compression, output). Call operation tools to discover the exact field names for each command. Omitted or blank fields are skipped; unknown keys are ignored. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | Always true when the request succeeded. | |
| operation | No | The operation that was performed (build, tools, or presets). | |
| result | No | Operation payload. For build it holds command, explanation, warnings, and files; for tools/presets it wraps the respective catalogue array. |