Are we reinventing RPC again? Calling CLI program with JSON sounds like RPC call. The schema feels likes something LSP can provided for such function.
Maybe asking agent to write/execute code that wraps CLI is a better solution.
Maybe asking agent to write/execute code that wraps CLI is a better solution.
Everything old is new again...