minimal shell tool (#191)

This commit is contained in:
Olcan
2025-04-27 18:57:10 -07:00
committed by GitHub
parent 74dd7fca98
commit 6d32405d74
3 changed files with 155 additions and 22 deletions

View File

@@ -2,16 +2,16 @@
"type": "object",
"properties": {
"command": {
"description": "The exact bash command or sequence of commands (using ';' or '&&') to execute. Must adhere to usage guidelines. Example: 'npm install && npm run build'",
"description": "Exact bash command to execute as `bash -c <command>`",
"type": "string"
},
"description": {
"description": "Optional: A brief, user-centric explanation of what the command does and why it's being run. Used for logging and confirmation prompts. Example: 'Install project dependencies'",
"description": "Brief description of the command for the user. Be specific and concise. Ideally a single sentence. Can be up to 3 sentences for clarity. No line breaks.",
"type": "string"
},
"runInBackground": {
"description": "If true, execute the command in the background using '&'. Defaults to false. Use for servers or long tasks.",
"type": "boolean"
"directory": {
"description": "(OPTIONAL) Directory to run the command in, if not the project root directory. Must be relative to the project root directory and must already exist.",
"type": "string"
}
},
"required": ["command"]