km_clone_macro
Duplicate an existing Keyboard Maestro macro by name or UID, optionally providing a new name for the copy.
Instructions
Duplicate an existing macro. Optionally provide a new name.
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": {
"identifier": "<identifier>"
},
"name": "km_clone_macro"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newName | No | Optional: name for the new macro | |
| identifier | Yes | The macro to duplicate (name or UID) |