Tous les outils

Documents et code · github_open_pull_request

Ouvrir une pull request

Propose les changements du bac à sable en pull request GitHub, après validation humaine.

Prix
1 crédit / appel
≈ 0,078 € · 0,085 $US
Prérequis
GitHub
à brancher dans Paramètres → Intégrations
Validation humaine
Oui, par défaut
écriture vers l'extérieur : un humain valide
Fiabilité
Vérifié
pas encore mesuré

Entrée

ChampTypeDescription
path *stringCheckout path in the sandbox (from repo_checkout).
title *stringPR title (imperative, under 70 characters).
body *stringPR description in markdown: what, why, verification done, what was not tested.
branchstringHead branch name (default ezyagents/<slug>-<timestamp>).
basestringBase branch (default: the repository default branch).
commit_messagestringCommit message (default: the title).
draftbooleanOpen as a draft PR (default false).

Appeler cet outil

Via l'API HTTP, ou depuis le serveur MCP avec le méta-outil run.

curl https://api.ezyagents.fr/gateway/v1/run \
  -H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
  -d '{"tool":"github_open_pull_request","input":{"path":"…","title":"…","body":"…","branch":"…"}}'
$run({ "tool": "github_open_pull_request", "input": {"path":"…","title":"…","body":"…","branch":"…"} })