advance_o2c_run
ChatGPTLet the agents work on a run from start_o2c_demo or start_o2c_run until they need the founder, the run ends, or up to "steps" actions (about 25 seconds at most). Returns what each agent did, every order's status and the totals. When exceptions are waiting, call list_o2c_exceptions.
ask_map
ChatGPTAsk a question about a saved map. By default it answers free from the map's website pages and entries, with citations. Set ai=true for a written Requ AI answer, which uses account credits (Team). Prefer get_map for an overview. Needs a signed-in Requstory account.
check_ai_readiness
ChatGPTCheck whether AI agents can read, understand and act on any website (bots allowed, readable pages, product data, checkout, help). Reads up to 3 public pages; results are kept for 24 hours and public at requstory.com/ai-readiness/<domain>/. Faster and narrower than map_website. If status is "queued" or "running", call again with start=false.
export_o2c_run
ChatGPTThe run's results: the ledger (every order and invoice with paid, owed and due), the emails to send, pick lists, every decision with who made it (founder, MCP, autopilot or an approval rule) and the billable moments. This is the audit record; use it when the run is done.
get_account
ChatGPTShow the signed-in Requstory account: what it includes, number of saved maps and maps left today, and order-to-cash use this month. Needs a signed-in Requstory account.
get_ai_company
ChatGPTGet a made-up company run end to end by AI agents, built from real public company maps, as a Requ template: teams as agent lanes, the model for each step, steps a person keeps, and monthly model cost. Use it as a starting point to design an AI-agent-run business; edit the Requ and render it with npx @requstory/cli. Needs a signed-in Requstory account.
get_company_owners
ChatGPTTeams and processes at a company Requstory has mapped, with the owner of each (usually a role, such as "Head of finance") where the company published it on its own website or in its operating-model.requ file. Owners from that file are marked confirmedByCompany. Returns only what the company itself made public. "claimed" is true when someone who controls the site claimed the page. Accepts a slug from search_companies or a domain.
get_company_score
ChatGPTGet a public company's ease-of-doing-business score (0–100, four parts: find and understand, get started online, get help, AI-agent ready), its ranking place, and the gaps that cost it points, most costly first, with proof. Use after search_companies. For a site with no public page, use check_ai_readiness instead.
get_map
ChatGPTRead a saved map in brief: journey stages, teams with owners and processes, teams with no owner, checks peers pass but this company misses, AI-agent readiness gaps, fix progress and source pages. Set full=true for the whole JSON model. Use ask_map for a specific question instead. Needs a signed-in Requstory account.
get_map_job
ChatGPTCheck a map_website job that was still running. When status is "complete" it returns mapId for get_map. Needs a signed-in Requstory account.
get_o2c_order
ChatGPTEverything about one order in a run: what the agent read, the invoice, its emails, any return, and every step and decision on it in order. Use for questions about a single order; advance_o2c_run lists the order ids.
list_maps
ChatGPTList the maps saved in your Requstory account (newest first) with their ids. Use to find a mapId for get_map or ask_map. Needs a signed-in Requstory account.
list_o2c_exceptions
ChatGPTList the questions the agents are waiting on the founder for (credit over the limit, short stock, packing, reminder wording, unclear bank payments, returns), each with its allowed choices. Each is a decision for the person who runs the business. Then call resolve_o2c_exception with their choice.
map_website
ChatGPTMap how a company works from up to 6 pages of its public website: customer journey, teams, processes and handoffs. The map is saved to your Requstory account (free; 5 a day). Waits up to 25 seconds; if the job is still running, poll get_map_job. Then read it with get_map. Needs a signed-in Requstory account.
resolve_o2c_exception
ChatGPTRecord the founder's decision on one exception from list_o2c_exceptions, using only the choice the person made (for example accept an order over its credit limit, or approve a refund). The decision is logged as made through MCP. Then call advance_o2c_run.
search_companies
ChatGPTFind companies Requstory has already mapped and scored from their public websites, by name or website. Use this first to get the "slug" for get_company_score. For a company that is not found, use check_ai_readiness (quick, public) or map_website (full map, needs a key).
start_o2c_demo
ChatGPTStart a month of a made-up B2B online store (Harbour & Home) run by four AI agents: process orders, ship orders, invoice and collect payments, handle returns. Real trade order lines; you or your user play the founder, who is asked about credit limits, short stock, packing, reminders, unclear payments and returns. Sums, dates, stock and credit are worked out by code, not the model. No key needed; runs are deleted 2 days after the last change. Then call advance_o2c_run.
start_o2c_run
ChatGPTRun a day of your own business through the four order-to-cash agents: read new orders, check stock and credit, pick lists, invoices and their emails, match bank lines to open invoices, chase late payers and handle return emails. Nothing is sent; you get drafts and decisions. The agents ask the founder about credit, short stock, packing, reminders, unclear payments and returns, unless the business's approval rules say otherwise. Uses the account's credits; a run stops and says so when they run out. Data is deleted 2 days after the last change. Needs a signed-in Requstory account. Then call advance_o2c_run.