Search any entity
entity_searchSearch any Shopware entity using filters, sorting, paging and aggregations when no dedicated tool covers it. Check the entity schema first to find fields and associations.
Instructions
Escape hatch for everything without a dedicated tool: search ANY Shopware entity (e.g. product_manufacturer, property_group, shipping_method, tax, country, newsletter_recipient, product_review, seo_url, cms_page, media) with the same Criteria filters, sort and paging. Use entity_schema first to see the available fields and associations. Credentials and internal fields are always stripped, long values such as stored files are truncated, and entities holding secrets (users, integrations, system config) are blocked. Prefer the dedicated tools when one exists. aggregations asks Shopware to count, sum or average over the whole match (terms, sum, avg, min, max, count, stats, histogram, one nested metric per bucket), e.g. orders per payment method or revenue per month for any entity; set limit: 1 when only the aggregations matter. Returns { entity, total, page, limit, items[], aggregations? } with raw (scrubbed) data.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"entity": "<entity>"
},
"name": "entity_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page | |
| sort | No | Sort order; defaults per tool | |
| term | No | Full-text search term | |
| limit | No | Items per page, max 50 (default from SHOPWARE_MCP_DEFAULT_LIMIT) | |
| entity | Yes | Entity name in snake_case or kebab-case, e.g. 'product_manufacturer' | |
| fields | No | Only return these fields of the entity (Shopware `includes`) | |
| filter | No | Criteria filters, combined with AND | |
| aggregations | No | Shopware aggregations computed over the whole match | |
| associations | No | Association names to load, e.g. ['country', 'salesChannels'] |