Welcome to the Google Home Developer Center, the new destination for learning how to develop smart home actions. Note: You'll continue building actions in the Actions console.

Generic intent handler.

Type parameters

  • REQ

  • RES

Callable

  • __call ( request REQ ) : Promise < RES > | RES
  • Callback function for the intent.

    Implement this function to handle each intent request and return a response.

    Parameters

    • request: REQ

    Returns Promise<RES> | RES