--- title: "Execute Function" url: https://docs.catalyst.zoho.com/en/sdk/python/v1/serverless/functions/execute-function/ description: "This page describes the method to execute functions in your Python application with sample code snippets." last_updated: 2025-05-07T08:17:01Z service: Serverless type: general related_links: - name: "Execute Function - API" url: /en/api/code-reference/serverless/functions/execute-function/#ExecuteFunction - name: "Functions Help" url: /en/serverless/help/functions/introduction --- # Execute the function A function can be executed by calling the `execute()` method in which the function ID and the configuration (of type dictionary) are passed as parameters. To know more about the component instance `function_service` used below, please refer to [this help section](https://docs.catalyst.zoho.com/en/sdk/python/v1/serverless/functions/get-component-instance/). Before executing a function, you must set the configuration required for it. Here, the configuration specifies the function arguments and their values. The unique functionID is passed as a parameter to the `execute()` method to call the function to be executed with the necessary configuration. The configuration can be set using the following code snippet : **Parameters Used**
Parameter Name Data Type Definition
`function_ID` Numeric A **Mandatory** parameter. Will store the unique ID the function to be executed.
`function_config` Object A **Mandatory** parameter. Will store the configuration of the function to be executed.
```python function_service = app.functions() args = {"Name": "Amelia"} return_value = function_service.execute(5249000000015567, args) ``` > **Info :** 1. Refer to the [SDK Scopes table](https://docs.catalyst.zoho.com/en/sdk/python/v1/sdk-scopes) to determine the required permission level for performing the above operation. 2. You can also pass the function name as a string to the `execute()` method instead of using the function ID.