Expand description
Subprocess tool executor โ runs tools as external processes via stdin/stdout JSON-RPC.
Each tool maps to a command (binary or script). The runtime sends a JSON-RPC request on stdin and reads the JSON-RPC response from stdout. This enables language-agnostic tool authoring: any program that reads JSON from stdin and writes JSON to stdout works.
Structsยง
- Subprocess
Tool - Registration for a subprocess tool โ maps a tool name to a command.
- Subprocess
Tool Executor - Tool executor that runs tools as subprocesses via stdin/stdout JSON-RPC.