run_task
Execute Union tasks using natural language by specifying project, domain, name, and inputs to automate workflows and applications.
Instructions
Run a task with natural language.
- Based on the prompt and inputs dictionary, determine the task to run
- Format the inputs dictionary so that it matches the task function signature
- Invoke the task
Args:
project: Project to run the task in.
domain: Domain to run the task in.
name: Name of the task to run.
inputs: A dictionary of inputs to the task.
Returns:
A dictionary of outputs from the task.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| inputs | Yes | ||
| name | Yes | ||
| project | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |