object_find_var
Find a variable by name within IC-CAP objects, with scope control to search the full hierarchy or only direct children.
Instructions
Find a variable by name with scope control: 'upward_scope' (search hierarchy) or 'obj_owned' (direct children only).
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>",
"var_name": "<var_name>"
},
"name": "object_find_var"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| var_name | Yes | ||
| lookup_type | No | upward_scope | |
| object_path | Yes | ||
| object_type | No | Specify the exact IC-CAP type when a path can name more than one object. |