Skip to main content

Module tools

Module tools 

Source
Expand description

tools tier dispatch. Mirrors objectiveai-sdk-rs/src/cli/command/tools/mod.rs. list and run are streaming leaves; get and install are unary.

Modules§

get
tools get — read one tool’s manifest by (owner, name, version). Returns None if not present.
install
tools install — return the static INSTRUCTIONS.md asset describing how to install a tool from a local path.
list
tools list — bare-naked streaming handler stub. Emits one ResponseItem per installed tool.
run
tools run — resolve a tool by (owner, name, version), build its command from the current platform’s exec vector + the caller’s args, run it with the tool’s version folder as the working directory, and yield each stdout/stderr line as a ResponseItem as it arrives. A non-zero exit code surfaces as a final Err(Error::ToolExit(code)).

Functions§

execute