github_act
⚠️ ACTS on a GitHub repository: creates a branch. Reading the repository
and its branches is github_repos.
op='create_branch' is how a pull request is opened without a shell, in
three steps:
github_act(op='create_branch', branch='fix/x'), fromref;write the files with
github_files(op='write', branch='fix/x', …)—branchis REQUIRED there, otherwise the commit lands on the default branch; GitHub refuses a write to a branch that does not exist;github_pulls(op='create')with the new branch as head.
⚠️ An existing branch is refused (422), never moved.
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": {
"op": "<op>"
},
"name": "github_act"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | create_branch. | |
| ref | No | the branch name, or full 40-character commit SHA, to start from (default: the repository's default branch). A tag or a short SHA is not resolved. | |
| _org | No | Org (id) de CET APPEL. `oto_list_orgs()`. | |
| repo | No | repository name. | |
| owner | No | repository owner. | |
| _group | No | Équipe (id) de CET APPEL, sous son org parente. | |
| branch | No | the new branch's name (`fix/x`, not `refs/heads/…`). | |
| _run_id | No | OBLIGATOIRE à chaque appel dès `run_start` ou `data_claim_next` : sans lui, l'écriture sur une ligne réservée est refusée. Hérité seulement si le serveur tient un run actif — n'y compte pas. | |
| _account | No | Compte à OPÉRER parmi : `Julien` (org), `Tulina front` (org). `oto_identity(op='list')`. | |
| _project | No | Projet (id) de CET APPEL — jeton PRIMAIRE. `oto_project(op='list')`. | |
| _instance | No | Instance de connecteur PRÉCISE (un credential exact). `oto_instance(op='list')`. |