git_init
Initialize a new git repository at a specified path, creating the directory if needed. Optionally add a .plumb/ workspace marker to enable automatic project attachment.
Instructions
Initialise a new git repository at the given path (git init). The directory is created if it does not exist. Set init_plumb: true to also create a .plumb/ workspace marker with a blank context.md, so plumb attaches to the project automatically on the next session.
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": "git_init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Absolute path, file:// URI, or workspace-relative path of the directory to initialise as a git repository. Created if it does not exist. | |
| init_plumb | No | Also create a .plumb/ workspace marker with a blank context.md so plumb attaches to the project on the next session. Default false. |