app_get_var
Retrieve the current value of a global variable from the mBlock app workspace by name, enabling live access to project data for automation.
Instructions
LIVE: read a global variable from the app workspace.
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": {
"name": "<name>"
},
"name": "app_get_var"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |