Fudge for Shopify

v1.0.1
ai.fudge/fudge Checked 15 hours ago Published 21 days ago

Run your Shopify store with AI: drafts you approve, what to fix, and how your store is doing.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_stores List connected stores

List the Shopify stores this connection can use.

record_discovery_source Save how you found Fudge

Save how the merchant heard about Fudge during setup. Record only their stated answer, or null if they explicitly skip. Never infer the source. Existing answers and skips are preserved; this changes no storefront content.

ParameterTypeDescription
answer *The merchant’s own answer, or null only if they explicitly skip.
storestringThe connected store to use. Omit when only one is connected.

connect_store Connect another store

Create a link the merchant opens to connect another Shopify store. Use when they ask to add a store. The link works once within 10 minutes.

get_store_overview Get store overview

Read a store’s overview: business context, standing memory, Google connection, work waiting on the merchant, Plans, top recommendations and recent results. With `area`, that area’s findings, Plans, work, outputs and headline numbers. Use for a brief or before planning work.

ParameterTypeDescription
areastringseo, ai-discovery, conversion or merchandising, or a library such as landing-pages or blog.
storestringThe connected store to use. Omit when only one is connected.

search_design_references Search design references

Search Fudge’s Lookbook of analysed ecommerce stores, pages and patterns. Describe the shopper problem or page element, not a brand. Use when the merchant wants to see how other stores solve something.

ParameterTypeDescription
query *string
scope *string
industrystring
limitnumber
pageKindstring

show_design_references Show design references

Show 3–8 Lookbook references as a gallery of screenshots, best first, each with a one-sentence note on why it suits this store.

ParameterTypeDescription
references *array

get_store_performance Get store performance

Measure the store, or a product, collection, page, article or URL given as `subject`. `metrics` returns headline values with their previous period, definition and source. `breakdown` returns ranked rows such as queries, landing pages, channels, AI assistants, devices, countries, products or discount codes. With neither, returns what exists for the subject. Periods default to the 28 days ending three days ago against the 28 days before. Google Analytics, Search Console and Shopify are separate measurements.

ParameterTypeDescription
ascendingboolean
breakdownstring
compareboolean
comparisonEndstring
comparisonStartstring
countrystringSearch Console three-letter country code, e.g. usa.
days
devicestring
endDatestring
limitinteger
metricsarray
offsetinteger
sortstringBreakdown metric to rank by, e.g. clicks, impressions, sessions, revenue, orders.
startDatestring
storestringThe connected store to use. Omit when only one is connected.
subjectstringWhat to measure: a product, collection, page or article ID (product-42 or a Shopify GID), its name or handle, a storefront URL or path (/products/x), or omit for the whole store.

run_seo_tool Run an SEO tool

Run an SEO tool for this store by ID. Paid lookups spend the store’s shared daily SEO budget. The `set-product-kind` operation can overwrite Fudge’s classification rules for a product or a group, such as every product from one vendor, and triggers a catalogue rescan. The `seasonal-recheck` operation can start a fresh readiness audit. For paged results, pass `nextCursor` as `cursor` with the same ID to read the next page for free.

ParameterTypeDescription
id *stringkeyword-lookup: Keyword lookup: monthly searches, difficulty and who ranks on Google for one search in one country; check-page: Check a page: one store page’s server HTML against the page checks (pa…
cursorstringA nextCursor this tool returned: reads the next page of that run, free; input is ignored
inputobjectFields by tool: keyword-lookup: keyword, country; check-page: page; is-indexed: page; check-product: product; speed-test: page; rich-result-test: page; set-product-kind: kind, products, vendors, types…
storestringThe connected store to use. Omit when only one is connected.

get_store_insights Get saved findings

Read the findings and recommendations Fudge has saved for this store, most important first; narrow by area, subject, kind, date or text. With `ref`, one record in full with its sources and measurements. An empty list means nothing is saved yet. This never starts an investigation.

ParameterTypeDescription
areastringseo, ai-discovery, conversion or merchandising, or a library such as landing-pages or quizzes.
kindstring
limitinteger
querystringWords to find in the title, summary or body.
refstringRead one record in full; the other filters are ignored.
sincestringOnly records created or updated on or after this date.
storestringThe connected store to use. Omit when only one is connected.
subjectstringA product, collection, page or article ID (product-42 or a Shopify GID), or a Fudge Plan ref.

get_design_guide Get design guide

Read the store’s design guide: colours, typography, spacing, components and brand voice. Use when designing or reviewing pages. With no guide yet and a distinctive theme, this starts a one-time extraction.

ParameterTypeDescription
storestringThe connected store to use. Omit when only one is connected.

search_guides Search Fudge guides

Search Fudge’s reference articles on SEO, AI discovery, conversion, merchandising, content, store design and analytics. Returns matching paths and excerpts.

ParameterTypeDescription
query *stringWhat the merchant wants to do or know, in a few words.

read_guide Read Fudge guide

Read one of Fudge’s reference articles by path, such as seo/audit.md. Without a path, lists them all.

ParameterTypeDescription
pathstringThe guide’s path.

find_context Find store context

Search what Fudge knows about this store: memory guides, Plans, projects, findings, recommendations, recorded changes, messages between Fudge’s agents and past conversations. Pass `about` (a URL, Shopify GID or fudge:// ref) for everything related to one thing. Conversation results say whether the work is a draft, was published or was only discussed.

ParameterTypeDescription
aboutstringID, storefront URL/path or file that results must relate to.
cursorstring
querystring
storestringThe connected store to use. Omit when only one is connected.
whereobject

read_store_activity Read store activity

Who is working on this store right now and what happened recently, in one call. `now`: running and queued work, with `startedBy` for an SEO agent’s run (its schedule, a store event, the merchant’s Run now, a message from another agent, or the merchant in its conversation). `team`: Fudge’s seven SEO agents, each with id, lane, state (only one that is on runs and reads messages), last and next run, and `runningNow`. `now` or `team` is a sentence starting “Unavailable” when it could not be read, which never means empty. `activity`: newest first, each row with `at`, `actor` (one of Fudge…

ParameterTypeDescription
cursorstringA returned cursor, for older activity.
sincestringActivity from this time on: YYYY-MM-DD in store time, or an ISO timestamp. Default: the last 30 days.
storestringThe connected store to use. Omit when only one is connected.

remember Remember for this store

Save a lasting rule, decision, correction or learning to store memory. Use when the user states how things should be done from now on, not for one-off requests. Duplicates change nothing; a contradiction comes back as a conflict.

ParameterTypeDescription
note *stringThe lasting rule, decision or learning to keep, written as it should apply in future work, with its conditions, exceptions and reason. Not a one-off task or a detail of the current draft.
personalbooleanSave only for the person you are serving: how to work with them (language, tone, length, what to ask them). Default: shared with everyone working on this store. Never put a person's private details in…
replacesbooleanThe user explicitly corrected or reversed an earlier rule. Replace the old rule instead of returning a conflict.
storestringThe connected store to use. Omit when only one is connected.

record_change Record a store change

Add a change made outside Fudge to the store’s timeline, such as ads, prices, apps, email, shipping or theme edits in Shopify, so later results can be attributed. Fudge’s own publishes are recorded automatically.

ParameterTypeDescription
surface *stringWhere: theme, catalogue, pricing, discounts, email, Meta ads, Google ads, apps, shipping or other.
what *stringWhat changed, concretely, e.g. "Raised Meta prospecting budget from €50 to €80 a day".
atstringWhen it took effect: YYYY-MM-DD or an ISO timestamp. Defaults to now.
linksarrayfudge:// references or Shopify GIDs of what the change affected, e.g. gid://shopify/Product/123.
storestringThe connected store to use. Omit when only one is connected.
whystringIntent or expected effect, so results can be checked against it later.

read_store_document Read store document

Read a store document by path: Plans (.plans), playbooks (.playbooks), memory and design guide (.memory), brand kit (.brand) and projects (.projects). Also the store’s SEO and AI search reports, the same numbers the merchant sees in Fudge, read-only and never collecting new data: `.seo/reports/index.md` holds every report’s headline with its source, period and scope; `.seo/reports/<id>.md` one report’s rows, with filters and the next page as `?name=value` (each file lists its own); `.seo/results/changes.md` what each published change did to Google clicks and visits; `.seo/results/opportu…

ParameterTypeDescription
offsetintegerCharacter offset from a previous `next`.
pathstringDocument or folder path, optionally with its ?query.
storestringThe connected store to use. Omit when only one is connected.

edit_store_document Edit store document

Change part of a store document, such as a Plan’s brief or the design guide, by replacing exact text. Fails if the text is gone or the document has changed since it was read.

ParameterTypeDescription
new_string *stringReplacement text; empty deletes old_string.
old_string *stringExact text to replace.
path *stringPath of the existing document.
replace_allbooleanReplace every occurrence. Defaults to false.
storestringThe connected store to use. Omit when only one is connected.

create_store_document Create store document

Create a document inside an existing Plan, such as .plans/<slug>/brief.md, or with `replace` rewrite a whole document that was just read.

ParameterTypeDescription
content *stringComplete document content.
path *stringDestination path, for example .plans/<slug>/brief.md.
replacebooleanTrue to replace an existing document you have read in full.
storestringThe connected store to use. Omit when only one is connected.

create_plan Create Plan

Start a new Plan for a goal the merchant has agreed and no existing Plan covers, with a title, areas, milestones and an optional brief. Schedules and recurring work are approved in Fudge.

ParameterTypeDescription
areas *arrayAreas the Plan serves; empty for store-wide work.
milestones *array
title *stringShort outcome-focused title, e.g. “Rank for trail running shoes”.
briefstringMarkdown brief: goal, audience, decisions and constraints. Saved as brief.md in the Plan.
storestringThe connected store to use. Omit when only one is connected.

list_store_audits List store audits

List the audits Fudge can run for this store: the Knowledge Base diagnostic, free SEO and BFCM audits and eight agent reviews, with each one’s latest result: a free audit’s status, check date, headline, score and result page. Listing starts nothing and spends nothing.

ParameterTypeDescription
storestringThe connected store to use. Omit when only one is connected.

run_ai_readiness_check Run AI Readiness check

Run Fudge’s free AI visibility audit: whether ChatGPT, Google AI Mode and Gemini name, cite or show the store for shopping questions in its main market, with a score and prioritized fixes. Takes about 5 minutes and waits up to 45 seconds. Reuses a running or fresh result unless `fresh` is true; an active run is always shared.

ParameterTypeDescription
domainstringThe Shopify storefront to check, e.g. example.com. Required until a store is connected; afterwards, omit it to use a connected store.
freshbooleanStart a new run even when a result from the last 24 hours exists.
storestringThe connected store to use. Omit when only one is connected.

run_catalog_data_audit Run catalog data audit

Run Fudge’s free product schema and catalogue audit: product markup, categories, product details and whether AI buyer searches find the right products, with a score and prioritized fixes. Waits up to 45 seconds. Reuses a running or fresh result unless `fresh` is true; an active run is always shared.

ParameterTypeDescription
domainstringThe Shopify storefront to check, e.g. example.com. Required until a store is connected; afterwards, omit it to use a connected store.
freshbooleanStart a new run even when a result from the last 24 hours exists.
storestringThe connected store to use. Omit when only one is connected.

run_knowledge_base_check Run Knowledge Base check

Run Fudge’s free Shopify Knowledge Base report: 15 shopper questions with the exact answers, gaps and conflicts with published information. Takes 2–5 minutes and waits up to 45 seconds. Returns a run in progress or a result from the last 24 hours unless `fresh` is true.

ParameterTypeDescription
domainstringThe Shopify storefront to check, e.g. example.com. Required until a store is connected; afterwards, omit it to use a connected store.
freshbooleanStart a new run even when a result from the last 24 hours exists.
storestringThe connected store to use. Omit when only one is connected.

run_seo_report SEO report

Run Fudge’s free SEO report on a Shopify store: a score out of 100 averaged from its page-two, missing-pages, AI-visibility and product-schema audits, which it runs together, and a short list of what to do first. It adds the store’s Google ranking counts, whether Google can read the store (robots.txt, home page title, theme files), buttons on the home page and one product page that lead nowhere, how its articles rank, real-visitor phone speed from the Chrome UX Report and one improved title previewed as a Google result. Free, no sign-in; waits up to 45 seconds, and the full report takes ab…

ParameterTypeDescription
countrystringThe market to check, as a two-letter ISO country code such as GB. Omit it for the store’s main market.
domainstringThe Shopify storefront to check, e.g. example.com. Required until a store is connected; afterwards, omit it to use a connected store.
storestringThe connected store to use. Omit when only one is connected.

check_ai_visibility AI visibility check

Asks the public ChatGPT, Google AI Mode and Gemini apps 18 shopping questions written from a Shopify store’s catalogue in its market’s language, plus what the store is known for and, on ChatGPT, its returns and free shipping. Reports an AI visibility score; how often each assistant names the store, cites its pages or shows its products, by product line; who the answers name most often and which sources they cite; how AI describes the store; and whether ChatGPT states its return window and free-shipping threshold correctly. Real app answers, signed out, not model APIs. Free, no sign-in; wai…

ParameterTypeDescription
countrystringThe market to check, as a two-letter ISO country code such as GB. Omit it for the store’s main market.
domainstringThe Shopify storefront to check, e.g. example.com. Required until a store is connected; afterwards, omit it to use a connected store.
storestringThe connected store to use. Omit when only one is connected.

find_page_two_pages Page-two finder

Finds a Shopify store’s collections, pages and articles that rank #4–20 on Google in the store’s market (DataForSEO rankings), checks the most valuable on Google today, and gives each one’s searches, monthly volumes, a range of extra clicks from reaching #3 and the change it needs, plus pages that were near page one and have left the top 20, with the cause found. One rewritten title is previewed as a Google result. Free, no sign-in; waits up to 45 seconds of a run’s usual 1–4 minutes. Shared per store for 7 days; anything not measured is reported as not checked.

ParameterTypeDescription
countrystringThe market to check, as a two-letter ISO country code such as GB. Omit it for the store’s main market.
domainstringThe Shopify storefront to check, e.g. example.com. Required until a store is connected; afterwards, omit it to use a connected store.
storestringThe connected store to use. Omit when only one is connected.

find_missing_pages Missing pages finder

Builds the Google searches for what a Shopify store sells from its catalogue (each kind of product with its attributes and audiences), keeps those a model judges are for its products, and checks the largest it has no collection for on Google today. Returns the missing pages worth building, with monthly searches and who ranks, and collections Google doesn’t show for searches they cover. Uses DataForSEO Google data and the store’s public catalogue. Free, no sign-in; waits up to 45 seconds of a run’s usual 1–4 minutes. Shared per store for 7 days. Anything it could not judge is reported a…

ParameterTypeDescription
countrystringThe market to check, as a two-letter ISO country code such as GB. Omit it for the store’s main market.
domainstringThe Shopify storefront to check, e.g. example.com. Required until a store is connected; afterwards, omit it to use a connected store.
storestringThe connected store to use. Omit when only one is connected.

check_product_schema Product schema check

Checks up to 12 of a Shopify store’s product pages, spread over product types, sale and stock, against Google’s merchant listing and product rich result rules, using Google’s Required, Recommended and Agreement levels and wording. It compares each page’s markup with Shopify’s own product data and Shopify Catalog, checks the product list for missing descriptions, images, brands, categories and buyer details and whether Shopify Catalog searches find the right products, and, when the markup lacks the store’s policies, returns a paste-ready return and shipping policy JSON-LD block buil…

ParameterTypeDescription
domainstringThe Shopify storefront to check, e.g. example.com. Required until a store is connected; afterwards, omit it to use a connected store.
storestringThe connected store to use. Omit when only one is connected.

run_bfcm_audit BFCM audit

Checks a Shopify store’s Black Friday readiness in four scored parts: gift searches its products fit (real monthly Google searches and the store’s position today, in its main market or the one `country` names), who is #1 for the store’s own "<brand> black friday" search and whether its sale states dates, how to get the discount and what’s included, its return, shipping and delivery details, and whether its public Shopify AI answers those questions correctly. Every problem comes with evidence and a fix brief. Free, no sign-in; waits up to 45 seconds, then returns progress and report lin…

ParameterTypeDescription
countrystringThe market to check, as a two-letter ISO country code such as GB. Omit it for the store’s main market.
domainstringThe Shopify storefront to check, e.g. example.com. Required until a store is connected; afterwards, omit it to use a connected store.
storestringThe connected store to use. Omit when only one is connected.

get_store_audit_result Get audit result

Read the latest full audit: status, result card and report links. Quick checks are previews, not completed audits. A previous successful report is linked separately when the latest run has not completed. Reading starts nothing. `waitSeconds` waits up to 50 seconds for a running report.

ParameterTypeDescription
audit *stringThe diagnostic’s id.
domainstringThe Shopify storefront to check, e.g. example.com. Required until a store is connected; afterwards, omit it to use a connected store.
storestringThe connected store to use. Omit when only one is connected.
waitSecondsintegerDefault 0.

read_audit_evidence Read audit evidence

Read complete retained evidence from a free audit run, including full AI answers, sources, product records and findings. Discovers named collections, then returns selected records with explicit pagination and availability. Reads only; never starts collection or spends audit allowance.

ParameterTypeDescription
audit *string
runId *stringA returned run id, from 1 to 100 characters.
domainstringThe Shopify storefront to check, e.g. example.com. Required until a store is connected; afterwards, omit it to use a connected store.
limitnumberInteger from 1 to 100 child records. Strings use 10,000-character pages.
offsetnumberNon-negative integer; use the previous page’s nextOffset.
recordIdstringA returned JSON-pointer record id; maximum 2,000 characters.
storestringThe connected store to use. Omit when only one is connected.

list_audit_runs List audit runs

List retained free audit runs for the store, newest first, with stable run ids, dates and a continuation cursor. Reads only; never starts collection or spends audit allowance.

ParameterTypeDescription
audit *string
countrystringTwo-letter ISO country code, such as GB.
cursorstringThe nextCursor from the previous page; maximum 1,000 characters.
domainstringThe Shopify storefront to check, e.g. example.com. Required until a store is connected; afterwards, omit it to use a connected store.
limitnumberInteger from 1 to 100 runs per page.
storestringThe connected store to use. Omit when only one is connected.

check_page_speed Check page speed

Measure a store page with Google PageSpeed Insights: Lighthouse score and lab metrics, real-visitor Core Web Vitals, the largest improvement opportunities and a diagnosis of the cause (LCP element and phases, request chain, render-blocking requests, third parties, layout-shift culprits). Each device takes 10–30 seconds; results are cached for an hour. On a password-protected store, only real-visitor data is available.

ParameterTypeDescription
devicestring
domainstringThe Shopify storefront to check, e.g. example.com. Required until a store is connected; afterwards, omit it to use a connected store.
pagestringA store URL or path, e.g. / or /products/blue-runner.
storestringThe connected store to use. Omit when only one is connected.

check_store_technical Check store crawlability

Check the live store’s crawlability for search and AI: robots.txt rules, /llms.txt, sitemap.xml, password protection and whether products are publicly reachable.

ParameterTypeDescription
domainstringThe Shopify storefront to check, e.g. example.com. Required until a store is connected; afterwards, omit it to use a connected store.
storestringThe connected store to use. Omit when only one is connected.

check_page Check page SEO

Check one live store page’s server HTML for SEO and structured data, as browsers and Google read it: page head, title, canonical, noindex, structured data in JSON-LD, microdata or RDFa, lang, viewport, image alt text, mixed content and word count.

ParameterTypeDescription
domainstringThe Shopify storefront to check, e.g. example.com. Required until a store is connected; afterwards, omit it to use a connected store.
pagestringA store URL or path, e.g. / or /products/blue-runner.
storestringThe connected store to use. Omit when only one is connected.

start_website_redesign Start website redesign

Start a free redesign for a public Shopify storefront, even if the user has never connected it to Fudge. The public homepage must identify the store’s myshopify.com domain. Fudge reads the homepage and public products and returns a link to choose design references and generate three homepage concepts. The concepts are created on Fudge without editing or publishing to the live store.

ParameterTypeDescription
domain *stringPublic HTTPS domain of the Shopify storefront to redesign, e.g. example.com.
instructionsstringWhat the merchant wants from the redesign, in their words.

start_store_builder Start AI store builder

Start Fudge’s free AI store builder for someone with a store idea but no store yet. It works out a name, logo and brand, then shows store concepts on Fudge’s website. Returns a link for them.

ParameterTypeDescription
description *stringThe store idea: what they sell, who for, and anything they’ve said about the brand.

check_catalog_data Check catalogue data

Check catalogue data coverage across published products, collections, pages and articles: taxonomy, SEO fields, product type, vendor, description, images, alt text and optionally GTIN and MPN. Without `type`, totals and per-field coverage; with `type`, the items missing fields, a page at a time. The first call scans the live catalogue and can return status "scanning". Results are kept for an hour.

ParameterTypeDescription
includeProductIdentifiersbooleanAlso check GTIN/barcode and MPN on products. A separate, slower scan.
limitinteger
missingstringWith type: only items missing this field, named as in the summary, e.g. "Meta description".
offsetinteger
refreshbooleanRescan instead of reusing this hour’s result. Only after the merchant changed catalogue data.
storestringThe connected store to use. Omit when only one is connected.
typestringList this type’s offenders instead of the summary.

search_catalog Search catalogue

Find the store’s products, collections, pages and articles by name or handle, or list them by type. Matches singular, plural and partial words, and returns close matches when nothing matches every word.

ParameterTypeDescription
limitinteger
offsetinteger
querystringWords from the title or handle. Leave empty to list by type in title order.
storestringThe connected store to use. Omit when only one is connected.
typesarray

list_offers List offers

List the store’s current offers: Fudge offers, active Shopify discounts, native bundles, and shipping rates by zone or market with their free-shipping conditions. Use for an offers or average-order-value review.

ParameterTypeDescription
storestringThe connected store to use. Omit when only one is connected.

capture_page Capture page screenshots

Screenshot one store page in a real browser on desktop and/or mobile and return the images. Pass `draft` to see a Fudge draft. `fullPage` captures top to bottom. Takes 15–60 seconds; up to 50 captures per store per day.

ParameterTypeDescription
devicestring
draftstringA draft’s fudge://project/… ref: capture the page as that draft shows it. Staged product and page content changes appear only on Fudge’s review page, not here.
fullPageboolean
pagestringA store URL or path, e.g. / or /products/blue-runner. Defaults to the home page, or with `draft` to the page the draft is about.
storestringThe connected store to use. Omit when only one is connected.

get_keyword_metrics Get keyword metrics

Get Google search volume, difficulty, intent, CPC and 12-month history for specific keywords in one country. Missing values are unknown, not zero. Changes nothing and uses no credits; each store has a daily limit.

ParameterTypeDescription
keywords *array
location *stringTarget country, e.g. "United States". Ask the merchant which countries they sell to if unknown.
languagestringLanguage code, e.g. "en". Defaults to the store’s language.
storestringThe connected store to use. Omit when only one is connected.

find_keyword_ideas Find keyword ideas

Find longer search phrases containing a seed keyword, with volume, difficulty and intent. Changes nothing and uses no credits; each store has a daily limit.

ParameterTypeDescription
location *stringTarget country, e.g. "United States". Ask the merchant which countries they sell to if unknown.
seed *string
languagestringLanguage code, e.g. "en". Defaults to the store’s language.
limitinteger
maxDifficultynumber
minVolumeinteger
storestringThe connected store to use. Omit when only one is connected.

get_search_results Get search results

Read Google’s live first results page for one search in one country: ranked results, features, AI Overview citations, People Also Ask and related searches. Changes nothing and uses no credits; each store has a daily limit.

ParameterTypeDescription
keyword *string
location *stringTarget country, e.g. "United States". Ask the merchant which countries they sell to if unknown.
devicestring
languagestringLanguage code, e.g. "en". Defaults to the store’s language.
storestringThe connected store to use. Omit when only one is connected.

get_ranked_keywords Get ranked keywords

List the Google searches a domain ranks for in one country, with position, URL, volume, difficulty and estimated traffic. Defaults to this store; pass a competitor’s domain to compare. Changes nothing and uses no credits; each store has a daily limit.

ParameterTypeDescription
location *stringTarget country, e.g. "United States". Ask the merchant which countries they sell to if unknown.
domainstringDefaults to this store’s domain.
languagestringLanguage code, e.g. "en". Defaults to the store’s language.
limitinteger
pathPrefixstringOnly URLs under this path, e.g. /blogs/.
storestringThe connected store to use. Omit when only one is connected.

list_work List work

List Fudge work for this store, including work started in Fudge or another assistant. `view: "needs_you"` returns what is waiting on the merchant. `query` searches past work.

ParameterTypeDescription
beforestring
kindstring
limitnumber1–50, default 20.
querystringRanked search; cannot be combined with before.
storestringThe connected store to use. Omit when only one is connected.
viewstring

read_work Read work

With `ref`: one work item’s live state, progress, latest result, what it is waiting for, and draft or publication state with links; `waitSeconds` waits up to 50 seconds. With `about` (a URL, path, Shopify GID, theme file or fudge:// ref): what has changed there, by `view` current, history or summary. `about: "fudge://store"` with `view: "history"` is the whole store’s change timeline.

ParameterTypeDescription
aboutstringStorefront URL/path, Shopify GID, theme file, fudge://discount/<key>, .projects/.plans path, or fudge://store for the whole store.
cursorstring
fromstringWith view history: YYYY-MM-DD in store time, or an ISO timestamp.
refstringA work item to read: fudge://project/… or fudge://thread/….
storestringThe connected store to use. Omit when only one is connected.
tostring
viewstring
waitSecondsintegerWith ref: wait up to this long for running work to finish or need the merchant. Default 0.

message_fudge Message Fudge

Ask Fudge to do work for this store: build or revise a page, article or other draft, investigate, or answer a question. Without `ref`, starts a new conversation; with `ref`, continues that work. Uses the store’s Fudge credits. `requestId` makes retries deliver once. Publishing always needs the merchant’s own approval in Fudge.

ParameterTypeDescription
message *stringThe merchant’s request in full: what to do, for which page or products, and any decisions already made.
requestId *stringA unique ID you choose for this request, e.g. a UUID. Retries reuse it.
deliverystring
refstringfudge://thread/… or fudge://project/… to continue; omit to start new work.
storestringThe connected store to use. Omit when only one is connected.
titlestringShort title for a new conversation.

stop_work Stop work

Stop Fudge’s reply running on one work item. With `runId`, stops only that run. The draft and anything already saved stay.

ParameterTypeDescription
ref *stringThe work’s fudge://thread/… or fudge://project/… ref.
runIdstring
storestringThe connected store to use. Omit when only one is connected.

request_publish_review Request publish review

Prepare a finished draft for the merchant’s publish decision. Returns the link to Fudge’s review page, what will change and whether publishing needs a plan. This does not publish; only the merchant can, in Fudge.

ParameterTypeDescription
ref *stringThe work’s fudge://project/… ref.
storestringThe connected store to use. Omit when only one is connected.

open_fudge_home Fudge Home

Open Fudge Home for a store: work waiting on the merchant, the next recommended step and the four growth areas. Use when the merchant asks to open Fudge or see their store at a glance.

ParameterTypeDescription
storestringThe connected store to use. Defaults to the first one.

show_draft Draft preview

Show a Fudge draft in the side panel with its screenshot, saved time, change count and links. Without a ref, lists recent drafts.

ParameterTypeDescription
refstringA fudge://project/… ref.
storestringThe connected store to use. Defaults to the first one.

start_draft Start draft

Open a private Fudge draft to build in directly. Fudge copies the live theme into a draft with its own preview. Give a short title and the storefront `page`, or `work` to continue existing work. `requestId` makes retries create one draft. Use for precise changes you make yourself; needs a Fudge plan that includes building.

ParameterTypeDescription
requestId *stringA unique ID you choose for this request, e.g. a UUID. Retries reuse it.
title *stringShort merchant-facing name for the work, e.g. “Size guide on product pages”.
pagestringStorefront path the work is about, e.g. /products/blue-runner, /collections/sale or /pages/about. Anchors the preview. Defaults to the home page.
storestringThe connected store to use. Omit when only one is connected.
workstringA fudge://project/… ref to continue instead of starting new work.

read_draft_file Read draft file

Read a file in a Fudge draft: a theme file, a theme folder listing, or a content document under .entities (list with .entities/product?query=…). Each line starts with a gutter ending at its first tab, numbered on the first, last and every tenth line; long files return `line_offset`. Theme files return a `revision`. Append #info to see where a theme file is used.

ParameterTypeDescription
draft *stringThe draft’s fudge://project/… ref.
path *stringA theme file such as sections/main-product.liquid or templates/product.json, or a content document such as .entities/product/123.jsonc or .entities/page/45.body.html.
char_offsetintegerCharacter offset within a very long first line, only when the result says to continue with one.
line_limitintegerLines to return. Omit to read up to the limit.
line_offsetinteger0-based line to start from, from a previous read.
storestringThe connected store to use. Omit when only one is connected.

search_draft_files Search draft files

Find theme files in a Fudge draft. With `pattern`, search contents by regular expression; without it, list files matching `paths` globs.

ParameterTypeDescription
draft *stringThe draft’s fudge://project/… ref.
paths *arrayFiles, folders or glob patterns, e.g. ["sections", "snippets/*price*.liquid"].
patternstringRegular expression (RE2 syntax: no lookarounds or backreferences) to search for in those files.
storestringThe connected store to use. Omit when only one is connected.

edit_draft_file Edit draft file

Change part of a theme file or .entities document in a Fudge draft by replacing exact text, without line gutters. Fudge validates the result and refreshes the preview.

ParameterTypeDescription
draft *stringThe draft’s fudge://project/… ref.
edits *array
path *stringA theme file such as sections/main-product.liquid or templates/product.json, or a content document such as .entities/product/123.jsonc or .entities/page/45.body.html.
revisionstringThe revision returned when this file was read.
storestringThe connected store to use. Omit when only one is connected.

write_draft_file Write draft file

Create a new theme file in a Fudge draft, or with `replace` rewrite a whole file. New theme filenames include the draft’s file prefix, except templates, config and locales. Every sections/*.liquid file needs a {% schema %} with a non-empty "name".

ParameterTypeDescription
content *stringThe complete file content, without line gutters.
draft *stringThe draft’s fudge://project/… ref.
path *stringA theme file such as sections/main-product.liquid or templates/product.json, or a content document such as .entities/product/123.jsonc or .entities/page/45.body.html.
replacebooleanTrue to replace an existing file you have read in full.
revisionstringThe revision returned when this file was read, when replacing.
storestringThe connected store to use. Omit when only one is connected.

delete_draft_file Delete draft file

Delete a theme file from a Fudge draft, or stage removal of an item by its .entities path. Fudge refuses deletions that would break references. Publishing applies the removal; until then it can be undone.

ParameterTypeDescription
draft *stringThe draft’s fudge://project/… ref.
path *stringA theme file such as sections/main-product.liquid or templates/product.json, or a content document such as .entities/product/123.jsonc or .entities/page/45.body.html.
storestringThe connected store to use. Omit when only one is connected.

edit_draft_content Edit draft content

Change products, collections, pages, articles, blogs and their metafields in a Fudge draft with sparse patches, many items in one call. - Name only the fields you change; nested objects such as seo merge per key. - Rows with an "id" (variants, options, media) merge by id; omit "id" to add a row; {"id": …, "_delete": true} removes one. Variants and media live at .entities/product/{id}/variants.jsonc and media.jsonc. - Lists such as tags take a full array or {"add": […], "remove": […]}. - Metafields: .entities/product/{id}.metafields with {"namespace.key": {"type": …, "value": …}}; "va…

ParameterTypeDescription
draft *stringThe draft’s fudge://project/… ref.
edits *array
storestringThe connected store to use. Omit when only one is connected.

create_draft_product Create product in draft

Create a new hidden product in a Fudge draft, with options, variants, prices and media. It is deleted if the draft is discarded and becomes active when the merchant publishes. Use only when the merchant asks.

ParameterTypeDescription
draft *stringThe draft’s fudge://project/… ref.
product *object
storestringThe connected store to use. Omit when only one is connected.

create_draft_collection Create collection in draft

Create a new hidden collection in a Fudge draft. It is deleted if the draft is discarded and goes live when the merchant publishes. Use only when the merchant asks.

ParameterTypeDescription
collection *object
draft *stringThe draft’s fudge://project/… ref.
storestringThe connected store to use. Omit when only one is connected.

create_draft_page Create page in draft

Create a new Shopify page in a Fudge draft, optionally with its own template. It can be previewed in the draft and goes live when the merchant publishes.

ParameterTypeDescription
draft *stringThe draft’s fudge://project/… ref.
page *object
storestringThe connected store to use. Omit when only one is connected.

create_draft_article Create article in draft

Create a new blog article in a Fudge draft. It can be previewed in the draft and goes live when the merchant publishes.

ParameterTypeDescription
article *object
draft *stringThe draft’s fudge://project/… ref.
storestringThe connected store to use. Omit when only one is connected.

send_feedback Send feedback to Fudge

Send the Fudge team a problem with its tools, a capability you needed, or feedback the merchant asked you to pass on.

ParameterTypeDescription
message *stringUp to 250 words, starting with a one-line summary. For a problem: what you did, what the tools returned and what would have made it easy. For missing: the task, what you did instead and what the tool…
type *stringbroken: a Fudge tool failed or did the wrong thing. stuck: you couldn’t finish the task with Fudge’s tools. hard: the tools made the task much harder than it should be. missing: the task needed so…
storestringThe connected store to use. Defaults to the first one.

show_resources Show in Fudge

Show Fudge items to the merchant as rows that open in Fudge: work, Plans, findings, recommendations, reports, products and pages.

ParameterTypeDescription
refs *array
storestringThe connected store to use. Omit when only one is connected.