Swell MCP by usefulapi is an MCP server published by io.usefulapi, hosted at swell.usefulapi.io. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 16 tools, including swell_list_products, swell_get_product, swell_list_categories, swell_list_orders, swell_get_order.
Manage your Swell headless-commerce store — products, orders, customers, and subscriptions.
4,407 connections through 5 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
List products in the store, with MongoDB-style filtering, sorting, search, field selection, and expansion. Swell backend REST API: GET /products.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number for pagination (default 1). |
| sort | string | Sort expression, e.g. "date_created desc" or "name asc". |
| limit | integer | Max records to return (1–1000, Swell default 15). |
| where | string | MongoDB-style filter as a JSON object string, e.g. {"active":true,"price":{"$gte":10}}. |
| expand | string | Comma-separated related fields to expand, e.g. "variants,categories". |
| fields | string | Comma-separated fields to return, e.g. "name,price,active". |
| search | string | Free-text search across the model's searchable fields. |
{
"name": "swell_list_products",
"title": "List products",
"description": "List products in the store, with MongoDB-style filtering, sorting, search, field selection, and expansion. Swell backend REST API: GET /products.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Page number for pagination (default 1).",
"exclusiveMinimum": 0
},
"sort": {
"type": "string",
"description": "Sort expression, e.g. \"date_created desc\" or \"name asc\"."
},
"limit": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Max records to return (1–1000, Swell default 15)."
},
"where": {
"type": "string",
"description": "MongoDB-style filter as a JSON object string, e.g. {\"active\":true,\"price\":{\"$gte\":10}}."
},
"expand": {
"type": "string",
"description": "Comma-separated related fields to expand, e.g. \"variants,categories\"."
},
"fields": {
"type": "string",
"description": "Comma-separated fields to return, e.g. \"name,price,active\"."
},
"search": {
"type": "string",
"description": "Free-text search across the model's searchable fields."
}
}
},
"annotations": {
"title": "List products",
"readOnlyHint": true
}
}Fetch a single product by its record id or its slug. Supports `expand` and `fields`. Swell backend REST API: GET /products/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Product id or slug. |
| expand | string | Comma-separated related fields to expand, e.g. "variants,categories". |
| fields | string | Comma-separated fields to return, e.g. "name,price". |
{
"name": "swell_get_product",
"title": "Get a product",
"description": "Fetch a single product by its record id or its slug. Supports `expand` and `fields`. Swell backend REST API: GET /products/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Product id or slug."
},
"expand": {
"type": "string",
"description": "Comma-separated related fields to expand, e.g. \"variants,categories\"."
},
"fields": {
"type": "string",
"description": "Comma-separated fields to return, e.g. \"name,price\"."
}
}
},
"annotations": {
"title": "Get a product",
"readOnlyHint": true
}
}List product categories, with filtering, sorting, search, and expansion. Swell backend REST API: GET /categories.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number for pagination (default 1). |
| sort | string | Sort expression, e.g. "date_created desc" or "name asc". |
| limit | integer | Max records to return (1–1000, Swell default 15). |
| where | string | MongoDB-style filter as a JSON object string, e.g. {"active":true,"price":{"$gte":10}}. |
| expand | string | Comma-separated related fields to expand, e.g. "variants,categories". |
| search | string | Free-text search across the model's searchable fields. |
{
"name": "swell_list_categories",
"title": "List categories",
"description": "List product categories, with filtering, sorting, search, and expansion. Swell backend REST API: GET /categories.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Page number for pagination (default 1).",
"exclusiveMinimum": 0
},
"sort": {
"type": "string",
"description": "Sort expression, e.g. \"date_created desc\" or \"name asc\"."
},
"limit": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Max records to return (1–1000, Swell default 15)."
},
"where": {
"type": "string",
"description": "MongoDB-style filter as a JSON object string, e.g. {\"active\":true,\"price\":{\"$gte\":10}}."
},
"expand": {
"type": "string",
"description": "Comma-separated related fields to expand, e.g. \"variants,categories\"."
},
"search": {
"type": "string",
"description": "Free-text search across the model's searchable fields."
}
}
},
"annotations": {
"title": "List categories",
"readOnlyHint": true
}
}List orders, with MongoDB-style filtering, sorting, search, and expansion. Swell backend REST API: GET /orders.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number for pagination (default 1). |
| sort | string | Sort expression, e.g. "date_created desc" or "name asc". |
| limit | integer | Max records to return (1–1000, Swell default 15). |
| where | string | MongoDB-style filter as a JSON object string, e.g. {"active":true,"price":{"$gte":10}}. |
| expand | string | Comma-separated related fields to expand, e.g. "variants,categories". |
| search | string | Free-text search across the model's searchable fields. |
{
"name": "swell_list_orders",
"title": "List orders",
"description": "List orders, with MongoDB-style filtering, sorting, search, and expansion. Swell backend REST API: GET /orders.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Page number for pagination (default 1).",
"exclusiveMinimum": 0
},
"sort": {
"type": "string",
"description": "Sort expression, e.g. \"date_created desc\" or \"name asc\"."
},
"limit": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Max records to return (1–1000, Swell default 15)."
},
"where": {
"type": "string",
"description": "MongoDB-style filter as a JSON object string, e.g. {\"active\":true,\"price\":{\"$gte\":10}}."
},
"expand": {
"type": "string",
"description": "Comma-separated related fields to expand, e.g. \"variants,categories\"."
},
"search": {
"type": "string",
"description": "Free-text search across the model's searchable fields."
}
}
},
"annotations": {
"title": "List orders",
"readOnlyHint": true
}
}Fetch a single order by its record id or its order number. Supports `expand` and `fields`. Swell backend REST API: GET /orders/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Order id or order number. |
| expand | string | Comma-separated related fields to expand, e.g. "items,account". |
| fields | string | Comma-separated fields to return. |
{
"name": "swell_get_order",
"title": "Get an order",
"description": "Fetch a single order by its record id or its order number. Supports `expand` and `fields`. Swell backend REST API: GET /orders/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Order id or order number."
},
"expand": {
"type": "string",
"description": "Comma-separated related fields to expand, e.g. \"items,account\"."
},
"fields": {
"type": "string",
"description": "Comma-separated fields to return."
}
}
},
"annotations": {
"title": "Get an order",
"readOnlyHint": true
}
}List customers. In Swell, customers are the `accounts` model — this queries GET /accounts, with filtering, sorting, search, and expansion.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number for pagination (default 1). |
| sort | string | Sort expression, e.g. "date_created desc" or "name asc". |
| limit | integer | Max records to return (1–1000, Swell default 15). |
| where | string | MongoDB-style filter as a JSON object string, e.g. {"active":true,"price":{"$gte":10}}. |
| expand | string | Comma-separated related fields to expand, e.g. "variants,categories". |
| search | string | Free-text search across the model's searchable fields. |
{
"name": "swell_list_customers",
"title": "List customers",
"description": "List customers. In Swell, customers are the `accounts` model — this queries GET /accounts, with filtering, sorting, search, and expansion.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Page number for pagination (default 1).",
"exclusiveMinimum": 0
},
"sort": {
"type": "string",
"description": "Sort expression, e.g. \"date_created desc\" or \"name asc\"."
},
"limit": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Max records to return (1–1000, Swell default 15)."
},
"where": {
"type": "string",
"description": "MongoDB-style filter as a JSON object string, e.g. {\"active\":true,\"price\":{\"$gte\":10}}."
},
"expand": {
"type": "string",
"description": "Comma-separated related fields to expand, e.g. \"variants,categories\"."
},
"search": {
"type": "string",
"description": "Free-text search across the model's searchable fields."
}
}
},
"annotations": {
"title": "List customers",
"readOnlyHint": true
}
}Fetch a single customer (Swell `accounts` model) by id. Supports `expand` and `fields`. Swell backend REST API: GET /accounts/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Customer (account) id. |
| expand | string | Comma-separated related fields to expand, e.g. "orders,subscriptions". |
| fields | string | Comma-separated fields to return. |
{
"name": "swell_get_customer",
"title": "Get a customer",
"description": "Fetch a single customer (Swell `accounts` model) by id. Supports `expand` and `fields`. Swell backend REST API: GET /accounts/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Customer (account) id."
},
"expand": {
"type": "string",
"description": "Comma-separated related fields to expand, e.g. \"orders,subscriptions\"."
},
"fields": {
"type": "string",
"description": "Comma-separated fields to return."
}
}
},
"annotations": {
"title": "Get a customer",
"readOnlyHint": true
}
}List shopping carts (including abandoned carts), with filtering, sorting, and expansion. Swell backend REST API: GET /carts.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number for pagination (default 1). |
| sort | string | Sort expression, e.g. "date_created desc" or "name asc". |
| limit | integer | Max records to return (1–1000, Swell default 15). |
| where | string | MongoDB-style filter as a JSON object string, e.g. {"active":true,"price":{"$gte":10}}. |
| expand | string | Comma-separated related fields to expand, e.g. "variants,categories". |
{
"name": "swell_list_carts",
"title": "List carts",
"description": "List shopping carts (including abandoned carts), with filtering, sorting, and expansion. Swell backend REST API: GET /carts.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Page number for pagination (default 1).",
"exclusiveMinimum": 0
},
"sort": {
"type": "string",
"description": "Sort expression, e.g. \"date_created desc\" or \"name asc\"."
},
"limit": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Max records to return (1–1000, Swell default 15)."
},
"where": {
"type": "string",
"description": "MongoDB-style filter as a JSON object string, e.g. {\"active\":true,\"price\":{\"$gte\":10}}."
},
"expand": {
"type": "string",
"description": "Comma-separated related fields to expand, e.g. \"variants,categories\"."
}
}
},
"annotations": {
"title": "List carts",
"readOnlyHint": true
}
}List subscriptions, with filtering, sorting, and expansion. Swell backend REST API: GET /subscriptions.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number for pagination (default 1). |
| sort | string | Sort expression, e.g. "date_created desc" or "name asc". |
| limit | integer | Max records to return (1–1000, Swell default 15). |
| where | string | MongoDB-style filter as a JSON object string, e.g. {"active":true,"price":{"$gte":10}}. |
| expand | string | Comma-separated related fields to expand, e.g. "variants,categories". |
{
"name": "swell_list_subscriptions",
"title": "List subscriptions",
"description": "List subscriptions, with filtering, sorting, and expansion. Swell backend REST API: GET /subscriptions.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Page number for pagination (default 1).",
"exclusiveMinimum": 0
},
"sort": {
"type": "string",
"description": "Sort expression, e.g. \"date_created desc\" or \"name asc\"."
},
"limit": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Max records to return (1–1000, Swell default 15)."
},
"where": {
"type": "string",
"description": "MongoDB-style filter as a JSON object string, e.g. {\"active\":true,\"price\":{\"$gte\":10}}."
},
"expand": {
"type": "string",
"description": "Comma-separated related fields to expand, e.g. \"variants,categories\"."
}
}
},
"annotations": {
"title": "List subscriptions",
"readOnlyHint": true
}
}Fetch a single subscription by id. Supports `expand`. Swell backend REST API: GET /subscriptions/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Subscription id. |
| expand | string | Comma-separated related fields to expand, e.g. "account,product". |
{
"name": "swell_get_subscription",
"title": "Get a subscription",
"description": "Fetch a single subscription by id. Supports `expand`. Swell backend REST API: GET /subscriptions/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Subscription id."
},
"expand": {
"type": "string",
"description": "Comma-separated related fields to expand, e.g. \"account,product\"."
}
}
},
"annotations": {
"title": "Get a subscription",
"readOnlyHint": true
}
}List invoices (typically subscription invoices), with filtering, sorting, and expansion. Swell backend REST API: GET /invoices.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number for pagination (default 1). |
| sort | string | Sort expression, e.g. "date_created desc" or "name asc". |
| limit | integer | Max records to return (1–1000, Swell default 15). |
| where | string | MongoDB-style filter as a JSON object string, e.g. {"active":true,"price":{"$gte":10}}. |
| expand | string | Comma-separated related fields to expand, e.g. "variants,categories". |
{
"name": "swell_list_invoices",
"title": "List invoices",
"description": "List invoices (typically subscription invoices), with filtering, sorting, and expansion. Swell backend REST API: GET /invoices.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Page number for pagination (default 1).",
"exclusiveMinimum": 0
},
"sort": {
"type": "string",
"description": "Sort expression, e.g. \"date_created desc\" or \"name asc\"."
},
"limit": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Max records to return (1–1000, Swell default 15)."
},
"where": {
"type": "string",
"description": "MongoDB-style filter as a JSON object string, e.g. {\"active\":true,\"price\":{\"$gte\":10}}."
},
"expand": {
"type": "string",
"description": "Comma-separated related fields to expand, e.g. \"variants,categories\"."
}
}
},
"annotations": {
"title": "List invoices",
"readOnlyHint": true
}
}List discount coupons, with filtering and sorting. Swell backend REST API: GET /coupons.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number for pagination (default 1). |
| sort | string | Sort expression, e.g. "date_created desc" or "name asc". |
| limit | integer | Max records to return (1–1000, Swell default 15). |
| where | string | MongoDB-style filter as a JSON object string, e.g. {"active":true,"price":{"$gte":10}}. |
{
"name": "swell_list_coupons",
"title": "List coupons",
"description": "List discount coupons, with filtering and sorting. Swell backend REST API: GET /coupons.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Page number for pagination (default 1).",
"exclusiveMinimum": 0
},
"sort": {
"type": "string",
"description": "Sort expression, e.g. \"date_created desc\" or \"name asc\"."
},
"limit": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Max records to return (1–1000, Swell default 15)."
},
"where": {
"type": "string",
"description": "MongoDB-style filter as a JSON object string, e.g. {\"active\":true,\"price\":{\"$gte\":10}}."
}
}
},
"annotations": {
"title": "List coupons",
"readOnlyHint": true
}
}Power tool: read-only (GET only) access to ANY Swell model not covered by a dedicated tool — e.g. stock, promotions, giftcards, payments, shipments, settings. Supply the collection name plus the usual list params (limit, page, where, sort, expand, fields, search). Swell backend REST API: GET /{collection}.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number for pagination (default 1). |
| sort | string | Sort expression, e.g. "date_created desc" or "name asc". |
| limit | integer | Max records to return (1–1000, Swell default 15). |
| where | string | MongoDB-style filter as a JSON object string, e.g. {"active":true,"price":{"$gte":10}}. |
| expand | string | Comma-separated related fields to expand, e.g. "variants,categories". |
| fields | string | Comma-separated fields to return, e.g. "name,price,active". |
| search | string | Free-text search across the model's searchable fields. |
| collection * | string | Swell model/collection name, e.g. "products", "stock", "promotions", "giftcards". |
MUTATES LIVE STORE DATA. Create a new product in the store. Provide the common fields directly (name is required); anything else goes in `fields`, which is merged into the request body. Swell backend REST API: POST /products.
| Parameter | Type | Description |
|---|---|---|
| sku | string | Stock-keeping unit. |
| name * | string | Product name (required). |
| type | string | Product type, e.g. "standard", "subscription", "digital". |
| price | number | Product price. |
| active | boolean | Whether the product is active/visible. |
| fields | object | Any additional product fields, merged into the request body (e.g. attributes, options, images). |
| description | string | Product description. |
| stock_level | number | Available stock quantity. |
{
"name": "swell_create_product",
"title": "Create a product",
"description": "MUTATES LIVE STORE DATA. Create a new product in the store. Provide the common fields directly (name is required); anything else goes in `fields`, which is merged into the request body. Swell backend REST API: POST /products.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name"
],
"properties": {
"sku": {
"type": "string",
"description": "Stock-keeping unit."
},
"name": {
"type": "string",
"description": "Product name (required)."
},
"type": {
"type": "string",
"description": "Product type, e.g. \"standard\", \"subscription\", \"digital\"."
},
"price": {
"type": "number",
"description": "Product price."
},
"active": {
"type": "boolean",
"description": "Whether the product is active/visible."
},
"fields": {
"type": "object",
"description": "Any additional product fields, merged into the request body (e.g. attributes, options, images).",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"description": {
"type": "string",
"description": "Product description."
},
"stock_level": {
"type": "number",
"description": "Available stock quantity."
}
}
},
"annotations": {
"title": "Create a product",
"destructiveHint": true
}
}MUTATES LIVE STORE DATA. Partially update an existing product by id. Provide the id plus a `fields` object of attributes to change. Swell backend REST API: PUT /products/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Product id to update (required). |
| fields * | object | Partial set of product attributes to update, e.g. {"price":19.99,"active":false}. |
{
"name": "swell_update_product",
"title": "Update a product",
"description": "MUTATES LIVE STORE DATA. Partially update an existing product by id. Provide the id plus a `fields` object of attributes to change. Swell backend REST API: PUT /products/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"fields"
],
"properties": {
"id": {
"type": "string",
"description": "Product id to update (required)."
},
"fields": {
"type": "object",
"description": "Partial set of product attributes to update, e.g. {\"price\":19.99,\"active\":false}.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
},
"annotations": {
"title": "Update a product",
"destructiveHint": true
}
}MUTATES A LIVE ORDER. Partially update an existing order by id — e.g. change status, fulfillment, or notes. Provide the id plus a `fields` object of attributes to change, e.g. {"status":"complete"}. Swell backend REST API: PUT /orders/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Order id to update (required). |
| fields * | object | Partial set of order attributes to update, e.g. {"status":"complete"} or fulfillment fields. |
{
"name": "swell_update_order",
"title": "Update an order",
"description": "MUTATES A LIVE ORDER. Partially update an existing order by id — e.g. change status, fulfillment, or notes. Provide the id plus a `fields` object of attributes to change, e.g. {\"status\":\"complete\"}. Swell backend REST API: PUT /orders/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"fields"
],
"properties": {
"id": {
"type": "string",
"description": "Order id to update (required)."
},
"fields": {
"type": "object",
"description": "Partial set of order attributes to update, e.g. {\"status\":\"complete\"} or fulfillment fields.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
},
"annotations": {
"title": "Update an order",
"destructiveHint": true
}
}Tools for Swell, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "Which orders came in this week and what is the total revenue?"; "Show my products that are currently inactive or hidden from the store."; "How many abandoned carts do we have from the last 7 days?". Read-only tools never change data; ask the user before a tool that creates, changes or deletes Swell data. Free plan: 50 tool calls per month. Run swell_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run swell_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run swell_upgrade without a plan: it returns both plans, each with a payment link for the user to open. swell_cancel_subscription cancels Pro at the end of the paid period.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
{
"name": "swell_query",
"title": "Query any collection (read-only)",
"description": "Power tool: read-only (GET only) access to ANY Swell model not covered by a dedicated tool — e.g. stock, promotions, giftcards, payments, shipments, settings. Supply the collection name plus the usual list params (limit, page, where, sort, expand, fields, search). Swell backend REST API: GET /{collection}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"collection"
],
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Page number for pagination (default 1).",
"exclusiveMinimum": 0
},
"sort": {
"type": "string",
"description": "Sort expression, e.g. \"date_created desc\" or \"name asc\"."
},
"limit": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Max records to return (1–1000, Swell default 15)."
},
"where": {
"type": "string",
"description": "MongoDB-style filter as a JSON object string, e.g. {\"active\":true,\"price\":{\"$gte\":10}}."
},
"expand": {
"type": "string",
"description": "Comma-separated related fields to expand, e.g. \"variants,categories\"."
},
"fields": {
"type": "string",
"description": "Comma-separated fields to return, e.g. \"name,price,active\"."
},
"search": {
"type": "string",
"description": "Free-text search across the model's searchable fields."
},
"collection": {
"type": "string",
"description": "Swell model/collection name, e.g. \"products\", \"stock\", \"promotions\", \"giftcards\"."
}
}
},
"annotations": {
"title": "Query any collection (read-only)",
"readOnlyHint": true
}
}