generate_pr_title
Creates a pull request title based on branch info. Automatically uses ticket numbers or branch prefixes, or accepts a custom summary.
Instructions
Generate a PR title based on branch info.
Prefix behavior:
If ticket found in branch name, uses ticket as prefix
If no ticket but branch has prefix (task/, bug/, etc.), uses that
If no summary is provided, extracts one from the branch name.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_pr_title"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoPath | No | Path to the git repository. IMPORTANT: Always pass the user's current project/workspace directory. | |
| summary | No | Summary for the PR title (if not provided, will extract from branch) |