Create repository
create_repositoryCreate a new Forgejo or Gitea repository for your account or an organization. Configure visibility, README initialization, description, and default branch.
Instructions
Create a repository for the authenticated user, or for an organization if org is given.
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": "create_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | No | Create under this organization instead of the user | |
| name | Yes | ||
| private | No | ||
| auto_init | No | Initialize with a README | |
| description | No | ||
| default_branch | No |