> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usemoonshine.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Run Moonshine Functions

> The general purpose function to run workflows and nodes

## Using the Run Function

Run is the general purpose function run workflows and nodes. To use run:

<CodeGroup>
  ```python python theme={null}
  moonshine.run(flow="[function_path]", ...)
  ```
</CodeGroup>

The flow is a path to the function or workflow being run. The later sections will cover the functions and how to run workflows. The rest of the parameters will depend on the function being run.

Go to [Functions](/sdk-docs/functions) to read the docs for all available functions and go to [Workflows](/sdk-docs/workflows) to read the docs for running workflows.

***

<Accordion title="run()" icon="code-simple">
  <ParamField path="flow" type="string" required>
    Path to the function or workflow being run, ex: "/core/search"
  </ParamField>

  <ParamField path="...">
    All other paramters required based on the function being run.
  </ParamField>
</Accordion>
