def METHOD_NAME(target_name, screen_name, scope=OPENC3_SCOPE):
    try:
        endpoint = f"/openc3-api/screen/{target_name.upper()}/{screen_name.upper()}"
        response = openc3.script.API_SERVER.request(
            "get",
            endpoint,
            headers={
                "Accept": "text/plain",
            },
            scope=scope,
        )
        if not response or response.status_code != 200:
            raise RuntimeError(
                f"Screen definition not found: {target_name} {screen_name}"
            )
        return response.text
    except Exception as error:
        raise RuntimeError(
            f"get_screen_definition failed due to {repr(error)}"
        ) from error