mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-28 23:11:19 -07:00
minimal shell tool (#191)
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user