Skip to main content
The tools endpoints give the API everything the EcomWize MCP server can do. Each MCP tool is one REST call, with the same arguments, the same permissions and the same rate limits. Whatever works in Claude, ChatGPT or Cursor works over the API.

List the tools you can call

Returns { "tools": [ { "name", "description", "inputSchema", "annotations" } ] } with only the tools your key may use. Read-only keys get the read tools.

Call a tool

Send the tool arguments as a JSON object:
A successful call returns { "result": ... }. Errors return { "error", "message", "status" }:

Rate limits

Limits are shared per workspace across the API and MCP: 120 read calls, 30 edit or publish calls and 10 AI calls per minute.
Page writes are safe to run while someone edits in the builder: a write that would overwrite newer changes is refused, and every write saves a version you can restore from History.

Read tools

Look up pages, section code, the section library, templates, brand kits, stores and products. Needs any key.

list_pages

List the workspace pages (newest first): id, title, status, page kind, section count, whether it is a code page, and the builder link.

get_page

Read a page: settings, brand kit, linked product, and every section with its id, name, editable text slots (t0, t1…) and image slots (i0, i1…). Returns sections_hash for safe writes. Call get_section_code for a section’s full code.

get_section_code

Max plan only. The full Liquid + HTML + Tailwind code (and optional scoped CSS) of one section. Edit it, then send it back with update_section.

list_section_library

The proven section designs (hero, benefits, reviews, FAQ, product buy box…): key, name, category, description. Add one with add_section.

get_library_section

Max plan only. The code of a library section, to adapt before adding it with add_section (code).

list_templates

Ready-made page templates (landing pages, product pages, listicles…): id, name, category. Use with create_page or generate_page.

list_brand_kits

The workspace brand kits (colors, fonts, buttons + brand context) and the public preset looks. No arguments.

get_brand_kit

All fields of one brand kit (design tokens and brand context).

list_stores

Connected Shopify stores (id, domain, name). No arguments.

list_products

Products of a connected Shopify store (id, title, handle, image, price).

Edit tools

Change pages, sections, settings and brand kits. No credits. Needs a key with full access.

create_page

Create a draft page: blank, or a copy of a template (keeps the template design). Optionally attach a brand kit and a store product. To have AI write it for a product, use generate_page instead.

add_section

Add a section: a library design (library_key, every plan) or your own code (source + optional css, name; Max plan). Placed at the end unless after_section_id or position is given. Code is sanitized, rendered and compiled before saving; errors come back to fix.

update_section

Max plan only. Change a section’s code: either the full new source, or patches (exact find/replace, first match each). Optional css and name. Validated (sanitize, Liquid render, Tailwind) before saving; a version is kept so it can be restored.

edit_text

Replace text in a section by slot key (t0, t1… from get_page). Plain text only (HTML is escaped). Safest way to rewrite copy.

replace_image

Swap images in a section by slot key (i0, i1… from get_page) with public https image URLs.

remove_section

Delete a section (a version is kept, restorable from the builder History).

move_section

Move a section to a new position (0 = first) or right after another section.

update_page_settings

Page title, URL handle, SEO description and page background color.

set_brand_kit

Style a page with a brand kit (its colors, fonts and buttons apply to every section).

create_brand_kit

Create a brand kit by hand: name plus design fields (see get_brand_kit for names, e.g. brand_primary, btn_color, font_family_heading) and optional context (store_name, tagline, niche, audience, about).

update_brand_kit

Change fields of one of the workspace brand kits.

fill_page_sections

Classic pages only (sections that are not code). Update content fields keyed section_1, section_2… For code pages use edit_text / update_section.

duplicate_page

Duplicate a page (any kind) as a new draft, within the plan page limit.

Generate with AI tools

AI work that spends your workspace credits. Needs a key with full access.

generate_page

AI writes a complete page for a product in about 30 seconds: from the section library for the page type, or by filling a template. Creates the page unless page_id (an empty page) is given. Costs 50 credits, plus 10 per image when generate_images is true.

generate_brand_kit

AI creates a brand kit from a description (“calm, premium skincare, sage green”) or from a website URL (reads its real colors and fonts). Saves it in the workspace. Costs 1 credit.

Publish tools

Publish pages to your connected Shopify store. Needs a key with full access.

publish_page

Publish (or republish) a page to its connected Shopify store. Returns the live URL.