Query Marketing Cloud Next / Data 360 records
mcnext_queryRetrieve filtered records from any Salesforce Marketing Cloud Next API endpoint. Supports pagination, ordering, and custom filters to return only the data you need.
Instructions
List/filter records from a collection endpoint (GET, kind "query"). Supports pagination and filters such as pageSize, offset, orderBy, and family-specific filters.
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": {
"endpointId": "<endpointId>"
},
"name": "mcnext_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Query string parameters, e.g. { "pageSize": 50, "orderBy": "name" }. | |
| headers | No | Additional request headers. | |
| endpointId | Yes | Endpoint id from the catalog, e.g. "content.create-an-email-with-html", "activations.query-activations". Use mcnext_list_endpoints to discover ids. |