Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WORKFLOWS_DIR | No | The directory where workflows are stored. By default, workflows are stored in the workflows/ directory. | |
| SLACK_WEBHOOK_URL | No | The Slack webhook URL for the example_slack_message workflow |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_workflow | Create a new Python workflow script.
Args:
name: The name of the workflow (will be used as filename, e.g., "meeting_review_to_slack")
description: A description of what the workflow does
code: The Python code for the workflow. Must include a `run(params: dict = None) -> dict` function.
Returns:
dict: Status of the operation with the file path
Example code structure:
def run(params: dict = None) -> dict:
params = params or {}
# Your workflow logic here
return {"status": "success", "result": "..."} |
| execute_workflow | Execute a workflow script by name.
Args:
name: The name of the workflow to execute
params: Optional dictionary of parameters to pass to the workflow's run() function
Returns:
dict: The result of the workflow execution |
| list_workflows | List all available workflow scripts.
Returns:
dict: List of workflows with their metadata |
| read_workflow | Read the source code of a workflow script.
Args:
name: The name of the workflow to read
Returns:
dict: The workflow source code and metadata |
| update_workflow | Update an existing workflow script.
Args:
name: The name of the workflow to update
description: New description (optional, keeps existing if not provided)
code: New Python code (optional, keeps existing if not provided)
Returns:
dict: Status of the operation |
| delete_workflow | Delete a workflow script.
Args:
name: The name of the workflow to delete
Returns:
dict: Status of the operation |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |