AfterLaunch: the growth agent for your product
v1.1.0See what AI search says about your product, keep the record of what shipped, get the next move.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_content_calendar View content calendar
Growth content calendar, source drafts and current move states. Read-only. Check linkage and calendar_sync; saved words are not publication proof.
record_content Record content
File a growth idea (optional channels, kind, score, final_text sent verbatim, desk: a post, reply or task the owner posts by hand, queued at slot_at, or a decision or read that needs the owner, due_on a date), original X draft or research outcome. Research appends a result to its idea; send expected_updated_at unchanged from the calendar. It keeps evidence holds and never authorises drafting. Requires 'act' scope; no spend or posting. Keep run_key stable. Drafts need action_kind social_post and one idea_id or source_idea; source_url is evidence. adopt_legacy only reclassifies an exact saved re…
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
action_kind | string | |
adopt_legacy | object | |
channel | string | |
claim_ids | array | |
expected_updated_at | string | |
idea_id | string | |
research | object | |
run_key | string | |
source_idea | object | |
source_url | string | |
text | string | |
title | string | |
why | string |
get_experiments View experiments
Growth content experiments already run, newest first, with scoped evidence. Read-only; never runs one. Each is an observation, not a rate.
| Parameter | Type | Description |
|---|---|---|
experiment_id | string | |
idea_id | string | |
limit | integer |
whoami Who am I
Confirm the AfterLaunch key works: plan_label, the plan your user bought (Starter, Pro or Scale; null on a trial or a free account; Internal for an admin or internal account), access_state, trial_ends_at, which product run the key is bound to, its scopes, key_expires_at (null when the key never expires), onboarding (feed_ready is false while the Growth Snapshot deep scan is still building) and the credit balance. tier is the older gating field, founder on every paid plan, kept for compatibility.
list_feed View growth moves
Use this when the user asks for growth ideas or their next move, or their standing orders call for it. Returns the ranked growth moves across SEO, AI visibility, competitors and distribution: title, why, area, status and rank, has_draft and draft_kind (a full draft, a brief to complete, or null), and posture: who may do it, act (you can), draft_only (you draft, a person posts) or founder_voice (the founder only). The material BODY is not here. Live moves only unless you pass include_resolved; pass since for what is new while the deep scan adds moves. Read-only.
| Parameter | Type | Description |
|---|---|---|
include_resolved | boolean | Include resolved moves (shipped, skipped, archived, expired) as well as the live ones. Default false. |
since | string | ISO-8601. Returns only moves first seen after it. Pass the newest first_seen_at you already hold so a move is never returned twice. |
verbosity | string | Default 'compact': no material bodies, so a long list stays cheap to read; has_draft and draft_kind say whether each move carries an inspectable artefact, an assignment, or nothing readable. Use 'full… |
get_loop_status View growth loop status
The automated growth marketing loops provisioned for this product (AI visibility, competitors, channel distribution) with their schedule, plus runnable_loop_types, a fixed list of loop types that is the same for every product; the loops list is what is provisioned here.
| Parameter | Type | Description |
|---|---|---|
loop_type | string | Optional loop type, e.g. daily_brief or linkedin_post. |
get_enrollment View product account
The product run summary for this growth engine: product_url, tier, trial_ends_at, timezone, delivery settings and the credit balance. Read-only, free.
list_outputs List saved outputs
The marketing and distribution outputs saved for this product, newest first: id, loop_type, kind, status and title. Read-only, free.
get_output View drafted output
Read a queue draft by id. SEO linked_article {id,title,content} adds the full Markdown article.
| Parameter | Type | Description |
|---|---|---|
output_id * | string | The output id (uuid). |
get_setup_snippet Get setup instructions
The paste-able 'Growth (AfterLaunch)' section for this repository's CLAUDE.md or AGENTS.md: how a coding agent should use AfterLaunch for growth, marketing, SEO, AI visibility (GEO), competitor and distribution work, and which tools cost money. Free, read-only. Show it to the founder and add it with their say-so. The always_on mode returns standing orders for an agent that runs unattended on a schedule. The voice_skill mode returns the voice skill, one file: keep it, and keep your user's writing voices yourself.
| Parameter | Type | Description |
|---|---|---|
mode | string | repo (default): the CLAUDE.md or AGENTS.md section for a coding agent. always_on: the standing orders for an unattended agent (Grok Bot, a ChatGPT dot, a Claude scheduled task). voice_skill: the voice… |
get_visibility View AI visibility
Use this when the user asks whether they show up in ChatGPT, Gemini, Perplexity or Google AI Overviews, or about AI visibility, GEO or AI search, or their standing orders call for it. Returns, for each tracked customer question, which engines name the product, plus the questions where competitors are named instead, the most cited sources, share of voice, the trend and the off-site reach fold. prompt_id returns one question's answers, competitors and citations. A change is indicative unless the sampling block says otherwise. Read-only, free.
| Parameter | Type | Description |
|---|---|---|
prompt_id | string | Drill into one tracked question by its id (from the prompts list) for the engine answer text and citations. |
get_seo View site SEO
Use this when the user asks how to improve their SEO or what is holding their site back in Google, or their standing orders call for it. Returns the site-wide audit: issues by severity with affected pages, the score trend, page performance, links and authority, and search ranks. Read-only, free. Pass include_pages for the per-page detail.
| Parameter | Type | Description |
|---|---|---|
include_pages | boolean | Include the per-page audit detail. Default false: the grouped issues only. |
get_competitors View competitors
Use this when the user asks who they compete with or how they compare, or their standing orders call for it. Returns each rival's measured SEO, performance, Core Web Vitals, authority, content freshness and G2 and Product Hunt presence beside the product's own, plus rivals the AI answers named that the roster lacks. A rival is never an outreach target. Read-only, free.
get_outcomes View growth outcomes
What the shipped growth moves earned: tracked-link clicks per move, shipped counters, the weekly movement scoreboard, and whether GA4 and Search Console are connected. Read-only, free.
get_snapshot View growth snapshot
The Growth Snapshot this product run started from: positioning, the discoverability score, the actions prioritised by impact, the competitor set, and the day-0 SEO and AI visibility baselines. The stable business context, not live signal data. Read-only, free.
get_activity View recent activity
Use this when the user asks what was already done or why, or before acting on a move. The product timeline: what the growth agent and the founder did and why (drafts, ships, skips, scans, observations, decisions with their rationale), newest first. Read-only, free.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many entries to return (1 to 200, default 50). |
list_kb_pages List Memory pages
The Memory pages: the shared record your AI writes from (business basics, audience, competitors, recent observations, and voice samples, a starting point only: the voice itself lives with your AI). Summaries with a size hint. Read-only, free.
get_kb_page View Memory page
One Memory page by slug, with its full markdown body: the growth marketing record your AI writes from. Read-only, free.
| Parameter | Type | Description |
|---|---|---|
slug * | string | The page slug, from list_kb_pages. |
get_voice_profile View voice profile
The structured voice for any growth marketing written for this product: tone, characteristic phrases, vocabulary, sentence style and what it avoids. register says which you got, and they do not sound alike: brand is the website's voice, personal is the founder's own writing, imported came from a brief. has_profile false means that voice is not extracted yet: an answer, not an error. Read-only, free.
| Parameter | Type | Description |
|---|---|---|
register | string | Which voice to read. Omit for the current one. Use 'personal' for anything the founder posts in their own name. |
get_business_context View business context
Use this when the user's growth work needs their business facts. Structured business positioning, audience, ICP, pricing, features and competitors, plus growth_strategy: the latest saved stage, bottleneck, bets and non-goals with version, source and date. Strategy is dated judgement, not measured evidence or proof of results; check it against current founder intent. Missing facts or strategy are null. Read-only and free; never generates or revises a strategy.
get_claims View claims
The claim library: the measured numbers this founder will stand behind in public, for replies, posts and any marketing writing. Each carries the claim in one sentence, the number with its unit, keywords saying when it is relevant, and a caveat stated against the founder's own interest. Use this when your user's writing needs a number about this product. Never quote a claim without its caveat: the caveat is what makes the number safe to say. A claim marked held is NOT for use. An empty library is an answer, not an error. Read-only, free.
record_claim Record a claim
Put one measured number the founder will stand behind in public into the claim library, so every later reply and growth marketing post can cite it with its caveat. WHEN: a real measurement lands and the founder says they would defend it. Record the NUMBER and its caveat together. Never record an estimate, a projection, a rival's figure, or anything you inferred rather than measured. Free; requires the 'act' scope. Recording the same claim twice replaces your earlier wording; a pinned claim is left as it is. WHAT COMES BACK: their top moves with move ids.
| Parameter | Type | Description |
|---|---|---|
caveat * | string | What it does not prove, against your own interest. |
number * | string | The measurement, with its unit and comparison. |
text * | string | The claim in one sentence. |
trigger * | array | Keywords saying when this claim is relevant. |
held | boolean | True to record it and block its use. |
record_profile Record a profile
File one public profile or listing the person already has on a directory site, so AfterLaunch counts it as a verified presence and a weekly check confirms it is still live. WHEN: it is your user's, and they asked you to file it or handed you the move it belongs to. One address per site; a new address replaces the old one, the same address again changes nothing. The address must sit on that site's own host. Free; requires the 'act' scope. WHAT COMES BACK: every profile on record, the new one marked.
| Parameter | Type | Description |
|---|---|---|
surface * | string | The directory site id. |
url * | string | The full https address of their profile on that site. |
add_competitor Add a competitor
Add one company the person confirmed they compete with to their rival roster, which the next AI visibility scan measures them against and every competitor read carries. WHEN: only after they say yes to that rival. A rival already on the roster, by domain or by name, is left as it is. At most 10 rivals. Free; requires the 'act' scope. WHAT COMES BACK: the roster, the new rival marked.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Their website, e.g. example.com. |
name | string | Optional. The company name; defaults to the domain. |
get_standup View daily stand-up
Use this when the user asks what to do next for growth or marketing or what changed, or their standing orders call for it. Returns what recently shipped and what AfterLaunch verified about it (receipts), the top ranked moves ready now (ready; a gap in rank is a move not shippable now), what the engine did on its own in the last 7 days (while_you_were_gone; capped at the account's age), and whether the deep scan is still running. Read-only, free.
get_next_step Get the next step
Use this when a wake arrives, when standing orders call for it, or when the user asks what to do next for growth. Returns one state (start, finish, approve, source or closed) with the move and its evidence, the stop rule, stop_at (the user's own step), what done is, tell_human and the steps. Read-only, free.
get_move View a growth move
One growth move: evidence, source material, instructions and prepared_result. linked_article is earlier work to reuse, not a completed revision. Ready means awaiting review, not published. Past an unpaid trial the bodies are withheld; that is not absence. tracked_link_state explains a null link (no_link, unavailable, withheld); null clicks means unreadable. Read-only, free.
| Parameter | Type | Description |
|---|---|---|
move_id * | string | Move id (uuid), from list_feed or get_standup. |
accept_move Accept a growth move
Accept a move once your user says yes, with user_said_yes true. This records one durable preparation attempt and may start the configured worker only when launch_won is true. A repeat never starts another worker. On an account with wakes on, an acceptance without user_said_yes is preparation only and stops at review. Free; requires the 'act' scope.
| Parameter | Type | Description |
|---|---|---|
move_id * | string | Move id (uuid). |
target * | string | agent_pull puts the work in the queue for an AI to claim. share, open, claude_cloud, cursor and codex only record where your user took it; nothing starts. |
expected_attempt_id | string | null | Required for retry. Pass the exact managed attempt, or null for a legacy job. |
expected_legacy_state | string | null | get_move: prepared_result.legacy_state ?? state. |
expected_legacy_updated_at | string | null | |
note | string | null | |
operation | string | Defaults to accept. Retry requires expected_attempt_id; use null only with the exact legacy state and updated_at. |
user_said_yes | boolean | True only when your user said yes to this move just now. |
ship_move Record completed work
Record completion only after the founder explicitly confirms it. Use prepared_result after reviewing the current prepared attempt, or independent_work when the founder completed it separately. Site changes need a live published_url to ship; with planned_url they stay prepared. This records an attestation; it never publishes anything. Free; requires the 'act' scope.
| Parameter | Type | Description |
|---|---|---|
attempt_id * | string | null | ship_move_args.attempt_id. |
completion_kind * | string | independent_work: your user did it themselves; prepared_result: they confirmed the prepared result. |
founder_confirmed * | boolean | |
job_id * | string | null | ship_move_args.job_id. |
move_id * | string | Move id (uuid), from list_feed. |
expected_legacy_state | string | null | ship_move_args.expected_legacy_state. |
expected_legacy_updated_at | string | null | ship_move_args.expected_legacy_updated_at. |
expected_move_state | string | null | ship_move_args.expected_move_state; required for independent_work. |
expected_move_updated_at | string | null | ship_move_args.expected_move_updated_at; required for independent_work. |
final_text | string | null | Optional. Only the words the founder actually posted, exactly as they went out; never your rewrite or the draft. Used only to learn how they write, for a post or reply they published; it marks nothing… |
note | string | null | |
planned_url | string | null | A merged own-site change's page: we check it and ship it when the text is live, or after two days. |
published_url | string | null | The actual public URL, when the completed task has one. This is distinct from a prepared asset. |
revise_move Revise prepared work
Apply your user's explicit decision to revise an accepted growth move's current managed attempt: its prepared or failed result is set aside and a new preparation attempt starts, only if this wins. Pass the exact job_id and expected_attempt_id. This never publishes anything. Free; requires the 'act' scope.
| Parameter | Type | Description |
|---|---|---|
expected_attempt_id * | string | The exact current managed attempt. |
job_id * | string | |
move_id * | string | |
note | string | null |
withdraw_move Cancel unfinished work
Apply your user's explicit decision to cancel (withdraw) unfinished work on an accepted growth move: the job is withdrawn and the move returns to pending. Pass the exact current job and attempt; legacy work also needs the exact move and legacy job states and updated_at. This never publishes anything. Free; requires the 'act' scope.
| Parameter | Type | Description |
|---|---|---|
expected_attempt_id * | string | null | Exact current attempt; null for legacy work. |
job_id * | string | null | |
move_id * | string | |
expected_legacy_state | string | null | get_move: prepared_result.legacy_state ?? state. |
expected_legacy_updated_at | string | null | |
expected_move_state | string | null | |
expected_move_updated_at | string | null | |
note | string | null |
adopt_move_result Adopt a legacy result
Apply your user's explicit decision to keep work prepared before AfterLaunch tracked attempts (it has no attempt id) as the move's prepared result, for their review. Pass the inspected prepared_content or asset_url, and the move's state and updated_at (and its job's, if any) exactly as read. This never publishes anything. Free; requires the 'act' scope.
| Parameter | Type | Description |
|---|---|---|
expected_move_state * | string | null | |
expected_move_updated_at * | string | null | |
job_id * | string | null | |
move_id * | string | |
asset_url | string | null | |
expected_legacy_state | string | null | get_move: prepared_result.legacy_state ?? state. |
expected_legacy_updated_at | string | null | |
note | string | null | |
prepared_content | string | null |
correct_move_publication Correct a recorded publication
Apply your user's explicit decision that a growth move's recorded publication is wrong: the shipped move is archived, its completion history is kept and no paid follow-through restarts. Pass the exact current job and attempt; legacy work also needs the exact move and legacy job states and updated_at. This never publishes anything. Free; requires the 'act' scope.
| Parameter | Type | Description |
|---|---|---|
expected_attempt_id * | string | null | Exact current attempt; null for legacy work. |
job_id * | string | null | |
move_id * | string | |
expected_legacy_state | string | null | get_move: prepared_result.legacy_state ?? state. |
expected_legacy_updated_at | string | null | |
expected_move_state | string | null | |
expected_move_updated_at | string | null | |
note | string | null |
skip_move Skip a growth move
Dismiss a growth move (Skip in the Feed). Free; requires the 'act' scope. Optional feedback_key (closed vocabulary, see the enum) plus a free-text feedback_note explain why, which shapes how future moves are ranked and briefed.
| Parameter | Type | Description |
|---|---|---|
move_id * | string | Move id (uuid), from list_feed. |
feedback_key | string | Why it was dismissed. Closed vocabulary; unknown keys are ignored by the learning loop. |
feedback_note | string | Optional free-text detail alongside feedback_key. |
update_draft Update move draft
Replace a pending growth move's marketing draft body before shipping. A draft carrying an unfilled placeholder or a broken link is refused rather than saved. Free; requires the 'act' scope.
| Parameter | Type | Description |
|---|---|---|
draft_content * | string | The replacement draft body, 1 to 20000 characters. |
move_id * | string | Move id (uuid), from list_feed. |
draft_fence | object | For a content pilot edit, return draft_fence unchanged from get_move or get_output. Refresh after a conflict. |
archive_move Archive a growth move
Archive a growth move: a lighter dismissal than skip, with no verdict recorded. Free; requires the 'act' scope. Idempotent on an already-archived move.
| Parameter | Type | Description |
|---|---|---|
move_id * | string | Move id (uuid), from list_feed. |
undo_move Restore a growth move
Restore a just-shipped or just-skipped growth move to pending: the self-correction verb for a wrong ship or skip. Free; requires the 'act' scope. Idempotent on a move already pending. It never unwinds a real channel publish: a posted output stays posted, and an archived or expired move cannot be restored.
| Parameter | Type | Description |
|---|---|---|
move_id * | string | Move id (uuid), from list_feed. |
set_output_status Record output outcome
Resolve one drafted marketing output in the founder's review queue: action 'ship' marks it done or posted WITHOUT publishing anywhere, action 'skip' dismisses it. WHEN: call 'ship' the moment the founder confirms the content is actually out, with their go and never on your own; call 'skip' when they decide against it. Posting is the human's decision; reporting the outcome is yours, and it is not optional, because an unreported result leaves the record blind to what the work earned. Report only what is true: a draft you have written is not a draft that went out. This never posts to a channel: r…
| Parameter | Type | Description |
|---|---|---|
action * | string | 'ship' resolves it as done / posted without publishing; 'skip' dismisses it. |
output_id * | string | Output id (uuid), from list_outputs. |
final_text | string | Optional. Only the words the founder actually posted, exactly as they went out; never your rewrite or the draft. Used only to learn how they write, for a post or reply they published; it marks nothing… |
redraft_output Update output draft
Replace a drafted marketing output's body before it is shipped. Manual replacement only: the AI redraft stays in the app. A draft carrying an unfilled placeholder or a broken link is refused, and the previous draft is kept as revision history. Free; requires the 'act' scope and any paid plan.
| Parameter | Type | Description |
|---|---|---|
draft * | string | The replacement draft body, 1 to 20000 characters. |
output_id * | string | Output id (uuid), from list_outputs. |
draft_fence | object | For a content pilot edit, return draft_fence unchanged from get_move or get_output. Refresh after a conflict. |
find_more_moves Find more moves
SPENDS MONEY: Costs 4 credits. Asks up to ten untracked questions on the AI engines to find new growth moves. Paid plans, once a day; under six new questions, no charge.
refresh_scan Run AI visibility scan
SPENDS MONEY: Costs 1 to 19 credits by plan; a connected key reads its own price here. Runs an on-demand AI visibility scan (scan='ai_visibility'), the GEO measurement of how the answer engines represent this product against its competitors. Needs the 'write' scope, a paid plan and an Idempotency-Key you mint. Bounded by the balance and per-tenant caps. One scan per type per product per local day; a repeat that day replays the original result, regardless of the key.
| Parameter | Type | Description |
|---|---|---|
idempotency_key * | string | Client-minted key (1-200 chars). Reuse the same key on a retry. |
scan * | string | The scan to refresh. Only 'ai_visibility' today. |
list_connections View connections
Which growth data sources and distribution channels are connected: GA4 and Search Console (the measurement behind SEO and outcomes), Google Business Profile, and the LinkedIn / Reddit posting channels. Each row carries an honest state: connected, not_connected, or not_available with the reason it is shut on this account. Read-only, free.
start_connection Start a connection
Connect a growth data source or distribution channel: mint a one-time link the FOUNDER opens in their own browser to approve it. You never complete the consent yourself; it is bound to their session. Returns url (hand it to the founder), poll_token, poll_after_seconds and expires_at; the link lasts 15 minutes. Refuses in plain words, before minting anything, when a connector is shut on this account. Free, spends nothing.
| Parameter | Type | Description |
|---|---|---|
provider * | string | Which connector to connect. Use a provider id from list_connections: ga4, gsc, gbp, linkedin or reddit. |
poll_connection Check connection status
Did the founder finish connecting the growth data source you handed them a link for? Pass the poll_token you got with that link. Reports pending (wait poll_after_seconds and ask again), connected, expired (mint a fresh link) or not_found. Idempotent: nothing is spent or consumed. Read-only, free.
| Parameter | Type | Description |
|---|---|---|
poll_token * | string | The poll_token start_connection returned. |
list_tracked_prompts View tracked questions
The customer questions AfterLaunch tracks: the AI visibility (GEO) question set every measurement is taken against. Returns prompts in tracking order, cap and used (the most questions your plan can track), plus curated: false means AfterLaunch generated them and any can be replaced. Read-only, free, readable on every plan.
get_scoreboard View growth scoreboard
Did the growth work move anything? The proof read for a period: AI visibility (GEO) at the START and the END of the window, the moves shipped between them, the scans that ran, and the receipts with what was verified live and the clicks each earned. ALWAYS read like_for_like before reporting a change: true means both scans asked the same tracked questions so the movement is real, false means the questions or answer source changed in the window, so it is a new baseline rather than a rise or a fall, and null means it cannot be proven either way. Never present a delta as a result when like_for_lik…
| Parameter | Type | Description |
|---|---|---|
window_days | integer | How many days the scoreboard covers (7 to 90, default 14). Out-of-range values are clamped, never rejected. |
dismiss_gap Dismiss visibility gap
Set aside one AI visibility (GEO) gap the founder is not going to act on: a tracked question where rivals get named and this product does not. The same verdict as a skip, on the AI visibility surface, and it resolves the gap in ONE place: it stops being re-proposed here AND on the growth Feed, and the reason improves what gets ranked next. Free; requires the 'act' scope, and available on every plan because telling the agent "not this one" is never a paid feature. Idempotent: a gap already shipped or archived is left as it is.
| Parameter | Type | Description |
|---|---|---|
prompt_id * | string | The tracked question id, from get_visibility. |
prompt_text * | string | The tracked question text, from get_visibility. Both fields are required: together they identify the gap. |
reason | string | Why it is being set aside. Closed vocabulary; unknown keys are ignored by the learning loop. |
record_insight Record an insight
Write one durable fact about your user or their product into AfterLaunch's Memory, the record your AI writes from. WHEN: your user tells you something AfterLaunch could not have measured itself that will still be true next month. A standing preference, a fact not on the site yet, or what a shipped move actually earned. Their voice itself you keep, with the voice skill. Record what LASTS. Never record chatter, a passing mood, a restatement of the Snapshot or Memory, or anything you inferred rather than heard. One sentence in the founder's own terms, 10 to 500 characters. Free; requires the 'act…
| Parameter | Type | Description |
|---|---|---|
insight * | string | The durable insight, as one plain sentence in the founder's own terms. |
kind * | string | preference = a standing choice about how they work. voice = how they write (still accepted; the voice itself you keep). fact = something true about the product. outcome = what a shipped move earned. |
source_move_id | string | Optional growth move id (uuid), from list_feed, when the insight surfaced while working one. |
propose_move Propose a growth move
Add a pending move to your user's growth moves. WHEN: your user asks for it or their standing orders call for it, and no move covers the work yet, such as a thread on a community they work, a placement ask, outreach, a directory listing or a page for their site. A repeat (same kind and target, or kind and title) hands back the existing move id. It comes back with its posture: a Reddit or Hacker News target is draft_only, meaning you draft and your user posts, and you never post there yourself without their yes in your thread. Outreach goes from their address, never without their yes. Free; 'ac…
| Parameter | Type | Description |
|---|---|---|
kind * | string | community_answer or community_reply: a thread. earned_media or citation_outreach: a placement ask. long_form_content: a page on their site. |
title * | string | The move, as your user would name it. |
why * | string | Why it is worth their time, in one or two sentences. |
draft | string | Optional: your draft. |
serves | string | Optional: the plan channel this serves. |
sources | array | Optional: up to five https addresses behind the why. |
target | string | https address; required for a thread, directory or cited page. |
list_queue View preparation queue
Use this when your user asks you to work the moves they accepted, or their standing orders call for it. Unclaimed preparation jobs, oldest first, each with job_id and attempt_id (null for older work). Never includes prepared_content. Free; requires the 'act' scope.
pick_up_job Pick up a job
Use this to claim a queued job before you work on it. Pass job_id and attempt_id exactly as the queue row shows them, null included. Start work only when the response says claim_won:true; any other result means another agent holds it, so do not start. Free; requires the 'act' scope.
| Parameter | Type | Description |
|---|---|---|
attempt_id * | string | null | Exact attempt id from list_queue; null only for a stored legacy job. |
job_id * | string | Job id (uuid), from list_queue. |
session_url | string | Optional. The launch already gave your user the link to this session; pass it only when you opened this session yourself and can see its address. |
site_repository | string | null | Optional, for a routine working a site move: the repository it can write to, as owner/name, or null if it has none. Omit it to say nothing. |
report_job Report a job
Report a claimed attempt with its exact attempt_id: running; needs_input with one question for your user; shipped with the live published_url, or planned_url once merged (we check it); ready_for_review with prepared_content, or asset_url when your user must post it or when it is the pull request you opened; failed with fail_reason. Ready_for_review can be reported again, improved, until your user uses it. If you cannot read the whole thread, say so and ask your user for a screenshot. Free; requires the 'act' scope.
| Parameter | Type | Description |
|---|---|---|
attempt_id * | string | null | Exact attempt id; null only when list_queue identified a legacy job. |
job_id * | string | Job id (uuid), from list_queue. |
state * | string | |
asset_url | string | URL of the prepared asset. This does not claim publication. |
fail_reason | string | Required with 'failed': what stopped you. |
planned_url | string | null | With 'shipped': a merged own-site change's page; we check it, it ships within two days. |
prepared_content | string | Prepared result body for ready_for_review. |
published_url | string | null | With 'shipped': the live https address. |
question | string | Required with 'needs_input'. |
receipt_url | string | A permalink to the proof. |
session_url | string | Optional. The launch already gave your user the link to this session; pass it only when you opened this session yourself and can see its address. |
site_repository | string | null | Optional, for a routine working a site move: the repository it can write to, as owner/name, or null if it has none. Omit it to say nothing. |