acedatacloud_search_materials
Search marketing materials in the PublishMaterial catalog using keyword, language, channel, category, and tag filters. Optionally randomize results or include full content.
Instructions
Search marketing materials (ready-to-post copy) in the PublishMaterial catalog.
Combines server-side filters (language, channel) with client-side keyword
(title+content), category and tag matching, plus optional random selection.
Returns ``{count, returned, items}``; each item carries its quality_score,
channel_style and either a content preview or full content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Keep materials whose tags overlap any of these. | |
| langs | No | Filter by one or more language codes, e.g. ['zh-cn', 'en']. | |
| limit | No | Max materials to return. | |
| channel | No | Channel UUID, or a name/title/domain substring (e.g. 'zhihu', 'CSDN'). | |
| keyword | No | Case-insensitive substring matched against the material title AND content. | |
| category | No | Case-insensitive substring matched against the material category. | |
| randomize | No | Shuffle matches before returning (for random picks). | |
| channel_id | No | Explicit channel UUID (takes precedence over `channel`). | |
| include_content | No | Return full content instead of a short preview. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |