Branch name
branch_nameGenerate a convention-following git branch name from change type, ticket ID, and title, e.g., feat/ABC-123-add-login.
Instructions
Generate a convention-following git branch name from a change type, ticket id and title. Example: {type:'feat', id:'ABC-123', title:'Add login'} => feat/ABC-123-add-login.
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": {
"type": "<type>",
"id": "<id>",
"title": "<title>"
},
"name": "branch_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Issue / ticket id, e.g. ABC-123. Case is preserved. | |
| type | Yes | Change type, used as the branch prefix (e.g. feat, fix, chore). | |
| title | Yes | Short human-readable title, e.g. 'Add login screen'. | |
| maxLength | No | Optional max length for the whole branch name (slug is truncated to fit). | |
| separator | No | Separator used inside the slug and between id and slug. | - |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| slug | Yes | ||
| type | Yes | ||
| branch | Yes |