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
| Champ | Type | Description |
|---|---|---|
| path * | string | Checkout path in the sandbox (from repo_checkout). |
| title * | string | PR title (imperative, under 70 characters). |
| body * | string | PR description in markdown: what, why, verification done, what was not tested. |
| branch | string | Head branch name (default ezyagents/<slug>-<timestamp>). |
| base | string | Base branch (default: the repository default branch). |
| commit_message | string | Commit message (default: the title). |
| draft | boolean | Open 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":"…"} })