ecommerce_context_compressor
Compress DOM into micro-JSON to reduce context size and enable efficient e-commerce automation across Shopee, TikTok Shop, and Lazada.
Instructions
Compress DOM to micro-JSON
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": {
"domString": "<domString>"
},
"name": "ecommerce_context_compressor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domString | Yes |