create_workspace_action
Creates a new automation action in a specified workspace and returns its ID. Requires workspace ID, title, and metadata.
Instructions
Create a workspace automation action. Returns the new action ID.
workspace_id: target workspace ID — get available IDs from list_workspaces()
metadata example for a webhook trigger:
{"$type": "ProgressionUpdatedMetadata", "webhookUrl": "https://..."}
hub_profile_ids: profiles this action applies to (default: all)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspace_id": "<workspace_id>",
"title": "<title>",
"metadata": "<metadata>"
},
"name": "create_workspace_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| details | No | ||
| metadata | Yes | ||
| workspace_id | Yes | ||
| hub_profile_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |