element_value
Retrieves the value of input, textarea, and other form elements to access user-entered data in WeChat mini-programs.
Instructions
获取元素值(input/textarea 等表单组件)
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_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element_id | Yes |