public class MethodFunctionTool extends Object implements FunctionTool
| Constructor and Description |
|---|
MethodFunctionTool(Object target,
Method method) |
| Modifier and Type | Method and Description |
|---|---|
String |
description()
描述
|
String |
handle(Map<String,Object> args)
执行处理
|
org.noear.snack.ONode |
inputSchema()
输入架构
|
String |
name()
名字
|
List<FunctionToolParam> |
params()
参数
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittypepublic String name()
name in interface FunctionToolpublic String description()
description in interface FunctionToolpublic List<FunctionToolParam> params()
public org.noear.snack.ONode inputSchema()
inputSchema in interface FunctionToolpublic String handle(Map<String,Object> args) throws Throwable
handle in interface FunctionToolThrowableCopyright © 2025. All rights reserved.