list_templates
Lists all available Pull Request and Merge Request templates stored in your git repository. Use this to review template options before creating a new PR or MR through the git-mcp server.
Instructions
List all available Pull Request / Merge Request templates found in the repository.
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": {
"cwd": "<cwd>"
},
"name": "list_templates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Working directory — must be inside a git repository |