phone_flow_publish
Publish a verified flow to the official registry by preparing a GitHub fork, branch, index rebuild, and public pull request. Set confirm only after user approval.
Instructions
Publish a working flow to the official registry through the user's GitHub CLI: fork if needed, write the flow and any new app.json, rebuild index.json, push a branch, open a public PR. confirm=true only after the user agreed to that publication. Draft with phone_flow_draft and prove with phone_flow_run first; phone_flow_report is for problems in existing flows. verified_on takes device/iOS/date; unverified flows open a draft PR. Returns id, repo, branch, head, pr_url; inspect it before retrying.
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": {
"source": "<source>",
"id": "<id>"
},
"name": "phone_flow_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Registry id to publish as, `<app>/<flow>` lowercase slugs. | |
| note | No | What was verified, where, and anything a reviewer should know. | |
| source | Yes | Flow file path, or an id installed with `flow add`. | |
| aliases | No | Foreground-app labels per language (e.g. ["Health","健康"]). | |
| confirm | No | Must be true; set only after the user agreed to open a public PR. | |
| app_name | No | Human app name, used only when the app is new to the registry. | |
| instance | No | daemon instance name |