mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-28 23:11:19 -07:00
shell bones (#160)
* shell bones * Merge remote-tracking branch 'origin/main' into shell_bones * add line break * another line break * drop the log to avoid breaking terminals * rename tool to be consistent with terminal * fix build
This commit is contained in:
18
packages/server/src/tools/shell.json
Normal file
18
packages/server/src/tools/shell.json
Normal file
@@ -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"]
|
||||
}
|
||||
Reference in New Issue
Block a user