Preset Workflow
preset_workflowSave, list, view, run, or delete reusable multi-step macro presets for GUI automation. Execute recorded interaction sequences atomically across desktop apps.
Instructions
Manages and executes reusable multi-step interaction macro presets.
Actions:
'list' (default if name is None): Lists all saved presets with descriptions.
'run' (default if name is provided): Executes the preset sequence atomically.
'view': Returns the full step sequence and metadata for the specified preset.
'save': Saves or updates a preset sequence to .agents/artifacts/presets/.json.
'delete': Deletes a preset artifact.
Step schema matches batch_actions:
{"action": "interact", "target": "b1"}
{"action": "type", "target": "e1", "text": "value"}
{"action": "click", "x": 100, "y": 200, "button": "left"}
{"action": "key", "keys": ["ctrl", "a"]}
{"action": "scroll", "dx": 0, "dy": 5}
{"action": "hover", "target": "b1"}
{"action": "wait", "ms": 50}
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "preset_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| name | No | ||
| steps | No | ||
| action | No | run | |
| target_app | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||