oz0 tool call

Usage and flags for oz0 tool call.

For: Operators and developers looking up a command.

Call one function of a tenant's tool, such as jev.decide (or by its address, such as jev-tools/jev.decide, which the server checks against the plugin that provides the tool), with --args as its arguments, and print what it returned.

The call runs as a job of its own (tool-<id>, named tool:<function> in job list), on a node of the tenant whose plugin has the function ready, or the one --node names: the tenant's tool policy, the plugins' pre_tool_call and post_tool_call hooks and approvals decide it as they decide an agent's call. A call that waits for approval waits until someone decides it (approval list), and a refused one says which rule refused it and how to fix it.

The job's trace is in job trace and on its page in the web UI.

Usage

oz0 tool call <tool>.<function> | <plugin>/<tool>.<function> [flags]

Flags

FlagTypeDefaultDescription
--argsstring{}the function's arguments, as a JSON object
--idstringthe call's job ID (default: tool-<a new random one>); an ID whose ended job's files are still kept is refused
--jsonboolprint JSON instead of a table
--nodestringan online node of the tenant that has the function readythe node to call it on
--quiet (-q)boolprint only the result
--tenantstringdefaulttenant
--waitdurationuntil the call ends, approvals includedlongest to wait for the result

Inherited flags

FlagTypeDefaultDescription
--contextstring$OZ0_CONTEXT or <config dir>/orchestrator-zero/context.jsonCLI context file written by server init
--log-levelstringinfolog level: debug, info, warn or error

See all oz0 commands and the global flags.

On this page
Copyright © 2026