{
  "name": "git.clone-repo",
  "description": "Clones a Git repository",
  "signature": {
    "input": {
      "kind": "git-url",
      "description": "Repository URL to clone",
      "required": true,
      "mode": "ValueOrExpression"
    },
    "children": {
      "path": {
        "type": "string",
        "kind": "git-repo-path",
        "description": "Destination repository folder",
        "required": false,
        "mode": "ValueOrExpression",
        "cardinality": "ZeroOrOne",
        "role": "Option",
        "projection": "Value"
      },
      "branch": {
        "type": "string",
        "kind": "git-branch",
        "description": "Branch to clone",
        "required": false,
        "mode": "ValueOrExpression",
        "cardinality": "ZeroOrOne",
        "role": "Option",
        "projection": "Value"
      },
      "depth": {
        "type": "int",
        "description": "Shallow clone depth",
        "required": false,
        "mode": "ValueOrExpression",
        "cardinality": "ZeroOrOne",
        "role": "Option",
        "projection": "Value"
      }
    },
    "output": {
      "mode": "Value",
      "kind": "git-response,text",
      "description": "Resolves to the git clone command output"
    }
  }
}
