lenx_create_task
Set up social media monitoring tasks: live tasks run continuously; adhoc tasks collect data within a defined time range. Configure search queries and language.
Instructions
Create a new monitoring task (live or adhoc). Live tasks run continuously; adhoc tasks require a date_range.
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": {
"task_type": "<task_type>",
"task_name": "<task_name>",
"language": "<language>",
"search_query": "<search_query>"
},
"name": "lenx_create_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_type | Yes | Task type: 'live' runs continuously, 'adhoc' requires date_range | |
| task_name | Yes | Task name (1-50 characters) | |
| language | Yes | Language: zh-t (Traditional Chinese), zh-s (Simplified Chinese), en (English) | |
| date_range | No | Required for adhoc tasks: time range for data collection | |
| search_query | Yes | Search query configuration. Example query_layer with nested grouped keywords: [{"in": ["brand_name", "product_name"], "ex": ["competitor_name"]}] Nested OR-group form: [{"in": [["brand_name", "brand_alias"], ["product_series_a", "product_series_b"]], "ex": [["competitor_a", "competitor_b"]]}] |