summaryrefslogtreecommitdiff
path: root/packages/server/src/tools/shell.json
diff options
context:
space:
mode:
Diffstat (limited to 'packages/server/src/tools/shell.json')
-rw-r--r--packages/server/src/tools/shell.json10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/server/src/tools/shell.json b/packages/server/src/tools/shell.json
index f1ba372e..a4c018c7 100644
--- a/packages/server/src/tools/shell.json
+++ b/packages/server/src/tools/shell.json
@@ -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"]