run_task
Run the stored per-language build, lint, test, e2e, or verify command, optionally passing a single target argument, without ever executing arbitrary shell input.
Instructions
Run a stored per-language task command — build, lint, test, e2e, or verify (build then test) — configured in [tasks.]. It executes only the command the user saved for this workspace's language (no shell, no agent-supplied command line); the optional target fills a {target} placeholder with one shell-safe argument. A project-supplied (.plumb/config.toml) command must be trusted first (run plumb trust); the shipped defaults and global-config commands always run. Output and runtime are bounded. Pairs with topology_affected (which says WHICH tests to run; this runs them).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | No | Which stored task command to run: build, lint, test, e2e (integration), or verify (build then test). The command is configured per language in [tasks.<lang>] and resolved for this workspace's language — you cannot pass an arbitrary command. | |
| target | No | Optional target substituted for a literal {target} token in the stored command (e.g. a single test name or package). Restricted to one shell-safe argument ([A-Za-z0-9._/:@-]); refused if the stored command has no {target}. |