client: Honor IsError and extract JSON from tool text
All checks were successful
CI / Test and build (pull_request) Successful in 13s
client: Prefer structuredContent in toolJSON
All checks were successful
CI / Test and build (pull_request) Successful in 12s