km_search_replace_action
Find and replace text inside a specific macro action to fix typos or update values.
Instructions
Search and replace text within a specific action in a macro. Useful for fixing typos or updating values.
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": {
"macroIdentifier": "<macroIdentifier>",
"actionIndex": "<actionIndex>",
"searchText": "<searchText>",
"replaceText": "<replaceText>"
},
"name": "km_search_replace_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| searchText | Yes | Text to search for | |
| actionIndex | Yes | Action index (1-based) | |
| replaceText | Yes | Text to replace with | |
| macroIdentifier | Yes | Macro name or UID |