Skip to main content

kapi exec

kapi exec

Execute any CLI-visible registry tool on files: one tool, one pass, no guardrails around it. The top-level verbs are porcelain workflows over this layer: 'kapi translate' wraps recycle → translate → checks, 'kapi up' brings a whole project up to date, 'kapi check' verifies, 'kapi stats' measures. Reach for exec when you want exactly one tool's behavior: a bare 'exec translate' with no Memory pass, a single 'exec term-check', a format converter. The verb pairs with 'kapi run <flow>' the way 'kapi tools' pairs with 'kapi flows': run composes a pipeline, exec executes one tool.

In a project that declares a redaction policy, a tool that calls a model reads every block, and each translation beside it, with the policy's rules applied. The rules apply as well to everything it sends with them: term rules, the voice profile, the content memory's previous version and the instruction. Its output carries the original values. A policy that detects entities stops the run, because no step ahead of the tool finds them.

On a redacted .kpz package (one kapi extract wrote under a redaction policy) a tool reads and writes the placeholders the package holds, and never the withheld values: those stay in the package's vault until kapi merge restores them. In a project that declares a collection's or an item's policy, a tool that calls a model runs over a package only when it is a redacted package kapi extract --format kpz wrote in this project.

Discover tools and their options with 'kapi tools list' and 'kapi tools schema <name>'.

Commandexec
Groupadvanced
Try it

Runs in your browser against a small sample file. Edit the command before running, or press Run to execute it as shown.

kapi exec
Flags

This command has no local flags.

← Back to the Command Reference