summaryrefslogtreecommitdiff
path: root/packages/server/src/tools/shell.json
blob: a4c018c72f568630ae817c67c97c373ff0324db6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  "type": "object",
  "properties": {
    "command": {
      "description": "Exact bash command to execute as `bash -c <command>`",
      "type": "string"
    },
    "description": {
      "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"
    },
    "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"]
}