branch_create
Create a new knowledge graph branch from seed entities, expanding to connected neighbors up to a specified depth. Branches follow a type/name format for project, feature, domain, spike, or archive.
Instructions
Create a new branch with seed entities. Uses BFS to expand from seeds to N-hop neighbors. Branch names follow format: / where type is project|feature|domain|spike|archive.
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": "branch_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Branch name (e.g., 'project/auth-service', 'feature/jwt') | |
| depth | No | How many hops from seeds to include (default: 2) | |
| checkout | No | Switch to the new branch after creation | |
| description | No | Optional branch description | |
| seed_entities | No | Entity names to seed the branch from |