call_handler
Invokes any deployed FlexSim handler using generic parameters for value, action, name, and message, returning XML or text; check available handlers first if unsure.
Instructions
通用调用任意已部署 handler。参数用通用名:value(对象/路径)、action(值/动作)、name(新名)、msg(消息)。返回 XML/文本。调用前如不确定 handler 是否存在,先 list_handlers。
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": {
"handler": "<handler>"
},
"name": "call_handler"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| msg | No | 通用参数 msg(消息) | |
| name | No | 通用参数 name(常为新名字) | |
| value | No | 通用参数 value(常为对象名或路径) | |
| action | No | 通用参数 action(常为新值或动作) | |
| handler | Yes | handler 名,如 template / create_object / get_stats |