urml

v0.5.4
io.github.urml-dev/urml Checked 4 days ago Published 6 days ago

Checks a URML robot program against the robot's capabilities and safety envelope before it moves.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

urml_get_contract

Return the Layer-4 contract to emit URML against: the system prompt plus the URML program JSON Schema, given a robot capability manifest and optional safety envelope and profiles. Call this first, emit a URML program yourself, then call urml_validate. The server never calls an LLM. If the operator pinned the manifest, envelope or profiles, omit them: the pinned values are used, a different value is refused, and the result lists what is pinned.

ParameterTypeDescription
envelope
manifest
profiles

urml_validate

Validate a URML program against a robot's capability manifest and safety envelope. This is the safety check and it is read-only. Returns accepted plus structured errors and warnings. policy is 'DEFAULT' (bundled US-federal compliance, the default) or 'none' to skip compliance. If the operator pinned the manifest, envelope, profiles or policy, omit them: the pinned values are used and a different value is refused. Rulebooks (government and company rules, rule.* codes) are set by the operator only and apply to every call; the result lists them with their obligations.

ParameterTypeDescription
program *object
envelope
manifest
policy
profiles

urml_execute

Execute a URML program against a substrate adapter and return the run trace. adapter defaults to 'mock' (hermetic, no hardware). 'ros2', 'px4' and 'ardupilot' actuate real hardware: they need the URML_MCP_ALLOW_REAL_EXECUTE env var, a manifest and an envelope pinned by the operator, and the relevant runtime. The program is validated before any runtime or adapter is built, and the runtime re-validates before running; nothing reaches an actuator without passing the validator. If the operator pinned the manifest, envelope or profiles, omit them: the pinned values are u…

ParameterTypeDescription
program *object
adapterstring
envelope
manifest
profiles

urml_list_profiles

List the URML profiles available (home, industrial, drone, educational, fleet) with a one-line description of each.

urml_describe_manifest

Return a compact structural summary of a capability manifest so you can see what a robot declares before emitting intent. Omit manifest to describe the one the operator pinned.

ParameterTypeDescription
manifest