Write shell
shell_writePut a file on your machine, creating any missing directories. The only file operation that is not a shell command, because it is the one a shell is bad at: source is full of quotes and backticks and a heredoc will mangle it. The content arrives as a string and reaches the file without a shell seeing it. To read, list, search or change a file, use the shell — cat, ls, grep and sed are right there
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Where to put it, relative to /work — not to the directory your last command left you in. Missing directories are created | |
| content | Yes | The whole file. This replaces what was there |