main_get_valof
Retrieve the current value of a variable or parameter visible in IC-CAP's Main context by name, searching through variables, parameters, table variables, and datasets.
Instructions
Get a variable or parameter value visible from Main (searches hierarchy: variables, parameters, tablevars, datasets).
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": "main_get_valof"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Variable or parameter name |