Publish Promotion
publish_promotionPublish the reviewed plan as a draft GitHub PR when the user authorizes promotion.
Retry the same plan after an interrupted response to recover its PR. This never merges a PR, deploys code or changes the running agent.
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": {
"agent_id": "<agent_id>",
"experiment_id": "<experiment_id>",
"profile_id": "<profile_id>",
"plan_id": "<plan_id>"
},
"name": "publish_promotion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | Exact immutable plan ID from preview_promotion. | |
| agent_id | Yes | Stable agent ID from list_agents or create_agent. | |
| profile_id | Yes | ||
| experiment_id | Yes | Experiment ID within this agent; letters, digits, hyphens, underscores. |