Expand description
CommandTool — declarative JSON-defined tools executed as subprocesses.
Plugin tools are defined as JSON files specifying a command, optional args, timeout, and permission level. At runtime, arguments are piped as JSON to stdin; stdout JSON is the tool result.
Structs§
- Command
Tool - A
Toolimplementation backed by a subprocess command. - Tool
Spec - Declarative JSON spec for a plugin tool (e.g.
tools/my-tool.json).
Enums§
Functions§
- load_
tool_ spec - Load a tool spec from a JSON file.