git_config
Read or write repository git configuration: get a key's value when none is provided, set a value, or unset a key in a local repo.
Instructions
Read or write repository git configuration.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "git_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional local working directory or repository path. | |
| name | Yes | Config key. | |
| unset | No | Unset this config key. | |
| value | No | Optional value. When omitted, reads the key. |