{"description":"The actions a visitor's own AI agent may take on this website.","endpoint":"/api/v1/webmcp/tools","spec":"mcp-server-card-draft","tools":[{"description":"List the forms on this website, or — given a form's slug — the fields it asks for, with their keys, labels, types and which are required. Call this before submit_form so the values are sent under the keys this site's form actually uses.","effect":"read","inputSchema":{"type":"object","properties":{"slug":{"type":"string","description":"the form's slug; omit to list the forms on this site"}},"additionalProperties":false},"name":"describe_form"},{"description":"Ask this website to email the person you are helping when someone replies in a page's discussion. Use their own address, as they gave it — never one you chose. The site sends a confirmation first and delivers nothing until they accept it, so this cannot subscribe anyone who does not agree.","effect":"submit","inputSchema":{"type":"object","properties":{"path":{"type":"string","description":"path of the page whose discussion to follow, e.g. /blog/hello; omit for the page the visitor is on"},"email":{"type":"string","description":"the person's own email address, as THEY gave it — never invented; a confirmation is sent and nothing arrives until they accept it"}},"required":["email"],"additionalProperties":false},"name":"follow_discussion"},{"description":"List what this website publishes — its latest posts, its products, or everything filed under one category or tag — with each item's title, URL, short excerpt and date. Use it to find out what a site offers before searching it: search_site needs a query, and this answers \"what have you got\". Omit every argument for the site's main feed. The reply names the content types this site actually has, so a follow-up call can narrow to one.","effect":"read","inputSchema":{"type":"object","properties":{"type":{"type":"string","description":"content type key to list, e.g. post or product; omit for this site's main feed"},"taxonomy":{"type":"string","description":"taxonomy key to narrow by, e.g. category or tag; needs term"},"term":{"type":"string","description":"term slug within that taxonomy, e.g. news; needs taxonomy"},"page":{"type":"integer","description":"1-based page; omit for the first"}},"additionalProperties":false},"name":"list_content"},{"description":"A link for a PERSON to open and pay: it brings this basket, and what quote filled in, to the shop's own checkout page. Give it to the person you are helping; the order is theirs to place.","effect":"submit","inputSchema":{"properties":{"cart_token":{"description":"from create_cart","type":"string"}},"required":["cart_token"],"type":"object"},"name":"nilda_ecommerce.checkout_link"},{"description":"Put products in a new basket of this shop (or add to one you hold) and get its cart_token, the lines and the subtotal. The token is this basket's only key: keep it for quote and checkout_link. Nothing is ordered or paid.","effect":"submit","inputSchema":{"properties":{"cart_token":{"description":"a basket you already hold, to add to it","type":"string"},"lines":{"description":"what to put in, at most 50 lines","items":{"properties":{"quantity":{"description":"how many, 1 when left out","type":"integer"},"sku":{"description":"a variant's SKU, from get_product","type":"string"}},"required":["sku"],"type":"object"},"type":"array"}},"required":["lines"],"type":"object"},"name":"nilda_ecommerce.create_cart"},{"description":"One product of this shop by its SKU: its description, pictures, page, and each variant (size, colour…) with its own SKU, price to pay in minor units and whether it can be bought now. Put a variant's SKU in create_cart.","effect":"read","inputSchema":{"properties":{"sku":{"description":"the product's or a variant's SKU","type":"string"}},"required":["sku"],"type":"object"},"name":"nilda_ecommerce.get_product"},{"description":"Place the order for a basket and pay with a payment token your buyer's wallet granted you (a Stripe Shared Payment Token, type stripe.shared_payment_token) — only for an agent this shop lets buy; any other gets checkout_link. Uses what quote filled in; give the email, address and delivery option there or here. Show your buyer the quote's pre_contract first (who sells, the right of withdrawal, the terms; the first quote of the basket has it in full); terms_accepted says the buyer accepts the shop's terms. For a download, digital_consent with the quote's digital_consent_text word for word. Answers the order, whether it is paid, and contract: what your buyer is now bound to — the seller, what was bought, the total, the right of withdrawal and its form — show it to them.","effect":"submit","inputSchema":{"properties":{"cart_token":{"description":"from create_cart","type":"string"},"digital_consent":{"description":"for a download: the buyer wants it at once and gives up withdrawing","type":"boolean"},"digital_consent_text":{"description":"with digital_consent: the quote's digital_consent_text, word for word, as the buyer agreed to it","type":"string"},"email":{"description":"the buyer's, if quote was not told","type":"string"},"payment":{"description":"the delegated payment token","properties":{"token":{"description":"spt_…","type":"string"},"type":{"description":"stripe.shared_payment_token","type":"string"}},"required":["type","token"],"type":"object"},"shipping_method_id":{"description":"one of the delivery options a quote listed","type":"string"},"terms_accepted":{"description":"the buyer accepts the shop's terms","type":"boolean"}},"required":["cart_token","terms_accepted","payment"],"type":"object"},"name":"nilda_ecommerce.place_order"},{"description":"Price a basket for delivery to an address: the ways it can be delivered with their cost, the tax, any discount and the total, and what a person must still fill in to buy. Give at least the country; send the chosen delivery option's id to fix it. Nothing is ordered or paid. The FIRST quote of a basket carries pre_contract in full — what your buyer must be told before they are bound, with a version. When you quote the same basket again, send that version as pre_contract_seen: if nothing in it changed (the basket, the country, the shop's legal text) you get only {version, unchanged} and the text you already showed your buyer stands; if anything changed you get it in full again.","effect":"submit","inputSchema":{"properties":{"cart_token":{"description":"from create_cart","type":"string"},"city":{"description":"","type":"string"},"country":{"description":"ISO 3166-1 alpha-2, e.g. AT","type":"string"},"discount_code":{"description":"","type":"string"},"email":{"description":"where the shop sends the order's mails","type":"string"},"line1":{"description":"street and number","type":"string"},"line2":{"description":"","type":"string"},"name":{"description":"who receives it","type":"string"},"phone":{"description":"for a courier","type":"string"},"postcode":{"description":"","type":"string"},"pre_contract_seen":{"description":"the version of the pre_contract a quote gave you and you showed your buyer; sent back, an unchanged one is not repeated","type":"string"},"shipping_method_id":{"description":"one of the delivery options a quote listed","type":"string"},"state":{"description":"","type":"string"}},"required":["cart_token","country"],"type":"object"},"name":"nilda_ecommerce.quote"},{"description":"Search this shop's products by words. Each result has its SKU, title, page, picture, the lowest price to pay (in minor units — 1999 is 19.99 — with the tax the shop shows) and whether it can be bought now. A misspelt word is read as the closest word the shop has (searched_for says what was searched), and suggestions are searches the words complete to. Use get_product for a product's sizes, colours and their prices.","effect":"read","inputSchema":{"properties":{"in_stock_only":{"description":"leave out what cannot be bought now","type":"boolean"},"limit":{"description":"how many, 1 to 20 (10 when left out)","type":"integer"},"max_price_minor":{"description":"the most to pay, in minor units","type":"integer"},"query":{"description":"words to look for, e.g. \"linen shirt\"; empty lists the newest","type":"string"}},"type":"object"},"name":"nilda_ecommerce.search_products"},{"description":"Read the full text of one published page on this website, given its path. Use it after search_site has found the page, or when the visitor is asking about the page they are currently on.","effect":"read","inputSchema":{"type":"object","properties":{"path":{"type":"string","description":"the path of a page on this site, e.g. /about or /blog/hello"}},"required":["path"],"additionalProperties":false},"name":"read_page"},{"description":"Search this website's published content and get back matching pages with their titles, URLs and short excerpts. Use it to find out whether this site covers a topic, or to locate the page that answers a question before reading it.","effect":"read","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"what to search this site for"},"page":{"type":"integer","description":"1-based results page; omit for the first"}},"required":["query"],"additionalProperties":false},"name":"search_site"},{"description":"Send this website's owner a message through one of its forms — a contact form, a signup, an enquiry. The values must use the field keys describe_form reported. The site's own spam and rate-limit protections apply exactly as they do to a person filling the form in.","effect":"submit","inputSchema":{"type":"object","properties":{"slug":{"type":"string","description":"the slug of the form to submit, from describe_form"},"values":{"type":"object","description":"the field values, keyed by the field keys from describe_form","additionalProperties":true}},"required":["slug","values"],"additionalProperties":false},"name":"submit_form"}],"transport":"http"}