jc already has this, see ‘jc dig example.com’ in examples. They call it ‘alternative magic syntax’, but IMO it should be the primary syntax, while piping and second-guessing the previous commands parameters and version should be used only in exceptional cases.
jc 'aws sts get-caller-identity' | jq [..]
That way the aws process can be a subprocess of jc, which can read where the binary is and get its version automatically.