def METHOD_NAME():
    """
    JSON request body:
    ```
    {
        "worksheet_uuid": "0xea72f9b6aa754636a6657ff2b5e005b0",
        "command": "cl run :main.py 'python main.py'",
        "autocomplete": false
    }
    ```
    JSON response body:
    ```
    {
        "structured_result": { ... },
        "output": "..."
    }
    ```
    """
    query = request.json
    if 'worksheet_uuid' not in query:
        abort(httplib.BAD_REQUEST, 'Missing `workhseet_uuid`')
    if 'command' not in query:
        abort(httplib.BAD_REQUEST, 'Missing `command`')
    # If 'autocomplete' field is set, return a list of completions instead
    if query.get('autocomplete', False):
        return {'completions': complete_command(query['worksheet_uuid'], query['command'])}
    return general_command(query['worksheet_uuid'], query['command'])