object_get_valof
Retrieve a variable or parameter value from any IC-CAP object by specifying its path and name. Searches the object hierarchy to find the value, even when the exact type is ambiguous.
Instructions
Get visible variable or parameter value from an object, searching the hierarchy.
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": {
"object_path": "<object_path>",
"name": "<name>"
},
"name": "object_get_valof"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Variable or parameter name | |
| object_path | Yes | ||
| object_type | No | Specify the exact IC-CAP type when a path can name more than one object. |