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). ReturnsNoneif 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 oneResponseItemper 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 aResponseItemas it arrives. A non-zero exit code surfaces as a finalErr(Error::ToolExit(code)).