config.example.json•4.42 kB
{
"tools": [
{
"name": "git_status",
"description": "Show the working tree status including staged, unstaged, and untracked files.",
"subcommand": "status",
"parameters": [
{
"name": "short",
"type": "boolean",
"description": "Give output in short format.",
"flag": "--short",
"required": false
}
]
},
{
"name": "git_commit",
"description": "Record changes to the repository with a commit message.",
"subcommand": "commit",
"parameters": [
{
"name": "message",
"type": "string",
"description": "The commit message describing the changes.",
"flag": "-m",
"required": true
},
{
"name": "all",
"type": "boolean",
"description": "Automatically stage all modified and deleted files before committing.",
"flag": "--all",
"required": false
}
]
},
{
"name": "git_add",
"description": "Add file contents to the staging area.",
"subcommand": "add",
"parameters": [
{
"name": "pathspec",
"type": "string",
"description": "Files to add (use '.' for all files in current directory).",
"required": true
},
{
"name": "force",
"type": "boolean",
"description": "Allow adding otherwise ignored files.",
"flag": "--force",
"required": false
}
]
},
{
"name": "git_remote_add",
"description": "Add a new remote repository.",
"subcommand": "remote add",
"parameters": [
{
"name": "name",
"type": "string",
"description": "Name of the remote (e.g., 'origin').",
"required": true
},
{
"name": "url",
"type": "string",
"description": "URL of the remote repository.",
"required": true
}
]
},
{
"name": "git_log",
"description": "Show commit logs.",
"subcommand": "log",
"parameters": [
{
"name": "oneline",
"type": "boolean",
"description": "Show each commit on a single line.",
"flag": "--oneline",
"required": false
},
{
"name": "max_count",
"type": "number",
"description": "Limit the number of commits to show.",
"flag": "-n",
"required": false
}
]
},
{
"name": "git_branch",
"description": "List, create, or delete branches.",
"subcommand": "branch",
"parameters": [
{
"name": "name",
"type": "string",
"description": "Name of branch to create. If omitted, lists existing branches.",
"required": false
},
{
"name": "delete",
"type": "boolean",
"description": "Delete the specified branch.",
"flag": "-d",
"required": false
},
{
"name": "all",
"type": "boolean",
"description": "List both remote-tracking and local branches.",
"flag": "--all",
"required": false
}
]
},
{
"name": "git_checkout",
"description": "Switch branches or restore working tree files.",
"subcommand": "checkout",
"parameters": [
{
"name": "target",
"type": "string",
"description": "Branch name or commit to checkout.",
"required": true
},
{
"name": "create",
"type": "boolean",
"description": "Create a new branch and switch to it.",
"flag": "-b",
"required": false
}
]
},
{
"name": "git_diff",
"description": "Show changes between commits, working tree, etc.",
"subcommand": "diff",
"parameters": [
{
"name": "cached",
"type": "boolean",
"description": "Show staged changes (to be committed).",
"flag": "--cached",
"required": false
},
{
"name": "path",
"type": "string",
"description": "Limit diff to specific file or directory.",
"required": false
}
]
}
]
}