> For the complete documentation index, see [llms.txt](https://utca.knowledgator.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://utca.knowledgator.com/base-actions/executefunction.md).

# ExecuteFunction

Execute provided function

Subclass of [**Action**](/core/action.md)**.**

## Module: [core](/framework-structure.md#core)

## Methods and properties

Main methods and properties

***

### <mark style="color:blue;">\_\_init\_\_</mark>

#### Arguments:

* <mark style="color:orange;">**f**</mark>**&#x20;(Callable\[\[**[**ActionInput**](/core/schemas.md#actioninput)**],** [**ActionOutput**](/core/schemas.md#actionoutput)**]):** Function for execution.
* <mark style="color:orange;">**name**</mark>**&#x20;(Optional\[str], optional):** Name for identification. If equals to None, class name will be used. Defaults to None.
* <mark style="color:orange;">**default\_key**</mark>**&#x20;(str, optional):** Default key used for results that is not of type Dict. Defaults to "output".
* <mark style="color:orange;">**replace**</mark>**&#x20;(**[**ReplacingScope**](/core/schemas.md#replacingscope)**, optional):** Replacing strategy. Defaults to [**ReplacingScope**](/core/schemas.md#replacingscope)**.**[**INPLACE**](/core/schemas.md#inplace).

***

### <mark style="color:blue;">execute</mark>

Execute provided function

#### Arguments:

* <mark style="color:orange;">**input\_data**</mark>**&#x20;(**[**ActionInput**](/core/schemas.md#actioninput)**):** Function input.

#### Returns:

* [**ActionOutput**](/core/schemas.md#actionoutput)**:** Function output.
