API reference for Agents.clean_json_output
This is a method of the Agents class in the agents module.
def clean_json_output(output: str) -> str