text_editor_code_execution
Generated from the Macro Rust tool registry.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
command | string | Yes | The command to execute: “view”, “create”, or “str_replace” |
file_text | string | No | File content for create operations |
new_str | string | No | Replacement string for str_replace operations |
old_str | string | No | String to find for str_replace operations |
path | string | Yes | Path to the file |