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 |
Input Schema (JSON Schema)
{
"properties": {
"domain": {
"title": "Domain",
"type": "string"
},
"inputs": {
"additionalProperties": true,
"title": "Inputs",
"type": "object"
},
"name": {
"title": "Name",
"type": "string"
},
"project": {
"title": "Project",
"type": "string"
}
},
"required": [
"name",
"inputs",
"project",
"domain"
],
"title": "run_taskArguments",
"type": "object"
}