build_in_public_status
READ-ONLY status of the org's Build-in-Public GitHub connection. Returns { configured (server has a GitHub OAuth app), connected (user completed the authorize flow), githubLogin, connectedAt, mode (APPROVE = human approves every draft, the default; AUTO = drafts post unattended), enabled, dailyLimit, postMode ("per-pr" or "digest"), digestFrequency, digestDayOfWeek, digestHourUtc, maxPostsPerWeek, nextDigestAt, lastDigestAt, pendingDigestCount, defaultBranch, repos: [{ fullName, branch, webhookRegistered, isWebhookActive, lastWebhookAt, route: { routed, kind ("accounts" | "collection" | null), targets [{ id, platform, name }], collectionName, cadence, approval, sources, ignoreBots, ignoreChores, voice, linkUrl, nextPostAt, lastPostAt, pendingChanges, lastDraft } }], lastDraft (the most recent GitHub-event draft) }. A repo with route.routed false still follows the org-wide settings. Pass targets:true to also get the accounts and collections a repo can be routed to ({ accounts: [{ id, platform, name, collectionId }], collections: [{ id, name, accountCount }] }). Pass previewRepo ("owner/name") to get a sample post written for that repo's route ({ preview: { basedOn, drafts: [{ platform, accounts, text }] } }, or { preview: { error } } for a repo with no destination); nothing is saved or posted. Never mutates anything. Drafts awaiting review also appear in list_approvals. CAPABILITY: read: side-effect-free.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "build_in_public_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targets | No | Also return the accounts and collections a repo can post to. | |
| previewRepo | No | A connected repo ("owner/name") to write a sample post for. Saves nothing. |