Skip to content

Build User Tools

Sovereign
Sovereign tier required. User Tools extend Valdr Workflows with your own programs and CLI adapters.

Every team has scripts that matter: the build wrapper, the release check, the one-liner that reads a ticket or a cloud account. User Tools turn those programs into first-class workflow steps. Describe each action once in a short YAML manifest, and Valdr gives it a named entry in the Builder, schema-checked inputs, typed JSON outputs for later steps, and a pinned revision, so a workflow keeps running the exact code you reviewed.

Write your tool in any language that can read standard input and write standard output. No SDK, plugin API, or MCP server is required.

Installed tools appear in the Builder by name. Each step pins the exact revision and content hash you selected.

Why not just run a command?

A Command step is ideal for a one-off npm test. Once a script becomes something several workflows depend on, a loose shell string starts to cost you: inputs go unchecked, output is text you have to parse, and the script can change underneath a workflow you already reviewed.

The payoff compounds. Write the adapter once, and every workflow that needs it gets the same validated contract, the same reviewed code, and a step result you can inspect after every run.

How it works

You create three things:

  • A program that reads one JSON request and writes one JSON result.
  • A manifest (.tool.yaml) that names the tool, its actions, and the inputs and outputs of each action.
  • A pack that bundles those files so you can import them into Valdr, or share them with your team.

After import, the tool appears in Workflows > Tools and in the Builder’s User tools library group.

Local-first: User tools run on the machine running Valdr (the workflow host), as your user, with the runtimes and CLI sign-ins already installed there. Valdr keeps the reviewed tool source and every run’s evidence in your local workspace until you delete them.

Find what you need

Start with the starter pack to see what’s available, then build and run your own tool. The CLI and Maven guides show how to apply the same pattern to your projects. Keep the schema and execution references nearby as you build, and use the troubleshooting guide when something fails.

I want to…Read
Start from working code or a ready-made CLI adapterUse the Starter Pack
Use a tool someone already builtUser Tools
Build a tool from scratchBuild Your First Tool
Import a tool or ship a new versionPackage, Import, and Update
Turn an installed CLI into workflow actionsWrap a CLI
Run Java builds without flooding the run with logsMaven Builds
Look up a manifest field or schema ruleManifest and Schemas
Understand requests, results, and retriesRequests and Execution
Diagnose a tool that failsTest and Troubleshoot

Next step

Use the Starter Pack to explore working examples and choose a starting point for your own tool.