create_bash_script
Generate and save a bash script file with custom content, specifying the path and optionally making it executable. Ideal for automating tasks in Linux environments via the Linux Bash MCP Server.
Instructions
Create a bash script file with specified content
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | Content of the bash script | |
executable | No | Make the script executable (optional, defaults to true) | |
scriptPath | Yes | Path where to create the script file |
Input Schema (JSON Schema)
{
"properties": {
"content": {
"description": "Content of the bash script",
"type": "string"
},
"executable": {
"default": true,
"description": "Make the script executable (optional, defaults to true)",
"type": "boolean"
},
"scriptPath": {
"description": "Path where to create the script file",
"type": "string"
}
},
"required": [
"scriptPath",
"content"
],
"type": "object"
}