publish_current_project
Publish any working directory as a GitHub repository. Automatically generates README and .gitignore, initializes git, creates the repo, commits, pushes, and returns the URL.
Instructions
Publish the current working directory as a GitHub repository.
Detects the project, generates a README and .gitignore when missing, initializes git if needed, creates the GitHub repository if needed, commits and pushes everything, then returns the repository URL.
Args: repo_name: GitHub repository name (defaults to the folder name). description: short description for the new repository. private: whether the repository is private. commit_message: optional commit message for the initial commit. branch: default branch for new repositories.
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": "publish_current_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | main | |
| private | No | ||
| repo_name | No | ||
| description | No | ||
| commit_message | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||