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.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/server/src/tools/shell.json b/packages/server/src/tools/shell.json
new file mode 100644
index 00000000..f1ba372e
--- /dev/null
+++ b/packages/server/src/tools/shell.json
@@ -0,0 +1,18 @@
+{
+ "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'",
+ "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'",
+ "type": "string"
+ },
+ "runInBackground": {
+ "description": "If true, execute the command in the background using '&'. Defaults to false. Use for servers or long tasks.",
+ "type": "boolean"
+ }
+ },
+ "required": ["command"]
+}