client: Honor IsError and extract JSON from tool text
CI / Test and build (pull_request) Successful in 13s