find_instances
Find instances of an object type by name or ID within a saved run and return matching node IDs, giving you the starting point for instance graph queries.
Instructions
按名称或编号找数据里的某个对象(实例图谱的起点),给出节点 id;对象类型没有名称字段时 name 就是识别值。
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": {
"saved_as": "<saved_as>",
"type": "<type>"
},
"name": "find_instances"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | 对象的 key,来自 list_objects | |
| query | No | 名称或编号里含有的字,不分大小写;不写就列前 20 个 | |
| saved_as | Yes | 运行的保存名,来自 list_runs 或 build_ontology |