Withdraw or restore a file
Outcome: a file you don’t want agents to read is off your domain, and you can put it back with one click.
Before you start
Section titled “Before you start”- The ShopMD app is installed and the file has been generated.
- Withdrawing is per file. It doesn’t delete anything: the file, your edits and your gap answers are kept, and refreshes keep arriving as drafts for your approval.
store.mdis never published on your storefront, so it has nothing to withdraw.
Withdraw a file
Section titled “Withdraw a file”-
Open Documents in the app and pick the file’s tab, such as
policies.md. -
Press Withdraw under Manage document.
-
Confirm. The dialog asks “Withdraw policies.md?” and explains: “It stops being served at /apps/shopmd/policies.md. Agents fetching it will get nothing until you restore it. The document itself is kept, so you can put it back at any time.” Press Withdraw.
What you’ll see
Section titled “What you’ll see”- The toast says “policies.md is off your domain”.
- The file’s Status changes to Withdrawn, and View published disappears.
- Its address answers “not found”, exactly like an address that never had a file.
- The MCP server stops returning it. Connected AI assistants may take a few minutes to notice.
Restore a file
Section titled “Restore a file”On Documents, pick the withdrawn file and press Restore to domain. There’s no confirmation, because restoring only adds a file back. The toast says “policies.md is back on your domain”, and the file is served again with its latest content and your edits.
Why shop.md and agents.md go last
Section titled “Why shop.md and agents.md go last”shop.md and agents.md are how an agent finds your other files. The Agent reading order line at the
top of Documents shows this: shop.md first, then the files it points to.
So ShopMD won’t withdraw either of them while files they point to are still live. You’ll see a message that starts “shop.md is how an agent finds your other files.”
Right now, that means shop.md and agents.md can’t be withdrawn while your Store Intel file
(store.md) exists, and store.md has no Withdraw button. If you need shop.md or agents.md taken
down, contact us. The other files can be withdrawn and restored in any order.
Product and collection files
Section titled “Product and collection files”Per-product and per-collection files aren’t withdrawn from Documents. They come down when no template fills a field for them any more, and go back up when one does. See Write product and collection files with templates.
If something goes wrong
Section titled “If something goes wrong”| What you see | What to do |
|---|---|
A message that shop.md or agents.md “is how an agent finds your other files” |
shop.md and agents.md can’t currently be withdrawn while your Store Intel file (store.md) exists. Leave it up, or contact us to have it taken down. |
| “Could not do that. Try again.” | Try again. If it keeps failing, reload the page. |
| The file still answers right after withdrawing | Give it a moment and check again in a private window, in case your browser cached the page. |