element_text
Retrieve the text content from an element in a WeChat mini-program using its element ID.
Instructions
获取元素文本内容
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": {
"element_id": "<element_id>"
},
"name": "element_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element_id | Yes |