16 lines
324 B
Plaintext
16 lines
324 B
Plaintext
|
|
import json
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
class MyDemoTool(BaseTool):
|
|||
|
|
name = "{{ name }}"
|
|||
|
|
description = "{{ description }}"
|
|||
|
|
parameters = {{ parameters }}
|
|||
|
|
def execute(self, parameter1: str, parameter2: int):
|
|||
|
|
...
|
|||
|
|
"""
|
|||
|
|
|
|||
|
|
"""
|
|||
|
|
生成agent技能工具用于实现当前系统进程状态查询,技能工具代码示例如下:"
|
|||
|
|
"""
|