Pretor/archonbot/tool_plugin/docker_sandbox/docker_shell.json

33 lines
685 B
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"name": "docker_sandbox",
"desc": "一款通过docker实现环境隔离的沙箱环境实现安全地任务实现",
"command": [
{
"name": "read",
"desc": "浏览文件",
"param": {
"-p $PATH": "浏览$PATH下的文件",
"-h $LINE": "浏览前$LINE行文件"
}
},
{
"name": "write",
"desc": "写入文件",
"param": {
"-p $PATH": "写入$PATH下的文件",
"-t $TEXT": "将$TEXT写入文件"
}
},
{
"name": "ls",
"desc": "获取文件列表",
"param": {
"-l $PATH": "获取$PATH下的文件"
}
},
{
}
],
"specification": ""
}