fn job_status_result(status: &JobStatus) -> CallToolResult
Returns the state of a job as structured content, or its error as a tool error, like any other tool, if the job failed.